Attention (as Discrete-Time Markov) Chains
Not on the map. Why?
Abstract (arXiv)
We introduce a new interpretation of the attention matrix as a discrete-time Markov chain. Our interpretation sheds light on common operations involving attention scores such as selection, summation, and averaging in a unified framework. It further extends them by considering indirect attention, propagated through the Markov chain, as opposed to previous studies that only model immediate effects. Our key observation is that tokens linked to semantically similar regions form metastable states, i.e., regions where attention tends to concentrate, while noisy attention scores dissipate. Metastable states and their prevalence can be easily computed through simple matrix multiplication and eigenanalysis, respectively. Using these lightweight tools, we demonstrate state-of-the-art zero-shot segmentation. Lastly, we define TokenRank -- the steady state vector of the Markov chain, which measures global token importance. We show that TokenRank enhances unconditional image generation, improving both quality (IS) and diversity (FID), and can also be incorporated into existing segmentation techniques to improve their performance over existing benchmarks. We believe our framework offers a fresh view of how tokens are being attended in modern visual transformers.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 47 of its 57 references that are in the map. First posted on arXiv 23 Jul 2025.
Builds on
47 of 57 references.
References · 47
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2016Improved Techniques for Training GANscited by 2,970
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
- 2018Demystifying MMD GANscited by 1,293
35 more
- 2021Transformers in Vision: A Surveycited by 1,013
- 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 906
- 2023Vision Transformers Need Registerscited by 871
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
- 2020Quantifying Attention Flow in Transformerscited by 775
- 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 675
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
- 2023Point Transformer V3: Simpler, Faster, Strongercited by 589
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2020Hopfield Networks is All You Needcited by 475
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 320
- 2023MeshGPT: Generating Triangle Meshes with Decoder-Only Transformerscited by 259
- 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attentioncited by 236
- 2022MoFusion: A Framework for Denoising-Diffusion-based Motion Synthesiscited by 218
- 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 213
- 2016Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layerscited by 199
- 2023Interpreting CLIP's Image Representation via Text-Based Decompositioncited by 196
- 2022Improving Sample Quality of Diffusion Models Using Self-Attention Guidancecited by 154
- 2023Cross-Image Attention for Zero-Shot Appearance Transfercited by 136
- 2024Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image Editingcited by 135
- 2023Diffuse, Attend, and Segment: Unsupervised Zero-Shot Segmentation using Stable Diffusioncited by 131
- 2020Self-Attention Attribution: Interpreting Information Interactions Inside Transformercited by 125
- 2024AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformerscited by 120
- 2023Dataset Diffusion: Diffusion-based Synthetic Dataset Generation for Pixel-Level Semantic Segmentationcited by 112
- 2023DiffiT: Diffusion Vision Transformers for Image Generationcited by 106
- 2025ConceptAttention: Diffusion Transformers Learn Highly Interpretable Featurescited by 52
- 2024CleanDIFT: Diffusion Features without Noisecited by 44
- 2024From Self-Attention to Markov Models: Unveiling the Dynamics of Generative Transformerscited by 34
- 2024LeGrad: An Explainability Method for Vision Transformers via Feature Formation Sensitivitycited by 33
- 2024Monkey See, Monkey Do: Harnessing Self-attention in Motion Diffusion for Zero-shot Motion Transfercited by 31
- 2025Unleashing Diffusion Transformers for Visual Correspondence by Modulating Massive Activationscited by 23
- 2025Analysis of Attention in Video Diffusion Transformerscited by 15
- 2025Towards Mechanistic Interpretability of Graph Transformers via Attention Graphscited by 13
- 2025Do It Yourself: Learning Semantic Correspondence from Pseudo-Labelscited by 13
- 2024LibraGrad: Balancing Gradient Flow for Universally Better Vision Transformer Attributionscited by 5
Built on by
Citing papers per year: 2026: 11.
11 papers.
- 2026Few Channels Draw The Whole Picture: Revealing Massive Activations in Diffusion Transformerscited by 2
- 2026Interpretable Motion-Attentive Maps: Spatio-Temporally Localizing Concepts in Video Diffusion Transformerscited by 1
- 2026Fast 4D Mesh Generation by Spatio-Temporal Attention Chainscited by 1
- 2026The Attention Triangle in Audio-Video Modelscited by 1
- 2026Self-Attention And Beyond the Infinite: Towards Linear Transformers with Infinite Self-Attentioncited by 0
- 2026Self-Attention as Transport: Limits of Symmetric Spectral Diagnosticscited by 0
- 2026MMDiff: Extending Diffusion Transformers for Multi-Modal Generationcited by 0
- 2026Test-Time Registers as Global Priors for Tokenized Image Generationcited by 0
- 2026Interpretability-Guided Soft Pruning of Attention Heads in Vision Transformerscited by 0
- 2026Diffuse2Seg: Diffusion Models Can Segment Anything Without Supervisioncited by 0
- 2026Diverse by Design: Architectural Constraints for Prototype-Based Interpretabilitycited by 0
- 2026Diverse by Design: Architectural Constraints for Prototype-Based Interpretability23 Sep 2026
- 2026Diffuse2Seg: Diffusion Models Can Segment Anything Without Supervision6 Sep 2026
- 2026The Attention Triangle in Audio-Video Models3 Sep 2026
- 2026Interpretability-Guided Soft Pruning of Attention Heads in Vision Transformers31 Jul 2026
- 2026Test-Time Registers as Global Priors for Tokenized Image Generation18 Jul 2026
- 2026MMDiff: Extending Diffusion Transformers for Multi-Modal Generation15 Jun 2026
- 2026Fast 4D Mesh Generation by Spatio-Temporal Attention Chains19 May 2026
- 2026Few Channels Draw The Whole Picture: Revealing Massive Activations in Diffusion Transformers13 May 2026
- 2026Self-Attention as Transport: Limits of Symmetric Spectral Diagnostics6 May 2026
- 2026Interpretable Motion-Attentive Maps: Spatio-Temporally Localizing Concepts in Video Diffusion Transformers3 Mar 2026
- 2026Self-Attention And Beyond the Infinite: Towards Linear Transformers with Infinite Self-Attention26 Feb 2026