Inhibited Self-Attention: Sharpening Focus in Vision Transformers
Not on the map. Why?
Abstract (arXiv)
Vision Transformers (ViTs) have demonstrated remarkable performance in computer vision tasks. However, their self-attention mechanism often diffuses focus across background regions, relying on spurious correlations rather than object-relevant cues. Inspired by inhibitory mechanisms observed in biological vision systems, we propose the Inhibited Self-Attention (ISA), a novel self-attention that integrates inhibitory signals to enhance feature selectivity and suppress spurious responses. In contrast to conventional self-attention, which relies solely on positive attention values due to softmax normalization, our approach retains and utilizes negative attention scores to suppress irrelevant features and sharpen focus on objects of interest. Experiments across multiple datasets, including ImageNet-1k and COCO, and several robustness benchmarks demonstrate that ISA enhances object-centric selectivity, reduces shortcut reliance, and improves out-of-distribution generalization. Our analysis of relevance maps confirms that ViTs with ISA exhibit sharper, more localized focus on object-relevant regions while reducing distractions from non-relevant (background) features, enabling more reliable models. We release our code at https://github.com/prdvanderwal/inhibited-self-attention
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 39 of its 53 references that are in the map. First posted on arXiv 14 Jul 2026.
Builds on
39 of 53 references.
References · 39
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2014Going Deeper with Convolutionscited by 4,241
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
27 more
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,319
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
- 2020Designing Network Design Spacescited by 960
- 2020Quantifying Attention Flow in Transformerscited by 775
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
- 2019Score-CAM: Score-Weighted Visual Explanations for Convolutional Neural Networkscited by 582
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 320
- 2022Vision Transformer with Deformable Attentioncited by 295
- 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
- 2018Tell Me Where to Look: Guided Attention Inference Networkcited by 169
- 2021Towards Robust Vision Transformercited by 137
- 2021Large-scale Unsupervised Semantic Segmentationcited by 101
- 2022Better plain ViT baselines for ImageNet-1kcited by 98
- 2021On Interaction Between Augmentations and Corruptions in Natural Corruption Robustnesscited by 97
- 2022A Whac-A-Mole Dilemma: Shortcuts Come in Multiples Where Mitigating One Amplifies Otherscited by 85
- 2021Causal Attention for Unbiased Visual Recognitioncited by 80
- 2022Vision Transformer with Attentive Pooling for Robust Facial Expression Recognitioncited by 35
- 2025PolaFormer: Polarity-aware Linear Attention for Vision Transformerscited by 32
- 2021Learning Hierarchical Attention for Weakly-supervised Chest X-Ray Abnormality Localization and Diagnosiscited by 24
- 2018Sharpen Focus: Learning with Attention Separability and Consistencycited by 18
- 2022Rectify ViT Shortcut Learning by Visual Saliencycited by 14
- 2024More Expressive Attention with Negative Weightscited by 9
- 2024ReViT: Enhancing Vision Transformers Feature Diversity with Attention Residual Connectionscited by 3
- 2025Integral Transformer: Denoising Attention, Not Too Much Not Too Littlecited by 3
- 2024PushPull-Net: Inhibition-driven ResNet robust to image corruptionscited by 2
- 2024Masked Attention as a Mechanism for Improving Interpretability of Vision Transformerscited by 1
Built on by
Not cited yet.