NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SaFiRe: Saccade-Fixation Reiteration with Mamba for Referring Image Segmentation

Zhenjie Mao, Yuhuan Yang, Chaofan Ma, Dongsheng Jiang, Jiangchao Yao, Ya Zhang, Yanfeng Wang · OpenReview

Abstract

Referring Image Segmentation (RIS) aims to generate precise binary masks for objects described in natural language. While current models excel at simple keyword-matching tasks, they often struggle with referential ambiguity—specifically in object-distracting and category-implicit scenarios. We introduce SaFiRe (Saccade-Fixation Reiteration), a framework that mimics the human cognitive process of global scanning followed by local inspection. By leveraging the linear complexity and sequential processing of Mamba (State Space Models), SaFiRe achieves state-of-the-art performance and superior inference efficiency. We also introduce aRefCOCO, a benchmark designed to evaluate RIS models under high linguistic ambiguity.

Introduction

Referring Image Segmentation (RIS) bridges computer vision and natural language processing by requiring a model to identify and segment a specific object based on a natural language description. Despite significant progress using pre-trained vision backbones, many existing models rely on simple concept matching. This approach fails when expressions are complex or ambiguous.

Two primary challenges persist in real-world RIS applications:

  1. Object-Distracting Expressions: Descriptions that mention multiple similar entities (e.g., "the man next to the person in the blue shirt"), which frequently lead models to segment the wrong target.
  2. Category-Implicit Expressions: Descriptions that omit explicit nouns and rely on pronouns or comparisons (e.g., "he is the taller one"), breaking models that depend on matching category keywords to image patches.

To address these, we propose SaFiRe, a novel framework inspired by the human "glimpse-then-stare" mechanism, implemented through a computationally efficient Mamba-based architecture.

The SaFiRe Framework

SaFiRe utilizes a dual-phase approach within a specialized Saccade-Fixation Layer (SFLayer) to refine multi-modal understanding.

Saccade: Global Glimpse

The Saccade operation simulates a quick global scan. It employs a lightweight Norm Adaptation layer to modulate image features based on the global textual context. This phase establishes a coarse initial alignment between the visual and linguistic modalities, identifying potential regions of interest across the entire image.

Fixation: Detailed Inspection

The Fixation operation simulates a focused, detail-oriented inspection. The image is partitioned into local windows, and the text sequence is reiterated (repeated) between these windows in a unified sequence: [Window_1, Text, Window_2, Text, ...]. This structure forces the model to re-evaluate the textual description in the context of specific local visual details.

Mamba Backbone

The framework is built on Mamba, a State Space Model (SSM). Unlike Transformers, which suffer from $O(N^2)$ attention complexity, Mamba’s linear complexity allows for the frequent reiteration of text tokens without a prohibitive computational cost. Crucially, Mamba’s hidden state is updated sequentially; the periodically repeated text tokens act as a "memory refresh," ensuring the model maintains focus on the target description while scanning local visual regions.

The aRefCOCO Benchmark

To rigorously test models against referential ambiguity, we introduced aRefCOCO (ambiguous RefCOCO). This test-only benchmark is significantly more challenging than standard datasets like RefCOCOg:

  • Increased Length: Average expressions are 12.6 words, compared to 8.4 in RefCOCOg.
  • Higher Density: Images contain an average of 3.1 same-category objects, nearly double the 1.6 found in RefCOCOg.
  • Linguistic Complexity: The dataset emphasizes pronouns and relational prepositions, moving beyond simple noun-phrase matching.

Experimental Results

Performance and Robustness

SaFiRe demonstrates superior performance across both standard and ambiguous benchmarks. On the RefCOCOg (hard) set, it achieved 67.07 oIoU, a significant improvement over previous non-LLM baselines. On the new aRefCOCO benchmark, SaFiRe reached 65.1 oIoU, outperforming the previous best model (C3VG) by over 2 points and significantly surpassing LLM-based models like LISA-7B (49.0 oIoU), which often struggle with the precise spatial grounding required for segmentation.

Inference Efficiency

One of SaFiRe's primary advantages is its efficiency. Operating at 8.26 FPS on an A100 GPU, it is approximately 6.4x faster than LLM-based competitors like LISA++, which operates at roughly 1.29 FPS. This makes SaFiRe a viable candidate for real-time applications where heavy reasoning models are too slow.

Conclusion

SaFiRe introduces a cognitively inspired, computationally efficient approach to Referring Image Segmentation. By leveraging the unique properties of Mamba, the framework effectively resolves referential ambiguity through iterative saccade and fixation phases. While challenges remain in handling extremely fine-grained visual semantics and very long relational chains, SaFiRe sets a new standard for balancing reasoning capability with inference speed in multi-modal tasks.

Summary updated

BibTeX
@inproceedings{mao2025safire,
  author = {Zhenjie Mao and Yuhuan Yang and Chaofan Ma and Dongsheng Jiang and Jiangchao Yao and Ya Zhang and Yanfeng Wang},
  title = {{SaFiRe: Saccade-Fixation Reiteration with Mamba for Referring Image Segmentation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Y4ZMHNhrPT},
}
Figure