mlsanityData to 14 Oct 2026

ResiDual Transformer Alignment with Spectral Decomposition

arXiv 2411.00246 ↗First posted 31 Oct 2024cs.CV cs.LGcited by 6

Not on the map. Why?

Abstract (arXiv)

When examined through the lens of their residual streams, a puzzling property emerges in transformer networks: residual contributions (e.g., attention heads) sometimes specialize in specific tasks or input attributes. In this paper, we analyze this phenomenon in vision transformers, focusing on the spectral geometry of residuals, and explore its implications for modality alignment in vision-language models. First, we link it to the intrinsically low-dimensional structure of visual head representations, zooming into their principal components and showing that they encode specialized roles across a wide variety of input data distributions. Then, we analyze the effect of head specialization in multimodal models, focusing on how improved alignment between text and specialized heads impacts zero-shot classification performance. This specialization-performance link consistently holds across diverse pre-training data, network sizes, and objectives, demonstrating a powerful new mechanism for boosting zero-shot classification through targeted alignment. Ultimately, we translate these insights into actionable terms by introducing ResiDual, a technique for spectral alignment of the residual stream. Much like panning for gold, it lets the noise from irrelevant unit principal components (i.e., attributes) wash away to amplify task-relevant ones. Remarkably, this dual perspective on modality alignment yields fine-tuning level performance on different data distributions while modelling an extremely interpretable and parameter-efficient transformation, as we extensively show on 70 pre-trained network-dataset combinations (7 models, 10 datasets).

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 39 of its 59 references that are in the map. First posted on arXiv 31 Oct 2024.

Builds on

39 of 59 references.

References · 39

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  7. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
  8. 2016Layer Normalizationcited by 5,669
  9. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
  10. 2017Prototypical Networks for Few-shot Learningcited by 3,015
  11. 2013Describing Textures in the Wildcited by 2,125
  12. 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,496
27 more
  1. 2014How transferable are features in deep neural networks?cited by 1,225
  2. 2022Reproducible scaling laws for contrastive language-image learningcited by 1,173
  3. 2017Deeper, Broader and Artier Domain Generalizationcited by 986
  4. 2018Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representationscited by 941
  5. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  6. 2019Are Sixteen Heads Really Better than One?cited by 816
  7. 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 797
  8. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
  9. 2015Cyclical Learning Rates for Training Neural Networkscited by 629
  10. 2022Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learningcited by 561
  11. 2019Learning Deep Transformer Models for Machine Translationcited by 309
  12. 2019Intrinsic dimension of data representations in deep neural networkscited by 282
  13. 2018Estimating the intrinsic dimension of datasets by a minimal neighborhood informationcited by 250
  14. 2023Interpreting CLIP's Image Representation via Text-Based Decompositioncited by 196
  15. 2022Relative representations enable zero-shot latent space communicationcited by 191
  16. 2024Interpreting CLIP with Sparse Linear Concept Embeddings (SpLiCE)cited by 119
  17. 2023The geometry of hidden representations of large transformer modelscited by 112
  18. 2022Does CLIP Bind Concepts? Probing Compositionality in Large Image Modelscited by 102
  19. 2024On the Origins of Linear Representations in Large Language Modelscited by 79
  20. 2023Latent Space Translation via Semantic Alignmentcited by 52
  21. 2022ASIF: Coupled Data Turns Unimodal Models to Multimodal Without Trainingcited by 47
  22. 2024Summing Up the Facts: Additive Mechanisms Behind Factual Recall in LLMscited by 42
  23. 2024Interpreting Key Mechanisms of Factual Recall in Transformer-Based Language Modelscited by 31
  24. 2023Bridging Information-Theoretic and Geometric Compression in Language Modelscited by 26
  25. 2022CNN Filter DB: An Empirical Investigation of Trained Convolutional Filterscited by 20
  26. 2024Decomposing and Interpreting Image Representations via Text in ViTs Beyond CLIPcited by 20
  27. 2023Interpreting and Exploiting Functional Specialization in Multi-Head Attention under Multi-task Learningcited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 4.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Large Vision-Language Models Get Lost in Attention
  2. 2026ResLRP: The Role of Residual Cancellation in Attribution Instability in Vision Transformers
  3. 2026Understanding Pruning Regimes in Vision-Language Models Through Domain-Aware Layer Selection
  4. 2026Supervised Classification Heads as Semantic Prototypes: Unlocking Vision-Language Alignment via Weight Recycling
  5. 2026Attention Alignment Between Humans and Vision-Language Models
  6. 2025Same Task, Different Circuits: Disentangling Modality-Specific Mechanisms in VLMs
  7. 2026One Geometry, Different Outcomes: Readout-Dependent Effects of the Modality Gap in Vision-Language Models
  8. 2026Cognitive Alignment At No Cost: Inducing Human Attention Biases For Interpretable Vision Transformers