TL;DR
COGS (COmposition-Grounded data Synthesis) is a framework designed to bootstrap advanced visual reasoning in Multimodal Large Language Models (MLLMs) using only a small set of "seed" questions. By decomposing these seeds into primitive "factors" and recombining them with unlabeled images, the authors generate massive synthetic datasets. They then use reinforcement learning with process-level rewards to teach models how to perform complex, multi-step reasoning reliably.
What Problem Does This Paper Address?
While MLLMs like GPT-4o or Qwen2.5-VL excel at general image description, they often stumble on "reasoning-intensive" tasks in artificial domains—such as interpreting complex charts, reading rendered documents, or navigating webpages.
The primary bottleneck is data. Human-annotated datasets for multi-step visual reasoning are incredibly difficult and expensive to collect. Consequently, models often "shortcut" the reasoning process, guessing the final answer without actually performing the intermediate steps (like reading a specific value or performing a comparison). The authors aim to bridge this gap by creating a scalable way to synthesize high-quality reasoning data from abundant, unlabeled images.
Methods
The COGS framework operates in three distinct stages to generate and utilize synthetic reasoning data:
- Seed Data Decomposition: The system takes a small set of human-curated questions and uses an MLLM to break them down into "factors." These factors are primitive perception or reasoning steps (e.g., Identification: "What is the value of X?", Calculation: "Subtract A from B").
- Factor Recomposition: These discovered factors are stored in a "factor pool." To generate new data, the system samples a subset of factors and applies them to a new, unlabeled image. This creates a novel, complex question along with a chain of sub-questions and intermediate answers.
- Reinforcement Learning (RL) Fine-tuning: The model is fine-tuned using Group Relative Policy Optimization (GRPO). Crucially, instead of just rewarding the final answer, the authors introduce Process Rewards (
ProcessRM-max). This rewards the model for getting the intermediate reasoning steps (the sub-questions) correct, which prevents the model from learning "hallucinated" shortcuts.
Datasets
The authors evaluated COGS across several challenging benchmarks to test both reasoning depth and transferability:
- ChartQAPro: A reasoning-heavy chart dataset. They used 33% of the test set as seeds and evaluated on the remaining 67%.
- MMC-Bench: A multimodal chart benchmark used to test transferability.
- VisualWebBench: Used to demonstrate that the framework generalizes to webpage GUI understanding.
- Unlabeled Image Sources: They leveraged the training set of ChartQA and screenshots from MultiUI as the "raw material" for synthesis.
Key Insights and Ideas
- Compositionality is the Secret Sauce: The core insight is that complex reasoning is just a sequence of simple "primitives." By mastering these primitives and learning how to chain them, a model can solve questions far more complex than those found in the initial seed set.
- Process Rewards > Outcome Rewards: Standard RL often rewards only the final answer. The authors prove (both theoretically and empirically) that rewarding the intermediate "chain of thought" steps (
ProcessRM-max) is more stable and leads to better generalization, especially when the intermediate signals are noisy. - Factor-Level Mixing: When training on multiple datasets, mixing the factors (the reasoning steps) yields better results than simply mixing the raw data. This suggests that COGS helps the model learn "reasoning skills" that are independent of the specific dataset's style.
Key Results
The COGS framework demonstrated significant improvements over baseline models, particularly in areas requiring multi-hop logic.
- Outperforming Proprietary Models: On ChartQAPro, COGS-tuned Qwen2.5-VL-7B achieved 52.02% accuracy, surpassing the base model (47.36%) and even proprietary models like GPT-4o-mini (48.32%) and Claude Haiku 3.5 (46.74%).
- Reasoning Gains: As shown in the chart above, the largest performance jumps occurred in "reasoning-heavy" categories like Extrapolation (+7.62%) and Comparison (+4.47%), proving the framework successfully targets complex logic.
- Webpage Reasoning: On VisualWebBench, COGS reached 88.04%, the highest score among all tested non-proprietary models.
- Data Efficiency: The authors showed that even with a very small seed set (as low as 5-15% of the original data), COGS provides a substantial performance boost.
Limitations and Future Work
- Single-Image Focus: Currently, the framework focuses on reasoning within a single chart or webpage screenshot. The authors suggest extending this to long-context reasoning across multi-page documents.
- Integration with Pre-training: COGS is currently a fine-tuning stage. Future work could explore integrating this "composition-grounded" synthesis directly into the massive-scale pre-training phase of MLLMs.
- Agentic Applications: The authors see potential for these improved reasoning skills to be applied to autonomous web agents or automated chart-to-code editing tools.
Summary updated