Manuscript Offprint

arXiv:2608.12149

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, Jing Xiong, Hengyuan Zhang, Zhongzhu Zhou, Tiantian Zhang, Ngai Wong, Chuan-Wei Kuo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Hybrid linear attention large language models (HLA LLMs) interleave linear and full attention to balance efficiency and capacity, yet how hybridization reshapes internal activation dynamics remains poorly understood. We present the first systematic study of massive activations (MAs) in layer-interleaved 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. 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.

1 Introduction

Softmax attention enables Transformers to model expressive, content-dependent interactions across the entire context (Vaswani et al., 2017; Team et al., 2025c; Team et al., 2026c; Team et al., 2026b; Team et al., 2025b). However, its computational cost grows quadratically with context length, making long-context modeling expensive (Tay et al., 2022; Su et al., 2026a; Su et al., 2025a; Su and Yuan, 2025). Linear attention reduces this cost through recurrent computation, but its fixed-size state restricts modeling capacity, particularly for recall-intensive tasks (Yang et al., 2023; Yang et al., 2025b). Hybrid linear attention (HLA) LLMs address this trade-off by interleaving linear and full attention layers. This design is increasingly common in modern LLMs, including Qwen3-Next, Qwen3.5, Kimi Linear, Kimi K3, Zamba, and Nemotron-H (Yang et al., 2025a; Team et al., 2025a; Team et al., 2026a; Blakeman et al., 2025; Glorioso et al., 2024).

Figure

Figure 1: MA morphology across GDN hybrid configurations. MAs form pre-attention spikes (PAS) immediately before full attention layers. Denser full attention promotes persistence between successive PAS, forming inter-spike plateaus (ISP). Models are from the M-A-P Hybrid Linear Attention Research suite (Wang et al., 2025).

Despite their growing adoption, how HLA architectures reshape internal activation dynamics remains poorly understood. Of particular interest are massive activations (MAs), a sparse set of hidden-state entries that exceed typical values by several orders of magnitude and concentrate at specific token positions (Sun et al., 2024). Prior work attributes both their emergence and their close coupling with attention sinks to structural properties of softmax-based Transformers (Su et al., 2026b; Xiao et al., 2024; Sun et al., 2026; An et al., 2025; Su and Yuan, 2025). These findings establish MAs as a distinctive signature of Transformer dynamics and an informative probe of layerwise computation. Yet their behavior beyond conventional full attention LLMs remains largely unexplored, raising a central question: How does hybridization shape MA dynamics in HLA LLMs, and what do these dynamics reveal about their internal computation?

In this work, we systematically investigate MAs in layer-interleaved HLA LLMs. Through extensive experiments across five linear attention architectures, six hybridization configurations, and five input domains (§3.2–§3.3), we uncover a hybridization-dependent organization distinct from that of full attention LLMs. As illustrated in Figure 1, MAs intensify immediately before full attention layers, forming pre-attention spikes (PAS). Denser full attention promotes persistence between PAS, producing inter-spike plateaus (ISP). At the full attention limit, these forms merge into the characteristic Transformer morphology, with relatively stable MAs across most intermediate layers. This organization recurs across 12 public checkpoints from Kimi Linear, Qwen3.5, Nemotron-H, and Zamba2, spanning 1.2B–397B parameters and covering both linear attention and state-space hybrids, including base and instruction-tuned variants (§3.4).

Beyond inference-time characterization, we trace the emergence of PAS and ISP through controlled pretraining of Gated DeltaNet (GDN) hybrids and examine the effects of output gating (§3.5). We further apply systematic-outlier analysis to their cross-layer evolution, linking PAS and ISP to the stable MA morphology of full attention models (§4.1–§4.2). Finally, targeted interventions demonstrate the functional importance of PAS and the potential of spike-to-plateau connection to improve real-world retrieval without retraining (§4.3). Our main contributions are:

  • Architecture-aligned MA morphology. We present the first systematic study of MAs in layer-interleaved HLA LLMs, identifying PAS and ISP as two architecture-aligned morphologies that recur across architectures, hybridization configurations, input domains, and pretrained hybrids spanning 1.2B–397B parameters.
  • Controlled emergence and gating. Pretraining GDN hybrids up to 1.3B shows that PAS and ISP emerge early and consolidate during optimization. Full attention output gating strongly attenuates their magnitudes but preserves their layerwise organization, whereas removing GDN output gates yields modest amplification.
  • A shared lifecycle explanation. We develop a shared systematic-outlier account organized by MA cancellation timing. PAS follows a localized write–sink–cancel process, while the extended persistence of ISP is consistent with delayed cancellation; this account connects both morphologies to the stable MAs observed at the full attention limit.
  • Functional importance and real-world retrieval improvement. Through interventions across six frozen GDN hybrids and eleven benchmarks, we establish the functional importance of PAS and show that reference-conditioned spike-to-plateau connection consistently improves mean real-world retrieval performance without retraining.

References (45)