Small Singular Values Matter: A Random Matrix Analysis of Transformer Models

This work analyzes the spectra of weight matrices in pretrained transformer models to understand the role of outliers. When comparing Random Matrix Theory (RMT) predictions to properties of trained weights, we associate agreement with random noise and deviations with learned structure. Surprisingly, we find that the RMTpredictions for spectral properties are not only violated for the large singular values, but also for the small ones. A comparison of the corresponding singular vectors to eigenvectors of the activation covariance matrices shows a substantial overlap in regions that deviate from RMT expectations, indicating that important directions of the data could be encoded in small singular values. We verify this result by measuring the perplexity increase when removing these singular values from the matrix and find that they indeed encode important information, as their removal leads to higher perplexity increases than removing singular values from the bulk of the spectrum. When fine-tuning, the smallest singular values can even be the third most important decile of the singular value spectrum. Finally, we introduce a linear random matrix model to explain how singular vectors corresponding to small singular values can carry more information than those corresponding to larger ones. Our results highlight the relevance of small singular values and offer both theoretical and empirical insights, informing the design of SVD-based pruning methods in large language models.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-05-01
DOI
https://doi.org/10.5281/zenodo.15409885
Primary Topic
Random Matrices and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Small Singular Values Matter: A Random Matrix Analysis of Transformer Models

Zenodo (CERN European Organization for Nuclear Research)
Random Matrices and Applications
article

Small Singular Values Matter: A Random Matrix Analysis of Transformer Models

article en

Abstract

This work analyzes the spectra of weight matrices in pretrained transformer models to understand the role of outliers. When comparing Random Matrix Theory (RMT) predictions to properties of trained weights, we associate agreement with random noise and deviations with learned structure. Surprisingly, we find that the RMTpredictions for spectral properties are not only violated for the large singular values, but also for the small ones. A comparison of the corresponding singular vectors to eigenvectors of the activation covariance matrices shows a substantial overlap in regions that deviate from RMT expectations, indicating that important directions of the data could be encoded in small singular values. We verify this result by measuring the perplexity increase when removing these singular values from the matrix and find that they indeed encode important information, as their removal leads to higher perplexity increases than removing singular values from the bulk of the spectrum. When fine-tuning, the smallest singular values can even be the third most important decile of the singular value spectrum. Finally, we introduce a linear random matrix model to explain how singular vectors corresponding to small singular values can carry more information than those corresponding to larger ones. Our results highlight the relevance of small singular values and offer both theoretical and empirical insights, informing the design of SVD-based pruning methods in large language models.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 49%
Random Matrices and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.