VisionReasoner: Unified Reasoning-Integrated Visual Perception via Reinforcement Learning

Yuqi Liu, Tianyuan Qu, Zhisheng Zhong, Bohao Peng, Shu Liu, Bei Yu, Jiaya Jia

TL;DR

VisionReasoner is a unified framework that leverages reinforcement learning (RL) to solve diverse visual perception tasks—such as object detection, segmentation, and counting—within a single, shared model architecture. By generating a structured, internal reasoning process before delivering its final output, it achieves remarkable performance gains over strong baselines like Qwen2.5-VL without requiring any human-annotated reasoning data.

VisionReasoner addresses diverse visual tasks and outperforms baselines.

What Problem Does This Paper Address?

While Large Vision-Language Models (LVLMs) excel at open-ended visual conversation, applying them to core visual perception tasks (like visual grounding or reasoning segmentation) typically requires task-specific modules or separate training pipelines. This fragmentation limits their scalability and generalizability.

Furthermore, traditional vision models struggle when prompts are complex, compositional, or require deep reasoning (e.g., "What should I avoid if I am allergic to seafood?"). The authors address this gap by framing detection, segmentation, and counting as unified multi-object cognition problems, solving them all with a single architecture capable of test-time reasoning.

VisionReasoner successfully localizes objects from complex instructions where traditional methods fail.

Methods

VisionReasoner unifies perception tasks through a detect-then-segment/count paradigm. The architecture consists of two main components:

  1. Reasoning Module: Processes the image and text query to generate a textual chain-of-thought, followed by bounding boxes and center points for the target objects.
  2. Segmentation Module: Uses SAM2 to convert the predicted bounding boxes/points into binary masks when the task requires segmentation.
The pipeline and training framework of VisionReasoner.

To train the model without human-annotated reasoning traces, the authors employ Group Relative Policy Optimization (GRPO), an on-policy RL algorithm. They design a unified reward mechanism consisting of:

  • Format Rewards: A thinking reward ensuring the model uses proper <think> and <answer> tags, and a non-repeat reward that penalizes repetitive sentence patterns to keep the reasoning concise.
  • Accuracy Rewards: Multi-object Intersection-over-Union (IoU) rewards and L1 localization rewards to ensure precise bounding box and point predictions.

To efficiently compute rewards for multiple objects during RL training, the authors implement an optimized matching pipeline combining batch computing with the Hungarian algorithm to map predictions to ground-truth annotations.

Datasets

The model was trained on a compact dataset of approximately 7k samples randomly collected from four existing datasets (~1,800 samples each):

  • LVIS: For simple class-name object detection.
  • RefCOCOg & gRefCOCO: For single- and multi-object referring expressions.
  • LISA++: For reasoning-intensive segmentation tasks.

Evaluation was conducted across 10 diverse benchmarks spanning 66,023 test samples:

  • Detection: COCO, RefCOCO, RefCOCO+, RefCOCOg
  • Segmentation: RefCOCO, RefCOCO+, RefCOCOg, ReasonSeg
  • Counting: PixMo-Count, CountBench

Key Insights and Ideas

  • Perception as Multi-Object Cognition: Bounding boxes and center points serve as an effective universal bridge. Counting becomes "detect-then-count," and segmentation becomes "detect-then-segment."
  • RL-Driven Faithfulness: Even without human-annotated reasoning data, the model learns a highly reliable internal reasoning process purely driven by format and accuracy rewards. Human evaluation showed the reasoning traces achieved 97% image consistency.
  • Dynamic Reasoning Length: The model naturally adapts its thinking length to the complexity of the query. Simple tasks (like COCO object names) elicit short reasoning chains, while complex queries (like ReasonSeg) trigger longer, more detailed rationales.
  • The Power of Non-Repeat Rewards: Without a penalty for repetition, RL-trained models tend to generate bloated, looping reasoning paths. The non-repeat reward successfully forces the model to remain concise and effective.

Key Results

  • Perception Performance: VisionReasoner-7B significantly outperformed its baseline, Qwen2.5-VL-7B, achieving relative performance gains of 29.1% on COCO (detection), 22.1% on ReasonSeg (幕segmentation), and 13.2% on CountBench (counting).
  • VQA Capability Retention: Despite being fine-tuned heavily for structured perception tasks, the model retained or slightly improved its general Visual Question Answering (VQA) capabilities across benchmarks like ChartQA and DocVQA.
  • Efficiency: The batch-optimized Hungarian matching pipeline achieved a 4× speedup over standard non-batch matching, processing 30 objects in just $5 \times 10^{-4}$ seconds.

Limitations and Future Work

  • Taxonomy Coverage: While the authors outline a massive taxonomy of fundamental task types (including lane detection, medical image segmentation, and traffic counting), the current implementation of VisionReasoner was only evaluated on 10 representative tasks.
  • COCO Evaluation Coarseness: Because LVLMs do not naturally output confidence scores, the authors approximated them using the ratio of the bounding box area to the total image area. This coarse approximation led to underestimated AP scores on COCO compared to specialized, task-specific detection models.
  • Overfitting via Excessive Sampling: Ablation studies showed that increasing the RL sampling number beyond a certain threshold caused a decline in performance, indicating a risk of overfitting to the training distribution at the expense of generalization.

Summary updated

BibTeX
@inproceedings{liu2026visionreasoner,
  author = {Yuqi Liu and Tianyuan Qu and Zhisheng Zhong and Bohao Peng and Shu Liu and Bei Yu and Jiaya Jia},
  title = {{VisionReasoner: Unified Reasoning-Integrated Visual Perception via Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=QoDOwjsbAq},
}
Figure