paper-with-me

홈 › Papers

ResiDual Transformer Alignment with Spectral Decomposition

2024-10-31 · Lorenzo Basile, Valentino Maiorca, Luca Bortolussi, Emanuele Rodolà, Francesco Locatello

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 performances on different data distributions while modeling an extremely interpretable and parameter-efficient transformation, as we extensively show on more than 50 (pre-trained network, dataset) pairs.

📄 PDF Abstract BibTeX arXiv:2411.00246

Code (0)

등록된 구현이 없습니다.

Tasks

zero-shot-classificationZero-Shot Learning

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Spectral Asymptotics of Neural Network Loss Landscapes: An Exact Decomposition of the Curvature Exponent

2026-05-22 · Anherutowa Calvo arxiv

The curvature exponent $α$ in $h_k \propto σ_k^α$ -- governing how Hessian eigenvalues scale with gradient singular values -- varies systematically across layer types ($α\approx 2$ for convolutions, $\approx 1$ for trans…

Residual Koopman Spectral Profiling for Predicting and Preventing Transformer Training Instability

2026-02-26 · Bum Jun Kim, Shohei Taniguchi, Makoto Kawano, Yusuke Iwasawa 외 arxiv

Training divergence in transformers wastes compute, yet practitioners discover instability only after expensive runs begin. They therefore need an expected probability of failure for a transformer before training starts.…

Spectral Graph Transformer Networks for Brain Surface Parcellation

2019-11-22 · Ran He, Karthik Gopinath, Christian Desrosiers, Herve Lombaert

The analysis of the brain surface modeled as a graph mesh is a challenging task. Conventional deep learning approaches often rely on data lying in the Euclidean space. As an extension to irregular graphs, convolution ope…

Graph Learning

Dynamics of the Transformer Residual Stream: Coupling Spectral Geometry to Network Topology

2026-05-14 · Jesseba Fernando, Grigori Guitchounts arxiv

Large language models are remarkably capable, yet how computation propagates through their layers remains poorly understood. A growing line of work treats depth as discrete time and the residual stream as a dynamical sys…

ResSR: A Computationally Efficient Residual Approach to Super-Resolving Multispectral Images

2024-08-23 · Haley Duba-Sullivan, Emma J. Reid, Sophie Voisin, Charles A. Bouman 외

Multispectral imaging sensors typically have wavelength-dependent resolution, which limits downstream processing. Consequently, researchers have proposed multispectral image super-resolution (MSI-SR) methods which upsamp…

Image Super-ResolutionMultispectral Image Super-resolutionSuper-Resolution