Introduction
Large Multimodal Models (LMMs) have significantly advanced our ability to describe and reason about visual scenes. However, a persistent "grounding gap" remains: while models like LLaVA can identify a "red car next to a white building," they typically cannot pinpoint the exact pixels that constitute those objects. Existing attempts to bridge this gap are often fragmented, relying on coarse bounding boxes or single-object segmentation that fails to support natural, multi-turn dialogue.
GLaMM (Grounding Large Multimodal Model) is the first end-to-end model designed for Grounded Conversation Generation (GCG). It enables models to generate detailed natural language responses where every relevant noun or phrase is seamlessly anchored to a precise segmentation mask, effectively allowing the AI to "point" to what it is talking about in real-time.
System Architecture
GLaMM employs a unified architecture that integrates high-level linguistic reasoning with fine-grained pixel perception. The framework consists of five core components:
- Global Image Encoder: A CLIP ViT-H/14 model for broad scene understanding.
- Region Encoder: A hierarchical feature pyramid that extracts details from specific user-defined Regions of Interest (RoIs).
- LLM Backbone: A Vicuna-7B model acting as the central reasoning engine.
- Grounding Image Encoder & Pixel Decoder: Based on the Segment Anything Model (SAM), these components translate the LLM's internal states into binary segmentation masks.
A critical innovation is the introduction of the <SEG> token. When the LLM generates this token, its hidden state is passed through a projection layer into the SAM-based decoder, triggering the generation of a mask for the preceding phrase. This allows for interleaved grounding, mimicking human communication where gestures accompany speech.
The GranD Dataset
To train a model capable of such surgical precision, the authors introduced the GranD (Grounding-anything Dataset). This gargantuan dataset features 11 million images and 810 million regions covering 7.5 million unique concepts. It was constructed using an automated pipeline that progresses from simple object detection to complex scene graphs and contextual insights. For high-quality training, a "fine-tuning" subset called GranD_f (214K pairs) was curated, including a manually annotated gold standard set to ensure benchmark reliability.
Key Results and Performance
GLaMM demonstrates state-of-the-art performance across several grounding and captioning benchmarks:
- GCG Performance: GLaMM significantly outperformed baselines like BuboGPT and Kosmos-2, achieving a CIDEr score of 43.5 and a mean IoU of 65.6 for segmentation.
- Referring Expression Segmentation: The model set new records on the refCOCO suite, achieving 79.5 mIoU on refCOCO val, surpassing the previous leader, LISA-7B (74.9).
- Versatility: Beyond specialized tasks, GLaMM maintains robust zero-shot performance on standard image captioning (e.g., NoCap and Flickr30k), proving that grounding capabilities do not come at the expense of general linguistic ability.
Conclusion
GLaMM represents a major step toward more intuitive and precise human-AI interaction. By unifying conversation and pixel-level grounding, it provides a framework for models to understand and describe the world with unprecedented granularity. Future work will focus on reducing noise in automated annotation pipelines and extending these capabilities to video and 3D environments.
Summary updated