Abstract
We introduce Groma, a Multimodal Large Language Model (MLLM) with grounded and fine-grained visual perception ability. Beyond holistic image understanding, Groma is adept at region-level tasks such as region captioning and visual grounding. Such capabilities are built upon a localized visual tokenization mechanism, where an image input is decomposed into regions of interest and subsequently encoded into region tokens. By integrating region tokens into user instructions and model responses, we seamlessly enable Groma to understand user-specified region inputs and ground its textual output to images.
Introduction
While Multimodal Large Language Models (MLLMs) like LLaVA or GPT-4V are excellent at holistic image understanding, they often struggle with fine-grained localization—precisely identifying where an object is in an image. Current approaches generally treat localization as a post-processing task for the LLM or offload it to external modules, which can lead to inaccuracies or high latency. Groma addresses this by arguing that localization is a perceptual task that should happen during tokenization.
Localized Visual Tokenization
Groma introduces a "perceive-then-understand" architecture that modifies the standard visual pipeline. Instead of just producing a grid of image tokens, Groma uses a Region Proposer (a class-agnostic detector based on Deformable DETR) to identify interesting areas. These proposed regions are processed via ROIAlign to create Region Tokens—continuous embeddings that represent specific spatial areas.
To allow the LLM to interact with these regions, Groma uses special "proxy tokens" (like <r1>, <r2>) in the text stream. These act as placeholders that point the LLM toward the corresponding continuous region tokens. Furthermore, Groma utilizes a DINOv2 backbone, which provides much better fine-grained spatial features than the standard CLIP backbone used in many other MLLMs.
Data and Benchmarks
To enhance Groma's grounded chat ability, the authors curated Groma Instruct, a dataset of 30k visually grounded conversations. They leveraged GPT-4V and visual prompting techniques (Set-of-Mark) to ensure high-quality grounded responses. Additionally, they introduced the LVIS-Ground Benchmark, derived from the LVIS dataset, to test a model's ability to ground multiple, diverse, and variably-sized objects simultaneously.
Key Results and Insights
Groma consistently demonstrates superior performance in standard referring and grounding benchmarks. On the RefCOCO suite, Groma achieved an average accuracy of 86.52%, outperforming generalist models like Shikra and Ferret. On the challenging LVIS-Ground benchmark, Groma achieved an Average Recall (AR) of 28.8, more than doubling the performance of Shikra (4.9).
The core insight of Groma is the decoupling of perception from reasoning. By providing the LLM with region tokens that already contain spatial information, the LLM can focus on its strength: semantic reasoning and conversation, rather than regressing numerical coordinates.
Limitations and Future Work
Currently, Groma only supports rectangular bounding boxes and cannot handle free-form shapes or pixel-level segmentation masks. Future iterations may replace the box-based region proposer with a mask-based one (like Mask2Former) to enable pixel-level grounding and further scale the vision-language alignment pretraining.
Summary updated