Advancing Fine-Grained Visual Understanding with Multi-Scale Alignment in Multi-Modal Models

Wei Wang, Zhaowei Li, Qi Xu, Linfeng Li, YiQing Cai, Botian Jiang, Hang Song, Xingcan Hu, Pengyu Wang, Li Xiao

TL;DR

This paper introduces TinyGroundingGPT, a novel multi-modal large language model (MLLM) that excels at fine-grained visual understanding by effectively aligning object texts, coordinates, and images across multiple scales. By developing a sophisticated data synthesis pipeline and a three-stage training strategy, TinyGroundingGPT achieves state-of-the-art performance in grounding tasks with significantly smaller model sizes, making advanced visual understanding more accessible.

What Problem Does This Paper Address?

Current multi-modal large language models (MLLMs) have made strides in visual understanding, but they often struggle with fine-grained tasks due to inadequate alignment of object information. Specifically, while some models align text with coordinates or process multiple images, they lack a comprehensive approach that integrates object texts, coordinates, and images simultaneously across different scales. This limitation can lead to "hallucinations" (generating incorrect information) and insufficient grounding capabilities, hindering their real-world applicability. The paper aims to bridge this gap by enabling MLLMs to understand and align multi-scale object representations for more accurate and robust visual comprehension.

Methods

The core of this work is a novel fine-grained visual knowledge alignment method that operates in three progressive stages:

  1. Object and Relation Perception Pretraining: This initial stage focuses on building a foundational understanding of objects and their relationships within an image. The model is trained to comprehend multimodal inputs, identifying objects and their interrelations.
  2. Multi-scale Fine-grained Local Knowledge Alignment: This stage is crucial for achieving precise alignments. The model is trained to align object texts, coordinates, and image features across multiple scales. This involves learning to relate textual descriptions to specific bounding boxes, identify object locations from image patches, and match textual descriptions to relevant image regions.
  3. Detailed Global Knowledge Alignment: This final stage enhances the model's overall comprehension by integrating the fine-grained local knowledge. It focuses on aligning multiple objects within a single image and connecting them through their varied representations, leading to a more holistic understanding.

To support this method, the authors developed a multi-scale fine-grained enhancement data synthesis pipeline. This pipeline leverages existing datasets and advanced models to generate over 300K essential training samples for fine-grained alignment, covering both local and global perspectives.

The resulting model, TinyGroundingGPT, is a series of compact models (1.5B and 3B parameters) designed for efficient deployment. It utilizes multi-scale vision encoders (ViT and DINOv2) to extract features from global and object-specific images, which are then mapped to an LLM embedding space. The model supports inputs and outputs for global images, object images (cropped and zoomed), and object bounding box coordinates.

Datasets

The paper utilizes and generates several datasets:

  • Existing Datasets:
    • RefCOCO, RefCOCO+, RefCOCOg: Used for evaluating image grounding capabilities.
  • LLaVA-Pretrain-595k: Used for Stage 1 pretraining.
  • LLaVA-v1.5, ShareGPT4V: Used for instruction tuning in Stage 3.
  • Newly Constructed Datasets:
    • Multi-scale Fine-grained Grounding Dataset (Stage 2): This dataset, comprising 256K samples, goes beyond traditional text-coordinate alignment by incorporating object images, texts, and coordinates to facilitate richer image understanding and multi-scale alignment.
  • Global Grounding Dataset (Stage 3): This dataset includes:
  • 28K Multi-round Grounding Conversation: Focuses on multi-turn dialogues for detailed local understanding.
  • 29K Grounding Description: Features single-turn dialogues for overall image descriptions with fine-grained grounding.

Key Insights and Ideas

  • The Power of Multi-Scale Alignment: The paper strongly advocates for aligning not just text with coordinates, but also integrating object images across various scales. This holistic approach is key to overcoming the limitations of existing models.
  • Data Synthesis is Crucial: The creation of a large-scale, multi-scale fine-grained enhancement dataset was instrumental in training TinyGroundingGPT. This highlights the importance of tailored datasets for advancing specific MLLM capabilities.
  • Compact Models Can Be Powerful: TinyGroundingGPT demonstrates that smaller models, when equipped with effective alignment strategies and rich training data, can achieve performance comparable to, and sometimes exceeding, much larger MLLMs, especially in grounding tasks.
  • Coordinates Enhance Responses: Adding coordinate information to queries significantly boosts the confidence and persuasiveness of MLLM responses, underscoring the value of explicit spatial grounding.
  • Interpretability Through Attention: Visualizing attention maps reveals how TinyGroundingGPT effectively learns alignments between different object representations, providing insights into its decision-making process.

Key Results

  • State-of-the-Art Grounding: TinyGroundingGPT-3B achieved state-of-the-art results on several grounding benchmarks, outperforming larger models.
  • Comparable Performance with Smaller Size: TinyGroundingGPT-1.5B demonstrated comparable grounding results to models like Next-Chat-7B, despite its significantly smaller parameter count.
  • Improved Image Understanding: TinyGroundingGPT-3B achieved results comparable to larger models on various image understanding benchmarks, showing superior performance on VQAV2, GQA, SQA, and POPE.
  • Reduced Hallucinations: The use of global grounding datasets in Stage 3 led to a reduction in object hallucinations on the POPE benchmark.
  • Higher Quality Descriptions: TinyGroundingGPT-3B produced image descriptions with better overall quality and richness compared to GroundingGPT-7B and Qwen2-VL-2B, as assessed by GPT-4V.

Limitations and Future Work

  • Dynamic High-Resolution: The authors suggest that incorporating dynamic high-resolution techniques (as seen in other works) could further enhance TinyGroundingGPT's performance.
  • OCR Datasets: Integrating OCR datasets into Stage 3 fine-tuning could improve multi-modality capabilities.
  • Cross-Image Alignment: The current multi-scale alignment focuses on single images. Future work could extend this to include similar objects or objects captured from different angles across multiple images to enhance robustness and generality.
  • Larger LLMs and Vision Encoders: The paper explored using larger LLMs (Qwen2.5-7B) and different vision encoder combinations, indicating potential for further improvements.

Summary updated

BibTeX
@inproceedings{wang2025advancing,
  author = {Wei Wang and Zhaowei Li and Qi Xu and Linfeng Li and YiQing Cai and Botian Jiang and Hang Song and Xingcan Hu and Pengyu Wang and Li Xiao},
  title = {{Advancing Fine-Grained Visual Understanding with Multi-Scale Alignment in Multi-Modal Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure