NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Necessary but Not Sufficient: Spectral Tests for Value-Linear Attention Surrogates

Blaž Škrlj, Ivan Can Arisoy, Solal Vernier

NeurIPS page · OpenReview · Open on the map

Category: Interpretability & Model Adaptation › Transformer Attention Theory · Type: new method · Keywords: attention approximation, recurrent surrogate, spectral analysis, state scaling, transformer efficiency, diagnostic test

Summary

The paper introduces spectral tests that provide necessary conditions for replacing attention heads with value-linear recurrent surrogates, enabling diagnosis of rank feasibility and state-size requirements.

Explained to a 5-year-old

A big computer brain reads words by paying attention to each word and how they relate. This attention part is complicated and uses a lot of memory. Scientists want to make the brain smaller by replacing the attention part with something simpler. The simpler thing is like a small notebook that only remembers a few important facts. To see if the notebook works, they look at how the original attention part behaves. If the check says the notebook is too small, they know it probably won’t work well. This helps make the brain faster and use less memory while keeping its performance.

Explained to a 5-year-old, longer

A big computer brain reads words by paying attention to each word and how they relate. This attention part is complicated and uses a lot of memory. Scientists want to make the brain smaller by replacing the attention part with something simpler. The simpler thing is like a small notebook that only remembers a few important facts. To see if the notebook works, they look at how the original attention part behaves. They find a special pattern in the original part that tells them how good the notebook can be. If the notebook is too small, the pattern shows that it probably won’t do a good job. This check helps them decide whether the notebook is good enough. The scientists also test the notebook on different kinds of words, like words that change smoothly and words that appear in groups. The notebook works well for some kinds of words but not as well for others. They also look at big computer brains that have already been trained, like models with billions of parameters, and see that the notebook’s size problem is usually small. The final idea is that this check is a way to say "this notebook is too small" rather than a promise that it will make the brain better. This helps engineers make the brain faster and use less memory while keeping its performance.

For a technical reader

The work derives spectral lower bounds that quantify the error of any finite-state recurrent surrogate for a standard attention head. It shows that retrieval-style attention patterns lead to sharp state-size scaling laws, while smooth or clustered patterns can cause the bounds to be loose. Empirical checks on large pretrained models indicate that the rank obstruction is often small, making the test useful as a quick rejection criterion for undersized surrogates.

Problem

Efficiently approximating attention mechanisms with simpler recurrent models is challenging because it is unclear when such approximations will be accurate enough for downstream tasks.

Method

The approach computes spectral properties of the attention matrix to bound the error of any finite-state recurrent surrogate and derives scaling laws for the required state size based on retrieval patterns.

Results

The spectral lower bounds are tight for retrieval-shaped targets but loose for smooth or clustered targets, and on large pretrained models the rank obstruction is typically small.

Contributions

The paper provides computable necessary conditions for recurrent surrogates to approximate attention, derives scaling laws for state size, and proposes a diagnostic test to reject undersized surrogates.

Limitations and assumptions

The diagnostic offers only necessary conditions and can be loose for certain target distributions; it does not certify that a surrogate will train or improve downstream performance.

Practical relevance

The spectral test can be used to quickly reject undersized recurrent surrogates, enabling more efficient deployment of attention approximations in large models.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction