This post summarizes the paper "MG-Thinker: Bi-Axial Self-Reflection for Multi-Image Reasoning Grounding," which introduces a new framework for teaching Multimodal Large Language Models (MLLMs) how to "think" through complex visual tasks involving multiple images.
TL;DR
MG-Thinker is a reinforcement learning (RL) framework that enables MLLMs to perform precise object localization across multiple images by following a coarse-to-fine reasoning process. By introducing a novel "Bi-Axial" RL strategy that balances task informativeness and model competence, MG-Thinker achieves state-of-the-art performance on multi-image grounding benchmarks, even outperforming models ten times its size.
What Problem Does This Paper Address?
While MLLMs have become adept at identifying objects in single images, Multi-image Reasoning Grounding (MRG) remains a significant challenge. MRG requires a model to not only understand a complex query (e.g., "Find the object in Image 2 that matches the girl's creative nature in Image 1") but also to route that reasoning through the correct image and produce a pixel-precise bounding box.
The authors identify two major gaps in current approaches:
- Lack of Hierarchical Reasoning: Most models attempt to predict a bounding box directly, skipping the crucial intermediate steps of semantic reasoning and image-level routing.
- Training Instability: Standard Reinforcement Learning (like PPO or GRPO) struggles with the "heterogeneity" of MRG tasks. Some samples are too easy, providing no useful gradient for the model to learn from, while others are so difficult the model never receives a positive reward, leading to "drifting" or stalled training.
Methods
MG-Thinker addresses these gaps through two main contributions:
1. Hierarchical CoT Data Curation
The authors curated a new dataset of 25K MRG-specific samples featuring Chain-of-Thought (CoT) annotations. Unlike generic reasoning, these rationales are designed to be coarse-to-fine: the model must first reason semantically, then identify the correct image_id, and finally output the bbox coordinates.
2. Bi-Axial DAPO (BiA-DAPO)
This is the core algorithmic innovation. It decomposes the reinforcement learning process along two axes to stabilize training:
- Intra-group Signal Axis (Informativeness): Using a mechanism called Group-Informativeness Assessment (GIA), the framework filters out rollout groups with near-zero reward variance. If the model is either always right or always wrong on a specific task, it isn't learning anything new; GIA ensures the model focuses on samples that provide a clear learning signal.
- Inter-group Competence Axis (Difficulty): Through Cascaded-Reward Stratification (CRS), the framework schedules updates based on the model's current ability. It prioritizes "easier" tasks (high mean reward) early in training and progressively introduces "harder" tasks as the model's competence grows.
Datasets
- Training: The authors restructured the MGrounding-630K dataset, distilling it into 480K high-quality samples for initial Supervised Fine-Tuning (SFT) and 25K CoT-specific samples for the reasoning phase.
- Evaluation: The primary benchmark is MIG-Bench, which consists of 10 sub-tasks covering spontaneous and referential grounding.
- Generalization: The model was also tested on standard single-image benchmarks (RefCOCO/+/g), reasoning-intensive tasks (LISA, LLMSeg), and video-based grounding (ReVOS, ReasonVOS).
Key Insights and Ideas
- Reasoning as a Roadmap: The authors found that forcing a model to generate a reasoning trace before the bounding box significantly reduces "grounding drift," where a model looks at the wrong part of an image set.
- Variance is the Signal: In RL, a high reward is good, but high variance in rewards within a group of attempts is what actually drives learning. BiA-DAPO explicitly targets this variance.
- Efficiency over Scale: MG-Thinker (built on a 7B parameter Qwen2.5-VL base) consistently outperformed 70B-scale models. This suggests that specialized post-training and high-quality reasoning data are more important for complex tasks than raw parameter count.
Key Results
- State-of-the-Art: MG-Thinker achieved an average accuracy of 76.71% on MIG-Bench, surpassing the previous best specialized model (UniVG-R1) by 4.1 points.
- Massive Gains over Baselines: It outperformed the 70B version of its base model (Qwen2.5-VL-72B) by over 30 points on average.
- Zero-Shot Transfer: Despite being trained on static images, MG-Thinker showed strong performance on video reasoning grounding (ReVOS), suggesting its multi-image reasoning capabilities naturally transfer to temporal sequences.
Limitations and Future Work
While highly effective, the authors note a few areas for improvement:
- Complex Multi-Object Tracking: The model still finds it challenging to track and ground many small, similar-looking objects simultaneously across long sequences.
- Base Model Dependency: The performance is ultimately tied to the underlying MLLM's visual perception capabilities.
- Future Directions: The authors suggest that the bi-axial RL approach could be a "broadly useful design pattern" for other hierarchical, difficult multimodal tasks beyond just grounding.
Summary updated