The Key to Going Linear: Analysis-Driven Transformer Linearization

Anna Kuzina, Paul N. Whatmough, Babak Ehteshami Bejnordi
7/8/2026
cs.LG

No confident code implementation found for this paper.

Abstract

The quadratic cost of causal self-attention severely bottlenecks long-context transformer inference. While numerous post hoc linearization pipelines exist, it is difficult to identify which components preserve model quality. This work isolates the effect of state update design in a strict frozen-backbone regime. We show that softmax relies on key-dependent, rank-1 orthogonal projections, elucidating why delta-style networks outperform purely gated accumulation. We identify a potential source of approximation errors and introduce structural interventions, specifically sink tokens, short convolutions, and fixed-budget cache routing, which reduces the remaining gap. We scale this linearization approach across LLaMA and Qwen models up to 32B parameters, outperforming prior post hoc baselines on MMLU and matching the long-context retrieval of complex adaptive-caching frameworks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kuzina2026going,
  title  = {The Key to Going Linear: Analysis-Driven Transformer Linearization},
  author = {Anna Kuzina and Paul N. Whatmough and Babak Ehteshami Bejnordi},
  year   = {2026},
  eprint = {2607.07706},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.07706v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.07706.svg)](https://codeofpaper.com/paper/2607.07706)

Discussion