Abstract
Referring Image Segmentation (RIS) aims to generate precise pixel-level masks for objects described by natural language. Despite recent progress with Transformer-based architectures, these models often suffer from "language distortion," where linguistic information is lost or becomes irrelevant in deeper layers. We present CRFormer, a novel framework that introduces Calibration and Reconstruction modules to ensure deep integration of language and vision. By iteratively updating language features and adding a text-reconstruction objective, CRFormer achieves state-of-the-art performance on RefCOCO, RefCOCO+, and G-Ref benchmarks.
Introduction: The Challenge of Language Distortion
In standard Referring Image Segmentation (RIS) pipelines, a Transformer decoder typically treats visual features as dynamic queries and linguistic features as static keys and values. As the network depth increases, the fine-grained semantic details of the input text—such as specific adjectives or spatial relationships—can become "washed out." This leads to a phenomenon the authors call language distortion, where the model may fail to distinguish between similar objects or rely on dataset biases rather than actual linguistic understanding.
Furthermore, training solely on segmentation loss allows models to make "lucky guesses." If a model can identify the correct object without fully processing the text, it lacks the robustness required for complex, real-world scenes.
The CRFormer Framework
To address these issues, CRFormer introduces a "closed-loop" system that keeps language features relevant and accurate throughout the decoding process.
1. Query Generation Module (QGM)
Instead of a single global text feature, the QGM produces multiple "language queries" ($N_q=24$). These queries are conditioned on the visual context, allowing the model to attend to different parts of the sentence (e.g., "red shirt" vs. "sitting") based on what is visible in the image.
2. Calibration Decoder (CDec)
The CDec moves away from the static-text paradigm. In each layer of the decoder, the language features are "calibrated" using the output of the previous layer. This iterative update ensures that the linguistic information remains synchronized with the evolving visual reasoning.
3. Language Reconstruction Module
To prevent the model from "forgetting" the prompt, a secondary task is introduced during training: reconstructing the original language features from the final multi-modal representation. This Reconstruction Loss ($L_{re}$) acts as a powerful regularizer, forcing the model to maintain a high-fidelity internal representation of the input sentence. Notably, this module is discarded during inference, providing accuracy gains without additional computational cost at deployment.
Experimental Results
CRFormer was evaluated on three major benchmarks: RefCOCO, RefCOCO+, and G-Ref. The model established new state-of-the-art (SOTA) results across the board:
- RefCOCO: Achieved 75.26% mIoU, a 0.44% improvement over previous leaders.
- RefCOCO+: Achieved 66.98% mIoU, representing a significant 1.64% jump over the previous SOTA.
- G-Ref: Reached 65.97% mIoU, surpassing existing methods by over 1%.
Ablation studies highlighted the necessity of the proposed components. Removing the Calibration Decoder resulted in a 1.47% drop in mIoU, while removing the Reconstruction Loss led to a 1.25% decrease.
Conclusion
CRFormer demonstrates that language in RIS should be treated as a dynamic, evolving component rather than a static reference. By integrating calibration and reconstruction, the framework successfully mitigates language distortion and prevents the model from ignoring critical textual cues. This approach not only sets a new bar for segmentation accuracy but also provides a more robust foundation for vision-language understanding in deep neural networks.
Summary updated