Lune

ICML2022Top-tier venue

Visual Attention Emerges from Recurrent Sparse Reconstruction

Baifeng Shi, Yale Song, Neel Joshi, Trevor Darrell, Xin Wang

Abstract

Visual attention helps achieve robust perception under noise, corruption, and distribution shifts in human vision, which are areas where modern neural networks still fall short. We present VARS, Visual Attention from Recurrent Sparse reconstruction, a new attention formulation built on two prominent features of the human visual attention mechanism: recurrency and sparsity. Related features are grouped together via recurrent connections between neurons, with salient objects emerging via sparse regularization. VARS adopts an attractor network with recurrent connections that converges toward a stable pattern over time. Network layers are represented as ordinary differential equations (ODEs), formulating attention as a recurrent attractor network that equivalently optimizes the sparse reconstruction of input using a dictionary of "templates" encoding underlying patterns of data. We show that self-attention is a special case of VARS with a single-step optimization and no sparsity constraint. VARS can be readily used as a replacement for selfattention in popular vision transformers, consistently improving their robustness across various benchmarks. Code is released on GitHub ( https://github.com/bfshi/VARS ).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • AdanCA: Neural Cellular Automata As Adaptors For More Robust Vision Transformer cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • AdanCA: Neural Cellular Automata As Adaptors For More Robust Vision Transformer cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • AdanCA: Neural Cellular Automata As Adaptors For More Robust Vision Transformer cites Training data-efficient image transformers & distillation through attention
  • Emerging Properties in Self-Supervised Vision Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Emerging Properties in Self-Supervised Vision Transformers cites Training data-efficient image transformers & distillation through attention
  • Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites Training data-efficient image transformers & distillation through attention
  • Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Top-Down Visual Attention from Analysis by Synthesis cites Emerging Properties in Self-Supervised Vision Transformers
  • Top-Down Visual Attention from Analysis by Synthesis cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Top-Down Visual Attention from Analysis by Synthesis cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Top-Down Visual Attention from Analysis by Synthesis cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Bootstrap Latent Representations for Multi-modal RecommendationXin Zhou, Hongyu Zhou, Yong Liu, Zhiwei Zeng et al.WWW 2023 · 326 citations
  2. AdanCA: Neural Cellular Automata As Adaptors For More Robust Vision TransformerYitao Xu, Tong Zhang, Sabine SüsstrunkNeurIPS 2024 · 5 citations
  3. Learning Dictionary for Visual AttentionYingjie Liu, Xuan Liu, Hui Yu, Xuan Tang et al.NeurIPS 2023 · 5 citations
  4. Top-Down Visual Attention from Analysis by SynthesisBaifeng Shi, Trevor Darrell, Xin WangCVPR 2023

Builds on24

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  3. Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations
  4. Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan et al.ICCV 2021 · 4,909 citations
  5. The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations

Related papers

  1. SSTVOS: Sparse Spatiotemporal Transformers for Video Object SegmentationBrendan Duke, Abdalla Ahmed, Christian Wolf, Parham Aarabi et al.CVPR 2021
  2. Re-ttention: Ultra Sparse Visual Generation via Attention Statistical ReshapeRuichen Chen, Keith G. Mills, Liyao Jiang, Chao Gao et al.NeurIPS 2025 · 10 citations
  3. The emergence of sparse attention: impact of data distribution and benefits of repetitionNicolas Zucchet, Francesco D'Angelo, Andrew Kyle Lampinen, Stephanie ChanNeurIPS 2025 · 28 citations
  4. Improving Robustness of Vision Transformers by Reducing Sensitivity to Patch CorruptionsYong Guo, David Stutz, Bernt SchieleCVPR 2023
  5. Understanding The Robustness in Vision TransformersDaquan Zhou, Zhiding Yu, Enze Xie, Chaowei Xiao et al.ICML 2022 · 242 citations
Dusk over the sea between two cliffs drawn in fine vertical lines