| Home > Publications database > Spectral Dynamics of Attention Caches: A Numerical Linear Algebra Perspective on Transformer Inference |
| Poster (Other) | FZJ-2026-05833 |
; ;
2026
This record in other databases:
Please use a persistent id in citations: doi:10.34734/FZJ-2026-05833
Abstract: Large Language Models (LLMs) computational workload at inference is dominated by data movements, creating a major memory bottleneck known as the Key-Value (KV) cache. With the perspective of compressing the K and V feature matrices incrementally as the context grows, we analyze the mechanism of attention from a purely linear algebra viewpoint.<br><br>While the dominant eigenspaces of the value matrices remain strongly correlated with respect to the context growth, the key matrices present a different correlation pattern due to the introduction of rotational operations.<br><br>In this setting, we propose an adaptive compression scheme based on a subspace iteration principle applied to the Gram matrices and discuss its application to the K and V matrices.
|
The record appears in these collections: |