← Back to all articles
arXiv cs.CLSeptember 24, 2026

Tensor Decomposition of Transformer Key-Value Caches: Spectral Structure and Format Comparison

Excerpt

arXiv:2609.28029v1 Announce Type: cross Abstract: The key-value (KV) cache of autoregressive transformers can be viewed as a fourth-order tensor spanning attention heads, tokens, features, and grouped layers. We measure the singular-value spectra of all four mode unfoldings on Mistral-7B-v0.3 and LLaMA-2-13B and compare four standard tensor decompositions: Tucker, CP, tensor train, and t-SVD, at matched storage. The spectra partition the four axes into two classes. The token and feature modes ca