ResiDual Transformer Alignment with Spectral Decomposition
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
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2016Layer Normalizationcited by 5,669
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2013Describing Textures in the Wildcited by 2,125
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,496
27 more
- 2014How transferable are features in deep neural networks?cited by 1,225
- 2022Reproducible scaling laws for contrastive language-image learningcited by 1,173
- 2017Deeper, Broader and Artier Domain Generalizationcited by 986
- 2018Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representationscited by 941
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
- 2019Are Sixteen Heads Really Better than One?cited by 816
- 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 797
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
- 2015Cyclical Learning Rates for Training Neural Networkscited by 629
- 2022Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learningcited by 561
- 2019Learning Deep Transformer Models for Machine Translationcited by 309
- 2019Intrinsic dimension of data representations in deep neural networkscited by 282
- 2018Estimating the intrinsic dimension of datasets by a minimal neighborhood informationcited by 250
- 2023Interpreting CLIP's Image Representation via Text-Based Decompositioncited by 196
- 2022Relative representations enable zero-shot latent space communicationcited by 191
- 2024Interpreting CLIP with Sparse Linear Concept Embeddings (SpLiCE)cited by 119
- 2023The geometry of hidden representations of large transformer modelscited by 112
- 2022Does CLIP Bind Concepts? Probing Compositionality in Large Image Modelscited by 102
- 2024On the Origins of Linear Representations in Large Language Modelscited by 79
- 2023Latent Space Translation via Semantic Alignmentcited by 52
- 2022ASIF: Coupled Data Turns Unimodal Models to Multimodal Without Trainingcited by 47
- 2024Summing Up the Facts: Additive Mechanisms Behind Factual Recall in LLMscited by 42
- 2024Interpreting Key Mechanisms of Factual Recall in Transformer-Based Language Modelscited by 31
- 2023Bridging Information-Theoretic and Geometric Compression in Language Modelscited by 26
- 2022CNN Filter DB: An Empirical Investigation of Trained Convolutional Filterscited by 20
- 2024Decomposing and Interpreting Image Representations via Text in ViTs Beyond CLIPcited by 20
- 2023Interpreting and Exploiting Functional Specialization in Multi-Head Attention under Multi-task Learningcited by 9
Built on by
Citing papers per year: 2025: 2; 2026: 4.
6 papers.
- 2025Head Pursuit: Probing Attention Specialization in Multimodal Transformerscited by 17
- 2026Statistical and structural identifiability in representation learningcited by 6
- 2025MASS: MoErging through Adaptive Subspace Selectioncited by 5
- 2026Model Merging: Foundations and Algorithmscited by 0
- 2026LocUS: Head Selection and Subspace Projection for Targeted Activation Steeringcited by 0
- 2026Emergent Structure in the Marginal Attention Space of Language Modelscited by 0
- 2026Emergent Structure in the Marginal Attention Space of Language Models2 Oct 2026
- 2026LocUS: Head Selection and Subspace Projection for Targeted Activation Steering25 Sep 2026
- 2026Model Merging: Foundations and Algorithms2 May 2026
- 2026Statistical and structural identifiability in representation learning12 Mar 2026
- 2025Head Pursuit: Probing Attention Specialization in Multimodal Transformers24 Oct 2025
- 2025MASS: MoErging through Adaptive Subspace Selection6 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2026Large Vision-Language Models Get Lost in Attention
- 2026ResLRP: The Role of Residual Cancellation in Attribution Instability in Vision Transformers
- 2026Understanding Pruning Regimes in Vision-Language Models Through Domain-Aware Layer Selection
- 2026Supervised Classification Heads as Semantic Prototypes: Unlocking Vision-Language Alignment via Weight Recycling
- 2026Attention Alignment Between Humans and Vision-Language Models
- 2025Same Task, Different Circuits: Disentangling Modality-Specific Mechanisms in VLMs
- 2026One Geometry, Different Outcomes: Readout-Dependent Effects of the Modality Gap in Vision-Language Models
- 2026Cognitive Alignment At No Cost: Inducing Human Attention Biases For Interpretable Vision Transformers