mlsanityData to 7 Oct 2026

Geo-Code: A Code Framework for Reverse Code Generation from Geometric Images Based on Two-Stage Multi-Agent Evolution

arXiv 2602.07749 ↗First posted 8 Feb 2026cs.AIcited by 1

On the map: LLM reasoning → Spatial and embodied reasoning

Abstract (arXiv)

Program code serves as a bridge linking vision and logic, providing a feasible supervisory approach for enhancing the multimodal reasoning capability of large models through geometric operations such as auxiliary line construction and perspective transformation. Nevertheless, current inverse graphics methods face tremendous challenges in accurately reconstructing complex geometric details, which often results in the loss of key geometric constraints or structural distortion. To address this bottleneck, we propose Geo-coder -- the first inverse programming framework for geometric images based on a multi-agent system. Our method innovatively decouples the process into geometric modeling via pixel-wise anchoring and metric-driven code evolution: Stage 1 leverages the complementary advantages of visual operators and large models to achieve precise capture of pixel coordinates and visual attributes; Stage 2 introduces a synthesis-rendering-validation closed loop, where bidirectional visual feedback drives the self-correction of code. Extensive experiments demonstrate that Geo-coder achieves a substantial lead in both geometric reconstruction accuracy and visual consistency. Notably, by effectively preserving the core geometric semantics, the images reconstructed with our method exhibit equivalent performance to the original ones in multimodal reasoning tasks, which fully validates the robustness of the framework. Finally, to further reduce research costs, we have open-sourced the Geo-coder dataset constructed on the GeoCode framework, which contains more than 1,500 samples. On this basis, we have also open-sourced the GeocodeLM model, laying a solid data and model foundation for subsequent research in this field.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Spatial and embodied reasoning, one of 17 directions in LLM reasoning. Builds on 5 of its 10 references that are in the map. First posted on arXiv 8 Feb 2026.

Builds on

5 of 10 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025GeoVLMath: Enhancing Geometry Reasoning in Vision-Language Models via Cross-Modal Reward for Auxiliary Line Creation13 Oct
  2. 2025GeoSketch: A Neural-Symbolic Approach to Geometric Multimodal Reasoning with Auxiliary Line Construction and Affine Transformation26 Sep

Other references · 3

  1. 2025MathCoder-VL: Bridging Vision and Code for Enhanced Multimodal Mathematical Reasoningcited by 45
  2. 2025CodePlot-CoT: Mathematical Visual Reasoning by Thinking with Code-Driven Imagescited by 22
  3. 2025DeepSketcher: Internalizing Visual Manipulation for Multimodal Reasoningcited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Synthesizing Multimodal Geometry Datasets from Scratch and Enabling Visual Alignment via Plotting Code
  2. 2024GeoCoder: Solving Geometry Problems by Generating Modular Code through Vision-Language Models
  3. 2026GeoTikzBridge: Advancing Multimodal Code Generation for Geometric Perception and Reasoning
  4. 2026Socratic-Geo: Synthetic Data Generation and Geometric Reasoning via Multi-Agent Interaction
  5. 2026Recursive Code World Models: Building Complex Worlds through Recursive Scene Programs
  6. 2025GeoGramBench: Benchmarking the Geometric Program Reasoning in Modern LLMs
  7. 2026Geometric Encoding for Spatial Reasoning in Vision-Language Models
  8. 2024GeoX: Geometric Problem Solving Through Unified Formalized Vision-Language Pre-training