Probabilistic Attention for Interactive Segmentation
Not on the map. Why?
Abstract (arXiv)
We provide a probabilistic interpretation of attention and show that the standard dot-product attention in transformers is a special case of Maximum A Posteriori (MAP) inference. The proposed approach suggests the use of Expectation Maximization algorithms for online adaptation of key and value model parameters. This approach is useful for cases in which external agents, e.g., annotators, provide inference-time information about the correct values of some tokens, e.g, the semantic category of some pixels, and we need for this new information to propagate to other tokens in a principled manner. We illustrate the approach on an interactive semantic segmentation task in which annotators and models collaborate online to improve annotation efficiency. Using standard benchmarks, we observe that key adaptation boosts model performance (~10% mIoU) in the low feedback regime and value propagation improves model responsiveness in the high feedback regime. A PyTorch layer implementation of our probabilistic attention model will be made publicly available here: https://github.com/apple/ml-probabilistic-attention.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 55 of its 73 references that are in the map. First posted on arXiv 23 Jun 2021.
Builds on
55 of 73 references.
References · 55
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2017Mask R-CNNcited by 7,259
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
38 more
- 2016Pyramid Scene Parsing Networkcited by 2,472
- 2017Non-local Neural Networkscited by 2,290
- 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
- 2019Deep High-Resolution Representation Learning for Visual Recognitioncited by 1,417
- 2019Deep High-Resolution Representation Learning for Human Pose Estimationcited by 1,339
- 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,215
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 763
- 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
- 2018Universal Transformerscited by 613
- 2019Segmentation Transformer: Object-Contextual Representations for Semantic Segmentationcited by 573
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2020Hopfield Networks is All You Needcited by 461
- 2017Residual Attention Network for Image Classificationcited by 385
- 2021Bottleneck Transformers for Visual Recognitioncited by 364
- 2019Attention Augmented Convolutional Networkscited by 363
- 2020Axial-DeepLab: Stand-Alone Axial-Attention for Panoptic Segmentationcited by 326
- 2020Exploring Self-attention for Image Recognitioncited by 313
- 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
- 2019Pay Less Attention with Lightweight and Dynamic Convolutionscited by 211
- 2019Local Relation Networks for Image Recognitioncited by 210
- 2016Deep Interactive Object Selectioncited by 160
- 2020Disentangled Non-Local Neural Networkscited by 132
- 2017Deep Extreme Cut: From Extreme Points to Object Segmentationcited by 127
- 2018Efficient Interactive Annotation of Segmentation Datasets with Polygon-RNN++cited by 119
- 2020f-BRS: Rethinking Backpropagating Refinement for Interactive Segmentationcited by 117
- 2019Large-scale interactive object segmentation with human annotatorscited by 109
- 2021Involution: Inverting the Inherence of Convolution for Visual Recognitioncited by 99
- 2020Deformable Siamese Attention Networks for Visual Object Trackingcited by 97
- 2019Fast Interactive Object Annotation with Curve-GCNcited by 95
- 2017Annotating Object Instances with a Polygon-RNNcited by 88
- 2018Iteratively Trained Interactive Segmentationcited by 52
- 2018Latent Alignment and Variational Attentioncited by 36
- 2019Continuous Adaptation for Interactive Object Segmentation by Learning from Correctionscited by 36
- 2018Interactive Full Image Segmentation by Considering All Regions Jointlycited by 34
- 2017Deep GrabCut for Object Selectioncited by 33
50 most cited of 55 All 55 (JSON)
Built on by
Citing papers per year: 2022: 2; 2023: 2; 2024: 4; 2025: 2; 2026: 2.
12 papers.
- 2022Designing Robust Transformers using Robust Kernel Density Estimationcited by 11
- 2023Interactive Class-Agnostic Object Countingcited by 8
- 2024Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysiscited by 7
- 2024Elliptical Attentioncited by 7
- 2023Attention: Marginal Probability is All You Need?cited by 4
- 2024A Primal-Dual Framework for Transformers and Neural Networkscited by 4
- 2025Transformer Meets Twicing: Harnessing Unattended Residual Informationcited by 3
- 2022Transformer with Fourier Integral Attentionscited by 2
- 2024A Semantic and Motion-Aware Spatiotemporal Transformer Network for Action Detectioncited by 1
- 2025Robust Filter Attention: Self-Attention as Precision-Weighted State Estimationcited by 1
- 2026Zonkey: A Hierarchical Diffusion Language Model with Differentiable Tokenization and Probabilistic Attentioncited by 0
- 2026The Transformer as a Polar State Estimatorcited by 0
- 2026The Transformer as a Polar State Estimator10 May 2026
- 2026Zonkey: A Hierarchical Diffusion Language Model with Differentiable Tokenization and Probabilistic Attention29 Jan 2026
- 2025Robust Filter Attention: Self-Attention as Precision-Weighted State Estimation4 Sep 2025
- 2025Transformer Meets Twicing: Harnessing Unattended Residual Information2 Mar 2025
- 2024A Primal-Dual Framework for Transformers and Neural Networks19 Jun 2024
- 2024Elliptical Attention19 Jun 2024
- 2024Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysis19 Jun 2024
- 2024A Semantic and Motion-Aware Spatiotemporal Transformer Network for Action Detection13 May 2024
- 2023Interactive Class-Agnostic Object Counting11 Sep 2023
- 2023Attention: Marginal Probability is All You Need?7 Apr 2023
- 2022Designing Robust Transformers using Robust Kernel Density Estimation11 Oct 2022
- 2022Transformer with Fourier Integral Attentions1 Jun 2022