Manuscript Offprint

arXiv:2610.10201

GAGR-Lab: Evaluating Joint Spatial-Geometric and Analytic Function Reasoning

Jingyao Zhang, Yun Li, Lu Han

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Joint spatial-geometric and analytic function reasoning requires translating a perceived spatial configuration into a symbolic function whose executed curve satisfies geometric constraints. We present GAGR-Lab, a framework for measuring this capability through Cartesian game scenes, explicit function semantics, and authoritative Rust trajectory execution. It distinguishes spatial perception, metric grounding, geometric relations, function interpretation, function construction, and constrained synthesis. We specify four configurable scene-difficulty presets and a prospective 24-cell diagnostic design, while reporting only the subset actually evaluated. A bounded pilot of one hosted model (Llama 3.2 11B Vision Instruct) using two API credentials as execution replicas yields 72 balanced games with 432 attempts, 429 valid provider responses, and no target hits; exploratory ordinary-function prompt variants also fail to hit, while the structured localization interface yields no scoreable outputs. A privileged analytic search control independently succeeds on 600 directional cases from 300 generated scenes, with exact repeatability and 1,200 successful vertical-reflection or translation checks. The framework separates serving reliability, symbolic compliance, and geometric success, and preserves exact model-visible inputs and realized paths. A staged protocol outlines diagnostic calibration, held-out replication, multi-model comparison, and paired robustness tests. The contribution is an operational research framework with an executed pilot and a clearly identified prospective study plan; the full difficulty matrix and comparative model results remain untested.

1 Introduction

Spatial geometry and analytic function construction become a joint capability when a model must convert a visible arrangement into a curve that achieves a spatial goal. The model must recover the coordinate frame and relevant entities, represent slopes and spatial constraints, choose a function family, and select coefficients consistent with the intended path. Execution exposes mistakes in that connection: a plausible expression can use the wrong frame, bend excessively, leave its domain, intersect an obstacle, or depart from the world immediately.

We study joint spatial-geometric and analytic function reasoning, also termed grounded analytic-geometric action reasoning: recovering spatial structure from a visible scene, expressing the relevant geometric relationships mathematically, and constructing an executable function whose realized path satisfies a target and spatial constraints. This operational construct concerns the connection between spatial representations and function expressions. It is not established by visual recognition alone, by an admissible formula alone, or by a fluent explanation. Here “analytic function reasoning” refers to interpreting and constructing explicit function expressions under the task grammar, without a claim about complex analysis or formal symbolic proof.

Our current setting is a two-dimensional Cartesian world with alternating function submissions. Each agent receives an image, task instructions, and public outcomes; privileged scene geometry is reserved for measurement unless explicitly supplied as an observation intervention. The goal is a reproducible capability profile across component tasks and controlled difficulty, accompanied by end-to-end trajectory outcomes.

The central research idea is to evaluate the sequence

observe→localize→relate→model→execute→evaluate\mathrm{observe}\rightarrow\mathrm{localize}\rightarrow\mathrm{relate}\rightarrow\mathrm{model}\rightarrow\mathrm{execute}\rightarrow\mathrm{evaluate}

through a combination of end-to-end behavior and diagnostic interventions. A hit is an end-to-end outcome; a failure alone does not identify a missing subskill. Similarly, expression validity is an interface result, not evidence of spatial competence. We therefore log these stages separately and use exact-coordinate and prompt interventions to investigate candidate bottlenecks.

The contribution has four parts: (i) an operational definition and six-dimensional task decomposition of the joint capability; (ii) parameterized difficulty presets and a staged prospective evaluation protocol; (iii) an auditable visual-to-function interface backed by a modified, pinned Graphwar Rust core, with matched scenes and balanced assignments; and (iv) an executed single-model pilot, exploratory diagnostics, and independent engine controls. The current empirical claim is configuration-specific. The proposed full diagnostic matrix and multi-model study are not completed results, and no precedence claim or comparative leaderboard is inferred from this pilot.