mlsanityData to 14 Oct 2026

Learning Diverse Features in Vision Transformers for Improved Generalization

arXiv 2308.16274 ↗First posted 30 Aug 2023cs.CV cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Deep learning models often rely only on a small set of features even when there is a rich set of predictive signals in the training data. This makes models brittle and sensitive to distribution shifts. In this work, we first examine vision transformers (ViTs) and find that they tend to extract robust and spurious features with distinct attention heads. As a result of this modularity, their performance under distribution shifts can be significantly improved at test time by pruning heads corresponding to spurious features, which we demonstrate using an "oracle selection" on validation data. Second, we propose a method to further enhance the diversity and complementarity of the learned features by encouraging orthogonality of the attention heads' input gradients. We observe improved out-of-distribution performance on diagnostic benchmarks (MNIST-CIFAR, Waterbirds) as a consequence of the enhanced diversity of features and the pruning of undesirable heads.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 25 of its 26 references that are in the map. First posted on arXiv 30 Aug 2023.

Builds on

25 of 26 references.

References · 25

  1. 2020Shortcut Learning in Deep Neural Networkscited by 1,969
  2. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
  3. 2021Transformers in Vision: A Surveycited by 1,013
  4. 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 496
  5. 2021Intriguing Properties of Vision Transformerscited by 446
  6. 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 351
  7. 2021Understanding Robustness of Transformers for Image Classificationcited by 249
  8. 2022Leveraging Unlabeled Data to Predict Out-of-Distribution Performancecited by 145
  9. 2022Understanding The Robustness in Vision Transformerscited by 144
  10. 2022Agreement-on-the-Line: Predicting the Performance of Neural Networks under Distribution Shiftcited by 94
  11. 2019On the Existence of Simpler Machine Learning Modelscited by 89
  12. 2021Evading the Simplicity Bias: Training a Diverse Set of Models Discovers Solutions with Superior OOD Generalizationcited by 83
13 more
  1. 2022Agree to Disagree: Diversity through Disagreement for Better Transferabilitycited by 70
  2. 2022Diversify and Disambiguate: Learning From Underspecified Datacited by 56
  3. 2023Understanding and Improving Feature Learning for Out-of-Distribution Generalizationcited by 35
  4. 2022Rich Feature Construction for the Optimization-Generalization Dilemmacited by 34
  5. 2023Exploring and Interacting with the Set of Good Sparse Generalized Additive Modelscited by 30
  6. 2023Neuron Activation Coverage: Rethinking Out-of-distribution Detection and Generalizationcited by 28
  7. 2022Predicting is not Understanding: Recognizing and Addressing Underspecification in Machine Learningcited by 26
  8. 2019Ensembles of Locally Independent Prediction Modelscited by 22
  9. 2023Confidence and Dispersity Speak: Characterising Prediction Matrix for Unsupervised Accuracy Estimationcited by 22
  10. 2018Learning Qualitatively Diverse and Interpretable Rules for Classificationcited by 10
  11. 2023Project and Probe: Sample-Efficient Domain Adaptation by Interpolating Orthogonal Featurescited by 10
  12. 2022Feature Space Particle Inference for Neural Network Ensemblescited by 9
  13. 2022Towards Optimization and Model Selection for Domain Generalization: A Mixup-guided Solutioncited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 0; 2025: 1; 2026: 1.

4 papers.