Metraipolis › archive › dc_873f10d6699b

SVD-Attention: Efficiently Analyzing Attention Blocks in Transformers — arXiv:2610.34971

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.34971
License (as archived)
CC0-1.0
Archived
2026-10-27T08:02:26.672Z
SHA-256 of the archived text
6e8c75c40b7dba94c91bb0c584c874da5b1b7fe567db438fc5b803497cc37350
Stable URL of this page
https://metraipolis.com/documento/dc_873f10d6699b

How to cite

SVD-Attention: Efficiently Analyzing Attention Blocks in Transformers — arXiv:2610.34971 — arXiv (en), https://arxiv.org/abs/2610.34971 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_873f10d6699b (Metraipolis archive dc_873f10d6699b, sha256 6e8c75c40b7dba94c91bb0c584c874da5b1b7fe567db438fc5b803497cc37350)
BibTeX
@misc{dc873f10d6699b,
  title = {SVD-Attention: Efficiently Analyzing Attention Blocks in Transformers — arXiv:2610.34971},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.34971},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_873f10d6699b; sha256 6e8c75c40b7dba94c91bb0c584c874da5b1b7fe567db438fc5b803497cc37350},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.34971. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Pretrained transformers spend a large share of their inference compute inside self-attention, yet the per-head query-key interaction is structurally low-rank by construction. We ask a diagnostic question: across layers and architectures, which heads actually use the full rank budget on real data, and which do not? We propose SVD-Attention, a post-hoc method that decomposes the per-head interaction matrix $M_h$ and scores every singular mode by both its spectral magnitude and its activation variance across tokens on a small calibration set. The score keeps the modes the head can amplify and that real data actually activates, and discards the rest; the resulting factorization is exact for the retained modes and needs no finetuning. Across seven pretrained models and five task types, the diagnostic finds a task-dependent pattern: redundancy sits in the early to middle layers for sentiment and image classification and for generation, and in the late layers for dense prediction and extractive question answering. It is also predictive: truncating the layers it flags costs at most $1.75$ F1, while truncating the same number of layers elsewhere in the same model costs up to $50$ F1. SVD-Attention is an analysis tool rather than a compression method: acting on it reduces inference FLOPs by $0.8$-$1.5\%$ on its own and by $8$-$11\%$ when composed with weight pruning, with $0$-$4\%$ change in task quality.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2610.34971 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-27T07:55:30.956Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).