Perceive, Interact, Reason: Building Tool-Augmented Visual Agents for Spatial Reasoning

Changye Li, Meng Lu, Yi Wu, Ligeng ZhuNeurIPS 2026

TL;DR

Vision-language models are great at glancing at a picture and telling you what’s in it, but they stumble when asked to trace a complex subway map or mentally fold paper—tasks where humans squint, point, and sketch. This paper introduces PERIA, a training framework and visual agent that teaches smaller open-source models how to actively inspect, crop, and draw on images using external tools. Armed with this "perceive-interact-reason" loop, an 8B-parameter model leaps ahead of its peers and goes toe-to-toe with giants like GPT-5.

What Problem Does This Paper Address?

Imagine trying to count the stops between two subway stations across a sprawling, tangled transit map without using your finger to trace the line or leaning in to read tiny text. That’s essentially what we ask standard Vision-Language Models (VLMs) to do: compress an entire image into one static representation and reason over it in a single pass. Unsurprisingly, they miss fine-grained spatial details and lose track of route topologies.

Giving VLMs visual tools—like OCR text readers or image croppers—seems like the obvious fix. However, the authors uncover a crucial catch: having tools doesn't mean knowing how to use them.

Figure 2: Tool access does not guarantee tool competence. We compare reasoning without tools (Baseline) with direct tool-augmented rea- soning (Raw tool). GPT-5 benefits from raw tool access, but Qwen3-VL-Thinking models, abbreviated as Qwen3 in the figure, often de- grade without tool-use training. The gap nar- rows with model size but remains clear.

When given raw access to 18 visual tools, proprietary frontier models like GPT-5 improve (+7.1%), but open-source models (like the Qwen3-VL-Thinking series) actually perform worse than if they hadn't used tools at all! They either skip tools they need or get confused by the outputs—not because of formatting bugs, but because they lack a learned policy for multi-step visual investigation.

Methods

To bridge this gap, the authors build PERIA (PERception-Interaction-reason Agent), combining a custom toolset with a two-stage training recipe.

Figure 1: Overview of our proposed PERception-Interaction-reason Agent (PERIA). PERception- Interaction-reason Agent (PERIA) first uses perception tools to gather global spatial evidence, then applies interaction tools for fine-grained local analysis, and finally reasons over accumulated observations. This design addresses the limits of conventional methods, which either miss local visual details or fail to recover global spatial structure.
  1. The PERIA Tool Sandbox: Instead of relying solely on simple cropping, the authors assemble 18 modular tools (combining deterministic code utilities and lightweight AI agents) split into two complementary families:
  2. Perception tools extract global clues (e.g., map_text_ocr, text_spotting, auto_segment).
  3. Interaction tools manipulate the canvas to verify hypotheses locally (e.g., draw_path, image_crop, bounding_box).
  4. Trajectory Synthesis (SFT): To teach basic tool competence, GPT-5 explores multi-turn tool pathways until it finds trajectories that arrive at the ground-truth answer. To prevent the student model from overfitting to one narrow "voice," an open-weight model (Qwen3-VL-235B) rewrites and diversifies the intermediate reasoning thoughts while keeping the verified tool calls intact.
  5. OR-GIGPO (Reinforcement Learning): Standard multi-step RL algorithms (like GIGPO) try to assign credit to intermediate steps by grouping rollouts that hit the exact same state. In visual tool use, two identical intentions might yield slightly different pixel crops or OCR strings (e.g., bounding box [910, 520, 1000, 552] vs. [910, 520, 1000, 550]). The authors invent Observation-Relaxed GIGPO (OR-GIGPO), which groups steps by fuzzy-matching similar tool outputs (SequenceMatcher similarity $\ge 0.9$). This allows the model to cleanly propagate final rewards back to specific intermediate tool choices.
OR-GIGPO Training

Datasets

The authors do not introduce a new evaluation benchmark, though they synthesize and release a trajectory dataset (pedia_data) for supervised fine-tuning.

  • Training & In-Distribution (ID) Evaluation: Held-out splits from MapTrace (drawing valid paths), ReasonMap & ReasonMap-Plus (transit map QA), and Visual Probing (Easy/Medium/Hard cluttered visual search), supplemented with training data from MapQA.
  • Out-of-Distribution (OOD) Evaluation: Tested zero-shot on Ball Tracking, Paper Folding, Cube Three-View Reasoning, Real-world Spatial Reasoning, V (visual search), MapEval, and BabyVision* (language-free visual reasoning).

Key Insights and Ideas

  • Fuzzy matching rescues multi-step credit assignment: Under strict state-matching (standard GIGPO), only 9.3% of trajectories got a useful step-level learning signal because visual tool outputs vary slightly. Relaxing this matching in OR-GIGPO jumped that ratio to 62.3%, directly translating to higher accuracy. (Though relaxing it too much, down to 0.5 similarity, hurt accuracy by lumping unrelated observations together).
  • RL needs a warm start: Trying to learn tool use from scratch via pure RL (w/o SFT) fails badly, dropping ID accuracy from 44.1% (base model) down to 40.7%. Models need supervised trajectories first to grasp basic tool mechanics before RL can teach them flexible composition.
  • Perception narrows; interaction verifies: In qualitative subway-map tests, OCR alone outputs an unstructured jumble of station names. PERIA learns to use perception tools first to locate general landmarks, then crops in or draws paths to visually verify exact stop sequences. Removing either tool family significantly degrades performance.

Key Results

Instantiated on Qwen3-VL-Thinking backbones (2B, 4B, and 8B), PERIA-8B punches well above its weight across 13 benchmarks:

  • Strong Backbone Gains: Improves over its Qwen3-8B base by +10.0 percentage points on ID tasks (reaching 54.1%) and +4.4 percentage points on OOD tasks (36.1%).
  • Beating Peers & Rivaling Giants: Outperforms similarly sized open-source and tool-use baselines (like Mini-o3 and VTool-R1-7B) by 6.9 to 14.8 percentage points overall. Its overall average across all 13 benchmarks (44.4%) edges out Qwen3-VL-235B (44.3%) and comes remarkably close to GPT-5 (46.8%).
  • Scale Transfer: The exact same training recipe lifts the 2B model (+3.4 points) and 4B model (+7.6 points) on ID benchmarks.

Limitations and Future Work

Detailed technical limitations and future work are deferred by the authors to Appendix A, which is not included in the provided pages of the manuscript. However, in their broader impact discussion, the authors note that incorrect tool-grounded reasoning could mislead safety-sensitive decisions (such as in navigation or robotics), and that visual agent frameworks carry potential misuse risks for surveillance, warranting task-specific evaluation and human oversight.

Summary updated

Abstract

While recent vision-language models (VLMs) demonstrate strong multimodal understanding, they remain limited in spatial reasoning tasks that require active evidence acquisition and multi-step visual interaction. This limitation suggests that relying solely on implicit visual representations from vision encoders is insufficient for recovering fine-grained spatial evidence. We introduce *PERception-Interaction-reason Agent* (**PERIA**), a tool-augmented visual agent for spatial reasoning tasks across map reasoning, visual probing, and vision reconstruction. **PERIA** uses two lightweight tool families: *vision perception tools* for exposing textual, symbolic, and spatial evidence, and *vision interaction tools* for manipulating visual context, tracing paths, and verifying spatial relations. To train **PERIA**, we develop a unified recipe that combines supervised tool-use trajectory synthesis, composite rewards, and Observation-Relaxed Group-in-Group Policy Optimization (OR-GIGPO) for effective multi-tool behavior. Experiments on 13 benchmarks from 8 datasets show that **PERIA**-8B improves over the Qwen3-8B backbone by $10.0$ percentage points on in-distribution benchmarks and $4.4$ percentage points on out-of-distribution benchmarks, while outperforming previous state-of-the-art baselines of similar size by $6.9$--$14.8$ percentage points. It also achieves performance comparable to much larger models such as Qwen3-VL-235B-A22B-Thinking and GPT-5, demonstrating the effectiveness of **PERIA** in enhancing spatial reasoning capabilities.
BibTeX
@inproceedings{li2026perceive,
  author = {Changye Li and Meng Lu and Yi Wu and Ligeng Zhu},
  title = {{Perceive, Interact, Reason: Building Tool-Augmented Visual Agents for Spatial Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=BlPie2QVxk},
}
Figure