Abstract
Multimodal Large Language Models (MLLMs) have achieved remarkable success in visual question answering, yet their internal decision-making processes remain largely opaque. This paper introduces the Visual Reasoning Tracer (VRT), a novel task and benchmark designed to enhance the transparency of MLLM reasoning. Unlike traditional benchmarks that evaluate only the final textual output, VRT requires models to generate a step-by-step reasoning path where every mentioned object is explicitly grounded with a precise segmentation mask. We propose the R-Sa2VA model and a two-stage training pipeline incorporating Reinforcement Learning with a matching-based IoU reward. Our evaluation on the new VRT-Bench reveals that while state-of-the-art models like Gemini and Qwen often fail at intermediate grounding, VRT-trained models demonstrate significant improvements in both logical consistency and visual precision.
Introduction: Peeking Inside the MLLM Black Box
While state-of-the-art MLLMs (such as GPT-4o or Gemini) can answer complex visual questions with high accuracy, they often function as "black boxes." A model might correctly identify a specific person in a crowd, but without a trace of its reasoning, it is impossible to verify if it relied on the correct visual cues or simply made a lucky guess. This lack of interpretability is a significant barrier to deploying these models in sensitive or high-stakes applications.
The authors argue that true visual intelligence requires a "chain of visual reasoning" where linguistic steps are tightly coupled with perceptual evidence. To address this, they propose the Visual Reasoning Tracer (VRT) task, shifting the focus from final answer accuracy to the integrity of the entire reasoning process.
The Visual Reasoning Tracer (VRT) Task
The VRT task mandates that models output a sequence of (text, mask) pairs: $R = \{(t_1, m_1), (t_2, m_2), \dots, (t_n, m_n)\}$. Each textual step $t_i$ in the reasoning chain must correspond to a segmentation mask $m_i$ of the objects being discussed. This format ensures that the model's internal logic is grounded in the visual data it processes.
Methodology: R-Sa2VA and Reinforcement Learning
To tackle the VRT task, the authors developed R-Sa2VA, built upon the Sa2VA architecture. This model is capable of interleaving text and segmentation tokens seamlessly. The training process involves two distinct stages:
- Supervised Fine-Tuning (SFT): The model is first trained on the VRT-80k dataset to learn the basic task format and the association between text and masks.
- Reinforcement Learning (RL): The authors utilize an improved version of Group Relative Policy Optimization (GRPO). The reward function is dual-pronged:
- Language Reward: Ensures structural consistency, such as the correct use of
<think>tags. - Matching-based IoU Reward: Employs bipartite matching to evaluate how accurately the predicted masks align with the ground truth objects mentioned in the reasoning chain.
To evaluate performance, two new metrics are introduced: Logical Quality (LQ), which measures if the model mentions the correct objects, and Visual Quality (VQ), which assesses the spatial precision of the grounding masks.
Benchmarking and Datasets
The research introduces two primary datasets:
- VRT-80k: A large-scale training set generated via an automated pipeline. It leverages the Segment Anything Model (SAM) for masks and RAM++/APE for object tagging, with Gemini synthesizing complex question-reasoning-answer triplets.
- VRT-Bench: A high-quality, human-annotated evaluation set of 304 complex samples. These are categorized into four reasoning types: Comparison, Function, Location, and Visual Details.
Results and Key Insights
The proposed R-Sa2VA-Qwen3VL-4B model established a strong baseline on VRT-Bench, achieving a Logical Quality (LQ) of 66.3% and a Visual Quality (VQ) of 87.3%. In contrast, while models like Gemini 2.5 Pro and Qwen3-VL often produce correct final answers, they score zero on intermediate grounding metrics, highlighting a significant gap in current MLLM capabilities.
Key findings include:
- RL for Logic: Reinforcement Learning significantly improved logical structure and final answer accuracy but had a negligible effect on mask precision (VQ). This suggests that RL helps the model "think" better, while better segmentation requires different forms of supervision.
- Joint Training Benefits: Training on VRT data alongside standard referring segmentation tasks (like RefCOCO) actually improves performance on those standard tasks, suggesting that reasoning helps the model understand object relationships more deeply.
Conclusion and Future Directions
The Visual Reasoning Tracer represents a significant step toward interpretable MLLMs. However, challenges remain. The model still struggles with "instance separation" in cluttered scenes and can miss subtle background details. Future work will focus on extending VRT to dynamic video understanding and developing segmentation-aware rewards to further improve the visual precision of the reasoning chain.
Summary updated