Introduction
Large Vision-Language Models (LVLMs) have made significant strides in general reasoning, yet they frequently stumble on tasks requiring precise spatial understanding, such as geometry or complex kinematics. While humans often sketch diagrams to externalize and verify their mental models, LLMs typically rely on "Implicit Internal States"—purely text-based Chain-of-Thought (CoT) processes. This reliance often leads to "cascading algebraic errors," where a single symbolic mistake early in the reasoning process invalidates the entire solution because the model lacks a way to ground its mental map.
The FIGR Framework: Executable Visual States
To address these limitations, researchers have introduced FIGR (Figure It Get Reasoning), a framework that empowers LVLMs with an "active visual thinking" loop. Unlike previous models that might generate unconstrained, "noisy" images or perform predefined operations on static visuals, FIGR treats visual construction as an executable and revisable part of the reasoning process.
The FIGR approach consists of three core components:
- The Executable Loop: The model generates code (e.g., Python with Matplotlib or Shapely) to render diagrams. This code is executed in a sandbox, and the resulting image is fed back into the model as visual context for subsequent reasoning steps. This allows the model to observe the geometric structures it builds.
- Reinforcement Learning (GRPO): Using Group Relative Policy Optimization, the model learns to explore various drawing and reasoning strategies. It is rewarded based on the correctness of the final answer, allowing it to discover the most effective ways to use visual aids without requiring perfect step-by-step "gold" trajectories.
- Adaptive Reward Mechanism (ARM): To ensure efficiency, an auxiliary classifier identifies "diagram-suitable" problems. The model is specifically incentivized to use its virtual sketchpad only when the complexity of the problem warrants it, preventing the model from wasting tokens on simple arithmetic.
Experimental Results
The impact of FIGR is most evident in high-level competitive mathematics. When applied to the AIME 2025 benchmark, FIGR achieved a remarkable 13.12% improvement over the base Qwen3-VL-32B model, reaching an accuracy of 79.32%. Similar gains were observed across other rigorous benchmarks:
- BeyondAIME: Performance increased from 43.00% to 54.00%.
- Average Performance: Across seven benchmarks (including MATH 500 and OlympiadBench), FIGR averaged 74.11% accuracy, outperforming significantly larger models like GLM-4.5V (108B).
Ablation studies confirmed that the visual feedback itself is the key driver of performance. When the model was allowed to run code but prevented from "seeing" the rendered result, accuracy dropped significantly, proving that the image serves as a vital symbolic anchor that enforces geometric consistency.
Conclusion
FIGR demonstrates that providing LLMs with the tools to "see" what they are thinking can bridge the gap in spatial reasoning. By closing the loop between code execution and visual perception, FIGR transforms diagrams from mere illustrations into active components of the logical process. While currently focused on mathematics, this "executable visual state" approach holds potential for other domains like scientific simulation and architectural planning.
Summary updated