TL;DR
This paper introduces "Scene Graph Thinking" (SaGe), a novel approach to enhance Multimodal Large Language Models (MLLMs) by explicitly representing visual scenes as structured graphs. By training MLLMs to reason over these scene graphs, SaGe significantly improves performance on visually intensive tasks that require fine-grained perception and relational understanding, outperforming existing methods across multiple benchmarks.
What Problem Does This Paper Address?
Modern Multimodal Large Language Models (MLLMs) have become adept at understanding and generating text based on images. However, they often struggle with tasks that demand a deep, structured understanding of visual scenes. Current models tend to focus on individual objects, neglecting the crucial relationships between them. This limitation hinders their ability to perform complex visual reasoning, especially in visually rich environments where understanding how objects interact and are spatially arranged is key to accurate perception and navigation. Imagine trying to describe a busy street scene by only listing the cars, buildings, and people without mentioning how they relate to each other – it would be a very incomplete picture. SaGe aims to bridge this gap by equipping MLLMs with the ability to "think" in terms of these structured visual relationships.
Methods
SaGe introduces a multi-stage approach:
- Automated Scene Graph Construction: The core innovation is an automated pipeline that converts standard image-text data into structured scene graphs. This involves:
- Compositional Node Mining: Identifying objects, their sub-components, attributes, and bounding boxes.
- Depth-aware Node Modeling: Incorporating depth cues for each object to provide 3D spatial context.
- Edge Construction: Defining relationships (spatial, interaction, semantic) between nodes to form a rich, hierarchical graph.
- LLM-Guided Data Generation: A large dataset of 120,000 structured samples is created by sampling reasoning traces from these scene graphs. This data includes:
- Node-centric queries: Focusing on object attributes (e.g., color, material).
- Edge-centric queries: Emphasizing relational reasoning (e.g., spatial layouts, interactions).
- Node-articulated Chain-of-Thought (CoT): Reasoning traces that explicitly reference nodes with their attributes, bounding boxes, and depth cues.
- Two-Stage Post-Training:
- Supervised Fine-Tuning (SFT): The MLLM is initially trained on the generated scene-graph data to internalize structured reasoning.
- Reinforcement Learning (RL) with Node-as-Proxy Rewards: A novel reward scheme is introduced to further refine reasoning. This uses:
- Node-grounded reward: Encourages visual attention and alignment between the model's focus and the node's description.
- Node-relevance reward: Guides the model to traverse semantically meaningful nodes relevant to the query, reducing detours.
Datasets
- Training Data: A custom dataset of 120,000 structured samples is generated by the authors' automated pipeline. This corpus is derived from:
- SA-1B (for high-resolution images and object annotations).
- COCO 2014 (for counting samples).
- Additional grounding and chart-related data.
- Evaluation Benchmarks: SaGe is evaluated on eight multimodal benchmarks, including:
- Fine-grained Perception: VStarBench, HRBench-4K, HRBench-8K.
- Spatial Perception & Reasoning: CVBench-2D, CVBench-3D.
- General Vision Tasks: MMStar (comprehension), RefCOCO (grounding), ChartQA (chart understanding).
Key Insights and Ideas
- Scene Graphs as a Structured Prior: The fundamental idea is that explicitly representing visual scenes as graphs provides a powerful structured prior for MLLMs, moving beyond simple object detection to understanding complex relationships.
- Node-as-Proxy Rewards: The novel RL reward mechanism, treating nodes as proxies for reasoning, is a clever way to provide fine-grained supervision without relying on ambiguous edge-level signals. This allows for more flexible and robust graph traversal.
- Hierarchical Reasoning: By constructing and reasoning over hierarchical scene graphs, SaGe enables MLLMs to perform multi-hop reasoning and navigate complex visual scenes more effectively.
- Synergy of SFT and RL: The two-stage training process, combining supervised learning with graph-aware reinforcement learning, proves crucial for effectively internalizing and consolidating structured reasoning capabilities.
Key Results
SaGe demonstrates significant improvements across various benchmarks:
- Fine-grained Perception: SaGe-3B outperforms the baseline Qwen2.5-VL-3B by substantial margins on VStarBench (+10.8%), CVBench-2D (+10.8%), and CVBench-3D (+5.8%). Even the 3B parameter SaGe model surpasses proprietary models like GPT-40.
- Spatial Understanding: SaGe-7B achieves strong results on CVBench-2D (79.4) and CVBench-3D (80.5), outperforming its teacher model Qwen2.5-VL-72B.
- General Vision Tasks: SaGe shows generalization capabilities, achieving 62.3% accuracy on MMStar and improving grounding performance on RefCOCO by 1.7%.
- Qualitative Improvements: Visualized QA cases (Figure 5 & 9) show SaGe's ability to generate more accurate and detailed answers with explicit node-articulated CoT, especially in challenging high-resolution scenarios requiring multi-hop reasoning.
Limitations and Future Work
- Data Construction Complexity: While automated, the scene graph construction pipeline is complex and relies on powerful LLMs, which can be computationally intensive.
- Node-Level Supervision Brittleness: The authors note that node-grounded rewards alone can sometimes lead to performance degradation if not combined with relevance rewards, suggesting a potential for reward hacking.
- Future Work: The paper suggests that further exploration of different graph structures, more advanced RL reward designs, and scaling up the scene graph construction process could lead to even greater advancements in MLLM reasoning capabilities. The authors also highlight the potential for SaGe to be applied to more complex, real-world applications requiring robust visual understanding.
Summary updated