RefAM: Attention Magnets for Zero-Shot Referral Segmentation
On the map: Diffusion models → Medical imaging and segmentation
Abstract (arXiv)
Most existing approaches to referring segmentation achieve strong performance only through fine-tuning or by composing multiple pre-trained models, often at the cost of additional training and architectural modifications. Meanwhile, large-scale generative diffusion models encode rich semantic information, making them attractive as general-purpose feature extractors. In this work, we introduce a new method that directly exploits features (attention scores) from diffusion transformers for downstream tasks, requiring neither architectural modifications nor additional training. To systematically evaluate these features, we extend benchmarks with vision-language grounding tasks spanning both images and videos. Our key insight is that stop words act as attention magnets: they accumulate surplus attention and can be filtered to reduce noise. Moreover, we identify global attention sinks (GAS) emerging in deeper layers and show that they can be safely suppressed or redirected onto auxiliary tokens, leading to sharper and more accurate grounding maps. We further propose an attention redistribution strategy, where appended stop words partition background activations into smaller clusters, yielding sharper and more localized heatmaps. Building on these findings, we develop RefAM, a simple training-free grounding framework that combines cross-attention maps, GAS handling, and redistribution. Across zero-shot referring image and video segmentation benchmarks, our approach achieves strong performance and surpasses prior methods on most datasets, establishing a new state of the art among training-free methods, without task-specific training or architectural modification. For video, we localize the referent from the spatio-temporal features of a video diffusion transformer via a first-frame query that is then propagated; we therefore do not explicitly resolve temporal (which-frame) expressions.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Medical imaging and segmentation, one of 14 directions in Diffusion models. Builds on 53 of its 66 references that are in the map. First posted on arXiv 26 Sep 2025.
Builds on
53 of 66 references.
References · 53
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2023Segment Anythingcited by 8,158
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2022Scalable Diffusion Models with Transformerscited by 5,931
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
- 2024SAM 2: Segment Anything in Images and Videoscited by 2,784
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2024Grounded SAM: Assembling Open-World Models for Diverse Visual Taskscited by 914
- 2016Semantics derived automatically from language corpora contain human-like biasescited by 894
38 more
- 2023Vision Transformers Need Registerscited by 844
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 620
- 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 603
- 2021Extract Free Dense Labels from CLIPcited by 580
- 2023Emergent Correspondence from Image Diffusioncited by 437
- 2023A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic Correspondencecited by 297
- 2024Massive Activations in Large Language Modelscited by 277
- 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attentioncited by 233
- 2023MeViS: A Large-scale Benchmark for Video Segmentation with Motion Expressionscited by 225
- 2016Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layerscited by 197
- 2023Interpreting CLIP's Image Representation via Text-Based Decompositioncited by 189
- 2024Semantic Image Inversion and Editing using Rectified Stochastic Differential Equationscited by 162
- 2018Video Object Segmentation with Language Referring Expressionscited by 161
- 2017No Classification without Representation: Assessing Geodiversity Issues in Open Data Sets for the Developing Worldcited by 152
- 2019Does Object Recognition Work for Everyone?cited by 149
- 2025See What You Are Told: Visual Attention Sink in Large Multimodal Modelscited by 127
- 2025Why do LLMs attend to the first token?cited by 122
- 2021Encoder Fusion Network with Co-Attention Embedding for Referring Image Segmentationcited by 111
- 2024Mitigating Object Hallucinations in Large Vision-Language Models with Assembly of Global and Local Attentioncited by 74
- 2023CLIP as RNN: Segment Countless Visual Concepts without Training Endeavorcited by 69
- 2023Zero-shot Referring Image Segmentation with Global-Local Context Featurescited by 61
- 2025ConceptAttention: Diffusion Transformers Learn Highly Interpretable Featurescited by 48
- 2024Don't Miss the Forest for the Trees: Attentional Vision Calibration for Large Vision Language Modelscited by 46
- 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understandingcited by 44
- 2025Vision Transformers Don't Need Trained Registerscited by 39
- 2023Referring Image Segmentation Using Text Supervisioncited by 35
- 2023Ref-Diff: Zero-shot Referring Image Segmentation with Generative Modelscited by 33
- 2024Learning Visual Grounding from Generative Vision and Language Modelcited by 27
- 2025IteRPrimE: Zero-shot Referring Image Segmentation with Iterative Grad-CAM Refinement and Primary Word Emphasiscited by 26
- 2023Shatter and Gather: Learning Referring Image Segmentation with Text Supervisioncited by 25
- 2023LoSh: Long-Short Text Joint Prediction Network for Referring Video Object Segmentationcited by 23
- 2024Curriculum Point Prompting for Weakly-Supervised Referring Image Segmentationcited by 23
- 2023Text Augmented Spatial-aware Zero-shot Referring Image Segmentationcited by 21
- 2024SINDER: Repairing the Singular Defects of DINOv2cited by 18
- 2024Unleashing the Temporal-Spatial Reasoning Capacity of GPT for Training-Free Audio and Language Referenced Video Object Segmentationcited by 18
- 2025Interpreting the Repeated Token Phenomenon in Large Language Modelscited by 15
- 2025Hybrid Global-Local Representation with Augmented Spatial Guidance for Zero-Shot Referring Image Segmentationcited by 14
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024ReferEverything: Towards Segmenting Everything We Can Speak of in Videos
- 2026Making Training-Free Diffusion Segmentors Scale with the Generative Power
- 2022Peekaboo: Text to Image Diffusion Models are Zero-Shot Segmentors
- 2026Don't Guess, Just Ask: Resolving Ambiguity in Referring Segmentation via Multi-turn Clarification
- 2025LGD: Leveraging Generative Descriptions for Zero-Shot Referring Image Segmentation
- 2026ResAgent: Entropy-based Prior Point Discovery and Visual Reasoning for Referring Expression Segmentation
- 2025Towards Unified Referring Expression Segmentation Across Omni-Level Visual Target Granularities
- 2024Exploring Phrase-Level Grounding with Text-to-Image Diffusion Model