Token Statistics Transformer: Linear-Time Attention via Variational Rate Reduction
Not on the map. Why?
Abstract (arXiv)
The attention operator is arguably the key distinguishing factor of transformer architectures, which have demonstrated state-of-the-art performance on a variety of tasks. However, transformer attention operators often impose a significant computational burden, with the computational complexity scaling quadratically with the number of tokens. In this work, we propose a novel transformer attention operator whose computational complexity scales linearly with the number of tokens. We derive our network architecture by extending prior work which has shown that a transformer style architecture naturally arises by "white-box" architecture design, where each layer of the network is designed to implement an incremental optimization step of a maximal coding rate reduction objective (MCR2). Specifically, we derive a novel variational form of the MCR2 objective and show that the architecture that results from unrolled gradient descent of this variational objective leads to a new attention module called Token Statistics Self-Attention (TSSA). TSSA has linear computational and memory complexity and radically departs from the typical attention architecture that computes pairwise similarities between tokens. Experiments on vision, language, and long sequence tasks show that simply swapping TSSA for standard self-attention, which we refer to as the Token Statistics Transformer (ToST), achieves competitive performance with conventional transformers while being significantly more computationally efficient and interpretable. Our results also somewhat call into question the conventional wisdom that pairwise similarity style attention mechanisms are critical to the success of transformer architectures. Code will be available at https://github.com/RobinWu218/ToST.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 6 of its 48 references that are in the map. First posted on arXiv 23 Dec 2024.
Builds on
6 of 48 references.
References · 6
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 128
- 2021Dive into Deep Learningcited by 111
- 2023White-Box Transformers via Sparse Rate Reduction: Compression Is All There Is?cited by 22
Built on by
Citing papers per year: 2025: 6; 2026: 3.
9 papers.
- 2025Simplifying DINO via Coding Rate Regularizationcited by 20
- 2025Transolver is a Linear Transformer: Revisiting Physics-Attention through the Lens of Linear Attentioncited by 11
- 2025Adaptive Context Length Optimization with Low-Frequency Truncation for Multi-Agent Reinforcement Learningcited by 6
- 2025Towards Interpretable and Efficient Attention: Compressing All by Contracting a Fewcited by 2
- 2025MGDFIS: Multi-scale Global-detail Feature Integration Strategy for Small Object Detectioncited by 1
- 2025A Weakly Supervised Transformer for Rare Disease Diagnosis and Subphenotyping from EHRs with Pulmonary Case Studiescited by 1
- 2026HLA: Hadamard Linear Attentioncited by 1
- 2026Interpretable and Sparse Linear Attention with Decoupled Membership-Subspace Modeling via MCR2 Objectivecited by 0
- 2026Self-Gating Attention for Efficient Time Series Forecastingcited by 0
- 2026Self-Gating Attention for Efficient Time Series Forecasting2 Jul 2026
- 2026HLA: Hadamard Linear Attention12 Feb 2026
- 2026Interpretable and Sparse Linear Attention with Decoupled Membership-Subspace Modeling via MCR2 Objective20 Jan 2026
- 2025Transolver is a Linear Transformer: Revisiting Physics-Attention through the Lens of Linear Attention9 Nov 2025
- 2025Adaptive Context Length Optimization with Low-Frequency Truncation for Multi-Agent Reinforcement Learning30 Oct 2025
- 2025Towards Interpretable and Efficient Attention: Compressing All by Contracting a Few21 Sep 2025
- 2025A Weakly Supervised Transformer for Rare Disease Diagnosis and Subphenotyping from EHRs with Pulmonary Case Studies1 Jul 2025
- 2025MGDFIS: Multi-scale Global-detail Feature Integration Strategy for Small Object Detection15 Jun 2025
- 2025Simplifying DINO via Coding Rate Regularization14 Feb 2025