Abstract
Region-level captioning aims to generate natural language descriptions for specific image regions while highlighting their distinguishing features. However, existing methods struggle to produce unique captions across multi-granularity, limiting their real-world applicability. To address the need for detailed region-level understanding, we introduce the URECA dataset, a large-scale dataset tailored for multi-granularity region captioning. Unlike prior datasets that focus primarily on salient objects, the URECA dataset ensures a unique and consistent mapping between regions and captions by incorporating a diverse set of objects, parts, and background elements. Building upon this dataset, we present URECA, a novel captioning model designed to effectively encode multi-granularity regions. URECA maintains essential spatial properties such as position and shape through simple yet impactful modifications to existing Multimodal Large Language Models (MLLMs), enabling fine-grained and semantically rich region descriptions.
Introduction: The Challenge of Region-Level Captioning
While Multimodal Large Language Models (MLLMs) have become excellent at describing entire images, they often stumble when asked to describe specific sub-regions. Two major issues persist in current state-of-the-art models:
- Lack of Uniqueness: Models tend to produce generic descriptions. If an image contains multiple similar objects, such as three red cars, a model might label each simply as "a red car," failing to mention distinguishing features like "the red car parked nearest to the fire hydrant."
- Multi-granularity Challenges: Describing a "car" requires a different level of detail than describing its "door handle" or the "street scene" it belongs to. Existing datasets often focus only on "salient" (obvious) objects and fail to capture the hierarchical relationships between parts and wholes.
Current methods often attempt to solve this by cropping the image—which loses vital context—or drawing "visual prompts" like red circles on the image, which alters the original pixels and can obscure fine details.
The URECA Framework
The authors propose a two-part solution: a sophisticated data curation pipeline and a novel model architecture designed to handle multi-granular regions without compromising image integrity.
The Data Pipeline: The Mask Tree
To build the URECA dataset, the authors developed a four-stage automated pipeline. Central to this is the Mask Tree Generation. Using the SA-1B dataset, they organize image regions into a tree structure based on "containment" (e.g., a "wheel" is a child node of a "car").
The pipeline then employs Top-Down & Bottom-Up Generation, using an MLLM to generate short captions for parent objects and then refining them by incorporating details from their sub-parts to ensure hierarchical consistency. Finally, Uniqueness Refinement uses DINOv2 to identify visually similar regions in the same image. The model is then prompted to find and describe the specific attributes—such as color, position, or texture—that differentiate those regions from their neighbors.
Model Architecture
The URECA model builds on the LLaVA framework but introduces two critical components:
- Mask Encoder: Instead of altering the image pixels, URECA uses a separate encoder that transforms a binary mask (the "where to look" signal) into a sequence of tokens. These tokens act as a localizer, guiding the LLM to the specific region while preserving the global context of the original image.
- Dynamic Mask Modeling: To handle different scales, the model splits high-resolution masks into multiple sub-masks. This allows the model to maintain precision even for tiny regions, such as a specific bolt on a machine, that might otherwise be lost during standard image resizing.
Key Results and Insights
URECA demonstrates that context is essential for uniqueness. A unique caption is not just about the object itself; it is about how that object relates to its surroundings. By encoding masks as tokens rather than drawing on the image, the model retains the ability to see the underlying pixels clearly, which is essential for high-fidelity descriptions of textures and small parts.
Performance Benchmarks
- State-of-the-Art Performance: URECA significantly outperformed existing models like KOSMOS-2 and ViP-LLaVA across multiple metrics (BLEU, ROUGE, METEOR, and BERTScore) on the URECA test set.
- Zero-Shot Generalization: Even without being trained on specific benchmarks, URECA achieved a 18.4 METEOR score on Visual Genome, surpassing previous models that were specifically tuned for that task.
- Ablation Success: Removing the "Dynamic Masking" or the "Mask Encoder" led to significant drops in performance, proving that these architectural choices are the primary drivers of the model's precision.
Conclusion and Future Work
URECA represents a significant step forward in fine-grained image understanding. By moving beyond generic labels to provide descriptions that distinguish specific objects from their surroundings, it opens up new possibilities for more precise human-AI interaction in visual tasks. While the authors acknowledge a "sequential localization weakness" where the model can occasionally misidentify a target if the signal is weak, future work combining mask tokens with direct coordinate-based prompts may further strengthen the localization signal.
Summary updated