Abstract
Omni-Referring Image Segmentation (OmniRIS) is a novel computer vision task that enables object segmentation through a combination of text descriptions and visual references, such as masks, boxes, or scribbles. This paper introduces OmniRef, a comprehensive dataset featuring 186,939 prompts, and OmniSegNet, a baseline model designed for complex, multi-target scenarios. OmniSegNet demonstrates superior performance over specialized and large-language-model-based methods in identifying and masking objects across diverse conditions, achieving state-of-the-art results on standard benchmarks.
The Challenge of Multi-Modal Grounding
Traditional Referring Image Segmentation (RIS) has historically been divided into two distinct modalities: text-based and visual-based. Text-based RIS is effective for describing attributes and spatial relationships but often struggles with visually complex or uncommon objects that are difficult to articulate. Conversely, visual RIS excels at identifying objects based on a reference image but frequently fails to distinguish between similar-looking instances of the same category.
OmniRIS addresses these limitations by supporting omni-modal prompts—combinations of text and visual cues. This approach allows for more robust grounding in "one-vs-many," "many-vs-many," and "no-target" scenarios, which are common in real-world applications but often ignored by existing benchmarks.
OmniSegNet: A Unified Architecture
To tackle the OmniRIS task, the authors propose OmniSegNet, an architecture designed to fuse disparate prompt types into a unified embedding space. The model's core is the Omni-Prompt Encoder, which consists of two primary sub-modules:
- Prompt Embed Module (PEM): This module aligns visual prompts (masks, boxes, or scribbles) with multi-scale features from the reference image using convolutional layers.
- Prompt Generator: Utilizing deformable cross-attention and self-attention, this module extracts essential object semantics from the aligned features, converting visual "hints" into actionable search queries.
The processed features are then passed to a transformer-based Mask Decoder, which interacts with the target image features to generate precise segmentation masks. The model is trained using a three-step regime: vision-language alignment, visual instruction tuning, and finally, joint omni-modal training to ensure balanced modality processing.
The OmniRef Dataset
A significant contribution of this work is the introduction of OmniRef, the first large-scale benchmark for omni-modal referring segmentation.
OmniRef contains 186,939 omni-prompts across 30,956 images, surpassing popular benchmarks like RefCOCO and gRefCOCO in both scale and diversity. Crucially, it includes "no-target" cases to evaluate model robustness against false positives, a critical requirement for practical deployment.
Results and Performance
OmniSegNet achieves a 69.27 cIoU (Cumulative Intersection over Union) on the Omni-test split, significantly outperforming specialist baselines. Even on traditional text-only benchmarks like gRefCOCO, the model outperformed previous state-of-the-art methods by approximately 2.3% to 2.9% across various splits.
The model also demonstrated high No-Target Accuracy (Nacc), reaching 90.81% on visual tests. This indicates a strong ability to avoid "hallucinating" masks when the requested object is absent. Qualitative results further highlight the model's ability to handle complex, simultaneous instructions, such as identifying specific items in a cluttered scene based on both their appearance and their spatial description.
Conclusion and Future Work
OmniRIS represents a major step toward more flexible and intuitive human-computer interaction in image segmentation. By treating text and vision as complementary rather than redundant, OmniSegNet achieves a deeper understanding of object identity and logic. Future work may involve scaling the model with larger Multi-modal Large Language Models (MLLMs) to enhance reasoning capabilities and optimizing the architecture for real-time applications.
Summary updated