Thinking with Images as Continuous Actions: Numerical Visual Chain-of-Thought

Kesen Zhao, Beier Zhu, Junbao Zhou, Xingyu Zhu, Zhongqi Yue, Hanwang Zhang

Abstract

Recent multimodal large language models (MLLMs) increasingly rely on visual chain-of-thought to perform region-grounded reasoning over images. However, existing approaches ground regions via either textified coordinates—causing modality mismatch and semantic fragmentation—or fixed-granularity patches that both limit precise region selection and often require non-trivial architectural changes. In this paper, we propose Numerical Visual Chain-of-Thought (NV-CoT), a framework that enables MLLMs to reason over images using continuous numerical coordinates. NV-CoT expands the MLLM action space from discrete vocabulary tokens to a continuous Euclidean space, allowing models to directly generate bounding-box coordinates as actions with only minimal architectural modification. The framework supports both supervised fine-tuning and reinforcement learning. In particular, we replace categorical token policies with a Gaussian (or Laplace) policy over coordinates and introduce stochasticity via reparameterized sampling, making NV-CoT fully compatible with GRPO-style policy optimization. Extensive experiments on three benchmarks against eight representative visual reasoning baselines demonstrate that NV-CoT significantly improves localization precision and final answer accuracy, while also accelerating training convergence, validating the effectiveness of continuous-action visual reasoning in MLLMs.

Introduction

When an MLLM performs "Visual Chain-of-Thought," it identifies a region of interest (grounding) and "zooms in" to reason about it. Current models typically handle this in one of two ways: textified coordinates or fixed patches. Textified coordinates represent boxes as strings (e.g., ["48", "21"]), which creates a modality mismatch because standard cross-entropy loss does not understand geometric proximity. Furthermore, tokenizers often split numbers into unrelated sub-tokens, leading to semantic fragmentation. Fixed patches, while visual, are often too coarse for fine-grained tasks and require complex architectural overhauls.

Comparison of visual Chain-of-Thought approaches: (a) text-based, (b) patch-based, and (c) the proposed numerical visual CoT.

NV-CoT addresses these issues by allowing the model to output coordinates directly into a continuous Euclidean space, bridging the gap between linguistic reasoning and geometric reality.

Methodology

The core innovation of NV-CoT is expanding the MLLM's action space. Instead of just picking the next word from a vocabulary, the model can choose to output a continuous vector representing bounding box coordinates.

Architectural Modification

The framework adds five lightweight linear "heads" to the end of the LLM. Four heads predict the bounding box coordinates ($x_1, y_1, x_2, y_2$), and a fifth predicts the dispersion (uncertainty) of the prediction. This "plug-and-play" approach avoids the massive computational overhead of changing the vision backbone.

Continuous Policies and RL Compatibility

The model predicts the parameters of a probability distribution—either Gaussian or Laplace. To make this compatible with Reinforcement Learning (specifically GRPO), the authors use the reparameterization trick. This allows the model to sample different bounding boxes during training to "explore" the image while maintaining differentiable gradient flow. In Supervised Fine-Tuning (SFT), standard cross-entropy is replaced with regression losses ($\ell_1$ or $\ell_2$).

Experimental Results

NV-CoT was evaluated across rigorous benchmarks including $V^*$ Bench and HR-Bench (4K & 8K). The results demonstrate that treating coordinates as numbers allows the model to leverage inherent spatial relationships effectively.

Training progress comparing NV-CoT against baselines in terms of (a) Localization Precision (Bbox IoU) and (b) Final Answer Accuracy.

Key Findings

  • Accuracy and Precision: On the $V^*$ Bench, NV-CoT-7B outperformed the patch-based LVR-7B by 9.5% and the text-based DeepEyes-7B by 2.7%. Localization precision (IoU) jumped from 47.3 (text-based) to 59.5 (NV-CoT).
  • Convergence Speed: NV-CoT models reached higher accuracy levels significantly earlier in the training process compared to text-based counterparts.
  • Policy Performance: A Laplace policy (corresponding to $\ell_1$ loss) consistently outperformed a Gaussian policy, as its sharper peak is better suited for precise, outlier-robust localization.
  • Uncertainty: The predicted scale parameter ($\sigma$ or $\alpha$) provides a built-in measure of confidence; successful reasoning trajectories consistently showed lower predicted uncertainty.

Conclusion

NV-CoT demonstrates that shifting from discrete text tokens to continuous numerical actions significantly enhances the spatial reasoning capabilities of MLLMs. By aligning the model's output space with the geometric nature of images, the framework achieves superior precision and faster convergence with minimal architectural changes. Future work will explore more complex, multi-tool reasoning chains and further optimize the efficiency of the RL pipeline for continuous actions.

Summary updated

BibTeX
@inproceedings{zhao2026thinking,
  author = {Kesen Zhao and Beier Zhu and Junbao Zhou and Xingyu Zhu and Zhongqi Yue and Hanwang Zhang},
  title = {{Thinking with Images as Continuous Actions: Numerical Visual Chain-of-Thought}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=kqCpiR360C},
}
Figure