Abstract
Current Multimodal Large Language Models (MLLMs) often suffer from a superficial understanding of visual concepts due to their reliance on coarse-grained image-caption pairs during pre-training. This paper introduces MMGiC, a novel dataset that integrates multi-grained annotations, including object labels, spatial regions, and detailed semantic descriptions. By training MLLMs on this unified data format, we demonstrate significant improvements in both visual comprehension and high-fidelity image generation.
Introduction
While models like GPT-4V and LLaVA exhibit impressive general capabilities, they frequently struggle with fine-grained visual grounding. A model might identify a "bagel" in an image but fail to delineate its exact boundaries or distinguish it from similar objects like donuts based on subtle features. This limitation stems from the training data: massive datasets of images paired with short, often noisy, global captions. Fine-grained data, such as bounding boxes, is typically reserved for specialized tasks like object detection rather than general-purpose multimodal pre-training.
To bridge this gap, we propose a framework that treats various "grains" of visual information—from global captions to local object patches—as a single, cohesive stream of data.
Methodology: A Unified Multimodal Framework
The proposed approach utilizes an autoregressive discrete framework where both text and images are processed as discrete tokens. As illustrated in the architecture below, the system employs a visual encoder and tokenizer to convert images into tokens that are interleaved with text tokens for processing by a Large Language Model (LLM).
The model is trained with a next-token prediction objective, allowing it to learn the relationships between global image context, specific object descriptions, and the localized pixel data of those objects simultaneously.
The MMGiC Dataset
The core contribution of this work is the MMGiC dataset. It transforms four major object detection datasets (Open Images, Objects365, V3Det, and Visual Genome) into a multimodal interleaved format. The dataset comprises 3.5 million unique images, 23.9 million object regions, and 61.8 million label-description pairs.
The data is organized using structured templates that interleave three levels of information:
- Coarse-grained: Global image captions.
- Fine-grained (Textual): Object labels and dictionary-style descriptions generated via GPT-4 and WordNet.
- Fine-grained (Visual): Cropped image regions (patches) corresponding to specific objects.
Key Insights and Results
Our experiments revealed several critical findings regarding the role of fine-grained data in MLLM training:
- Semantic "Glue": Simply adding labels to captions can introduce noise. However, providing detailed descriptions (e.g., explaining the physical characteristics of an "accordion") provides the necessary semantic context for the model to align text to pixels effectively.
- Visual Grounding via Cropping: Including cropped object regions as "visual tokens" forces the model to "zoom in," improving its ability to ground abstract concepts in specific visual features.
- Curriculum Learning: The most effective training strategy involves pre-training on broad, noisy image-caption data (for breadth) followed by refinement on the high-quality MMGiC data (for depth).
The resulting model showed a 3.95% absolute improvement on the POPE benchmark for object hallucination and a 2.34% improvement on SEED-Bench. In generation tasks, the model demonstrated superior accuracy; for instance, it correctly generated bagels with central holes, a detail often missed by models trained only on coarse captions.
Conclusion and Future Work
MMGiC demonstrates that multi-grained annotations are essential for deep visual understanding. While the current model is limited by the scale of human-annotated detection data and the OCR capabilities of its visual tokenizer, future work will focus on automatic annotation synthesis for web-scale datasets and extending these concepts to more abstract visual domains.
Summary updated