Active Exploring like a Pigeon: Reinforcing Spatial Reasoning via Agentic Vision-Language Models

Wei Deng, Xianlin Zhang, Mengshi Qi

Introduction

While Large Vision-Language Models (VLMs) like GPT-4o and Qwen2.5-VL excel at describing the contents of an image, they frequently struggle with spatial reasoning—specifically, understanding where objects are located relative to one another, especially when integrating information across multiple viewpoints.

This paper introduces a novel "agentic" pipeline that transforms VLMs from passive observers into active explorers. Inspired by how homing pigeons build and exploit cognitive maps for navigation, the researchers developed a system that allows models to actively explore their environment. By utilizing executable Python snippets called Spatial Assertion Codes (SAC) to provide dense rewards during reinforcement learning, the proposed method achieves a massive 53.2% relative improvement on challenging spatial reasoning benchmarks.

The Challenge: Passive Perception and Sparse Rewards

The authors identify two primary hurdles in current VLM spatial reasoning:

  1. Passive Perception: Most existing approaches treat VLMs as passive observers fed a static set of images. In real-world applications, an agent (such as a robot or a navigating animal) must actively decide where to look next to fill gaps in its spatial knowledge.
  2. Sparse Rewards in Reinforcement Learning: Training models with Reinforcement Learning (RL) typically relies on a binary "correct/incorrect" signal at the end of a task. For complex spatial reasoning, this feedback is too sparse. It fails to teach the model the intermediate logical steps required to consistently reach the correct answer.

Methodology: Cognitive Maps and Spatial Assertion Codes

To overcome these limitations, the authors propose a two-pronged agentic pipeline:

1. Dynamic Cognitive Map

Instead of merely memorizing a sequence of images, the model maintains a persistent, updatable memory of the scene. This dynamic cognitive map parameterizes the environment's layout as a set of object positions and orientations within a unified 2D coordinate system, serving as a foundation for new observations.

2. Spatial Assertion Codes (SAC)

Representing the paper's most novel contribution, SAC translates natural language reasoning into executable Python expressions (e.g., obj1 in obj0.left(view=v4)). Because natural language can be ambiguous, forcing the model to express spatial relationships in code creates a mathematically verifiable bridge between unstructured text and structured geometry.

The Training Pipeline

The model is optimized through a two-stage process:

  • Supervised Fine-Tuning (SFT): The model is initially trained on a "cold-start" dataset to learn the fundamentals of retrieving views, updating the cognitive map, and writing SAC.
  • Reinforcement Fine-Tuning (RFT): Using the Group Relative Policy Optimization (GRPO) algorithm, the model explores the environment. The SAC acts as a verifiable, dense reward signal. If the generated code correctly describes the spatial relationship in the cognitive map, the model receives a reward for that specific intermediate step, preventing "reward hacking" and ensuring the model actually learns the underlying spatial logic.

Experimental Setup and Datasets

The primary evaluation was conducted on MindCube, a benchmark specifically designed for 3D spatial reasoning from limited views. Key subsets include:

  • ROTATION: The most difficult subset, featuring orthogonal views with minimal visual overlap.
  • AMONG & AROUND: Object-centric settings with more visual anchors.

The authors also tested the model's generalization capabilities on EmbodiedBench, which requires agents to execute low-level physical actions in simulated environments.

Key Findings and Results

Built on a Qwen2.5-VL-3B backbone, the proposed model set new state-of-the-art records:

  • State-of-the-Art Accuracy: The model achieved an 80.5% overall accuracy on MindCube-Tiny, outperforming the previous best method (3DThinker) by 5.3 percentage points.
  • Massive Gains on Complex Tasks: On the highly challenging ROTATION subset, the model jumped from a previous high of 55.5% to 85.0%—a staggering 29.5 point increase (a 53.2% relative improvement).
  • The Importance of Active Exploration: Results indicate that allowing a model to actively choose its next view significantly lowers the cognitive burden of stitching together a 360° environment compared to processing all views simultaneously.
  • Ablation Success: Removing the SAC (the code-based dense rewards) caused a 10.2% drop in accuracy and a massive collapse in precision and recall, proving that verifiable intermediate rewards are critical for stable learning.

Limitations and Future Directions

While highly successful at spatial geometry, the authors noted a "task mismatch" when testing on EmbodiedBench. The model struggled with complex, commonsense linguistic instructions (e.g., "find the object that is usually used for breakfast"). However, pairing their spatial expert with a general-purpose LLM resolved this issue, suggesting that future agentic VLMs will likely require modular architectures.

Future research directions include extending this framework to dynamic environments where objects move, enabling multi-agent collaboration, and applying the pipeline to physical manipulation tasks, such as guiding a robotic arm to reach for specific tools.

Summary updated

BibTeX
@inproceedings{deng2026active,
  author = {Wei Deng and Xianlin Zhang and Mengshi Qi},
  title = {{Active Exploring like a Pigeon: Reinforcing Spatial Reasoning via Agentic Vision-Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=pxN9ZXdBhV},
}
Figure