SPARO: Selective Attention for Robust and Compositional Transformer Encodings for Vision
Not on the map. Why?
Abstract (arXiv)
Selective attention helps us focus on task-relevant aspects in the constant flood of our sensory input. This constraint in our perception allows us to robustly generalize under distractions and to new compositions of perceivable concepts. Transformers employ a similar notion of attention in their architecture, but representation learning models with transformer backbones like CLIP and DINO often fail to demonstrate robustness and compositionality. We highlight a missing architectural prior: unlike human perception, transformer encodings do not separately attend over individual concepts. In response, we propose SPARO, a read-out mechanism that partitions encodings into separately-attended slots, each produced by a single attention head. Using SPARO with CLIP imparts an inductive bias that the vision and text modalities are different views of a shared compositional world with the same corresponding concepts. Using SPARO, we demonstrate improvements on downstream recognition, robustness, retrieval, and compositionality benchmarks with CLIP (up to +14% for ImageNet, +4% for SugarCrepe), and on nearest neighbors and linear probe for ImageNet with DINO (+3% each). We also showcase a powerful ability to intervene and select individual SPARO concepts to further improve downstream task performance (up from +4% to +9% for SugarCrepe) and use this ability to study the robustness of SPARO's representation structure. Finally, we provide insights through ablation experiments and visualization of learned concepts.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 51 of its 79 references that are in the map. First posted on arXiv 24 Apr 2024.
Builds on
51 of 79 references.
References · 51
- 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
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2016Layer Normalizationcited by 5,579
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2013Describing Textures in the Wildcited by 2,110
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
38 more
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
- 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,544
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
- 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,445
- 2019Natural Adversarial Examplescited by 1,401
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
- 2021Conceptual 12M: Pushing Web-Scale Image-Text Pre-Training To Recognize Long-Tail Visual Conceptscited by 1,209
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
- 2020Object-Centric Learning with Slot Attentioncited by 865
- 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 791
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 603
- 2022Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionalitycited by 523
- 2018Rotation Equivariant CNNs for Digital Pathologycited by 420
- 2019A Large-scale Study of Representation Learning with the Visual Task Adaptation Benchmarkcited by 419
- 2019MONet: Unsupervised Scene Decomposition and Representationcited by 388
- 2019Multi-Object Representation Learning with Iterative Variational Inferencecited by 359
- 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 337
- 2023SugarCrepe: Fixing Hackable Benchmarks for Vision-Language Compositionalitycited by 238
- 2019GENESIS: Generative Scene Inference and Sampling with Object-Centric Latent Representationscited by 227
- 2019Recurrent Independent Mechanismscited by 219
- 2022Bridging the Gap to Real-World Object-Centric Learningcited by 219
- 2016Attend, Infer, Repeat: Fast Scene Understanding with Generative Modelscited by 209
- 2022CREPE: Can Vision-Language Foundation Models Reason Compositionally?cited by 177
- 2022Multi-class Token Transformer for Weakly Supervised Semantic Segmentationcited by 138
- 2022VL-CheckList: Evaluating Pre-trained Vision-Language Models with Objects, Attributes and Relationscited by 113
- 2021Neural Production Systems: Learning Rule-Governed Visual Dynamicscited by 75
- 2016DeepMind Labcited by 74
- 2019Deep Set Prediction Networkscited by 71
- 2022Unsupervised Semantic Segmentation with Self-supervised Object-centric Representationscited by 54
- 2023COLA: A Benchmark for Compositional Text-to-image Retrievalcited by 53
- 2023Self-supervised Object-Centric Learning for Videoscited by 49
- 2023Provably Learning Object-Centric Representationscited by 45
- 2023Revisiting Multimodal Representation in Contrastive Learning: From Patch and Token Embeddings to Finite Discrete Tokenscited by 35
- 2022Simplicial Embeddings in Self-Supervised Learning and Downstream Classificationcited by 23
- 2023Object-centric architectures enable efficient causal representation learningcited by 21
- 2023Semantics Meets Temporal Correspondence: Self-supervised Object-centric Learning in Videoscited by 20
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 1.
4 papers.
- 2024Interaction Asymmetry: A General Principle for Learning Composable Abstractionscited by 19
- 2025FocalLens: Instruction Tuning Enables Zero-Shot Conditional Image Representationscited by 4
- 2025Evaluating Compositional Generalisation in VLMs and Diffusion Modelscited by 4
- 2026MapLightning: Online Vectorized HD Map Construction with 1D Map Tokenscited by 0
- 2026MapLightning: Online Vectorized HD Map Construction with 1D Map Tokens1 Oct 2026
- 2025Evaluating Compositional Generalisation in VLMs and Diffusion Models28 Aug 2025
- 2025FocalLens: Instruction Tuning Enables Zero-Shot Conditional Image Representations11 Apr 2025
- 2024Interaction Asymmetry: A General Principle for Learning Composable Abstractions12 Nov 2024