Massive Activations in Hybrid Linear Attention Large Language Models: Pre-Attention Spikes and Inter-Spike Plateaus

Zunhai Su, Bohan Sun, Xialie Zhuang, Shuibai Zhang, He Xiao +7 more
8/12/2026
3 citations
cs.CL
transformer-attention

Official code: StartLuxLabs/Massive-Activations-HLA (25 stars, Python, MIT, last commit 2026-08-13).

Abstract

We present the first systematic study of massive activations (MAs) in layer-interleaved Hybrid linear attention large language models (HLA LLMs), examining their architectural organization, training-time emergence, underlying mechanisms, and functional significance. Across five linear attention architectures, six hybridization configurations, and five input domains, we identify two architecture-aligned morphologies: pre-attention spikes (PAS) immediately before full attention and inter-spike plateaus (ISP) persisting through intervening linear attention layers.

Show full abstract

Denser full attention increasingly connects PAS through ISP, approaching the persistent MAs of conventional Transformers. This organization also recurs across 12 public checkpoints spanning 1.2B-397B parameters, covering linear attention and state-space hybrids. Controlled pretraining of Gated DeltaNet (GDN) hybrids up to 1.3B reveals early emergence and consolidation of both morphologies, alongside asymmetric gating effects. Specifically, full attention output gates strongly attenuate MA magnitudes without eliminating their organization, whereas removing GDN output gates yields modest amplification. Mechanistically, we develop a shared systematic-outlier account: PAS follows a localized write-sink-cancel process, while ISP is consistent with delayed cancellation. Functionally, our interventions show that deleting only the four largest-magnitude PAS coordinates at each full attention input reduces mean downstream accuracy by 21.9%-63.6% relative to normal inference. Moreover, reference-conditioned spike-to-plateau connection consistently improves mean real-world retrieval accuracy, yielding relative gains of 1.1%-12.6% without retraining. Our code is available at https://github.com/StartLuxLabs/Massive-Activations-HLA.

View on arXivView PDF

Code Implementations(1)

MIT

⚡ Official code for “Massive Activations in Hybrid Linear Attention Large Language Models: Pre-Attention Spikes and Inter-Spike Plateaus”.

254Python, ShellAug 12, 20263 months agoMIT

Similar Papers

Cite this paper

@article{su2026massive,
  title  = {Massive Activations in Hybrid Linear Attention Large Language Models: Pre-Attention Spikes and Inter-Spike Plateaus},
  author = {Zunhai Su and Bohan Sun and Xialie Zhuang and Shuibai Zhang and He Xiao and Hui Shen and Jing Xiong and Hengyuan Zhang and Zhongzhu Zhou and Tiantian Zhang and Ngai Wong and Chuan-Wei Kuo},
  year   = {2026},
  eprint = {2608.12149},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.12149v3}
}

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/2608.12149.svg)](https://codeofpaper.com/paper/2608.12149)

Discussion