Skip to content

Hybrid Linear Attention

A 2025–2026 convergence pattern in open-weight LLM architecture: most layers run a fixed-state-size linear-attention primitive (Mamba-2, Gated DeltaNet, Lightning Attention, KDA, JetBlock) and a minority of layers run softmax attention (full / MLA / GQA / SWA) as a “global anchor”. The motivation is that long-generation decoding is memory-bandwidth-bound, so collapsing the per-token KV cost to a constant via linear attention dominates the latency win — but pure linear models still trail Transformers on retrieval / in-context recall, which the softmax anchors restore. The current open question is what ratio of linear-to-softmax is right (filed claims range from 3:1 KDA:MLA in Kimi Linear to 7:1 linear:full in MiniMax-M1) and which linear primitive wins on a given workload.

  • [2026-07-16] Kimi K3 — Open Frontier Intelligence (2.8T MoE with KDA + AttnRes): First trillion-scale deployment of Kimi Delta Attention (KDA): K3 (2.8T MoE) uses KDA as its attention backbone and ships a KDA-compatible prefix-cache implementation to vLLM to preserve serving economics.
  • [2026-07-14] 1-bit Bonsai 27B — GGUF: 27B-class Reasoning at 1.125 Bits Per Weight: First filed evidence that a hybrid-linear backbone survives extreme weight quantization: 1-bit Bonsai 27B inherits Qwen3.6-27B’s ~75% linear / ~25% full-attention layout (full-attention KV cache grown on only 16 of 64 layers) and retains the full 262K context on-device — 100K peak fits in 11.6 GB without KV compression, and full 262K in ~9.4 GB peak with 4-bit KV. The architectural bet — that most layers can be linear-attention if a minority stay full — is what makes 27B-scale binary-weight edge deployment fit on mainstream laptops in the first place.
  • [2026-07-09] Sparse Delta Memory: Scaling the State of Linear RNNs through Sparsity: SDM extends Gated DeltaNet by swapping the dense KV outer-product for sparse reads/writes into a large explicit memory bank — a state-capacity axis orthogonal to the layer-wise linear:softmax ratio question. Under iso-FLOP + iso-parameter, more state capacity via sparse addressing lifts in-context learning and long-context retrieval, arguing the “how much softmax” question is partly downstream of “how big is your linear state”.
  • [2026-06-20] HydraHead: From Head-Level Functional Heterogeneity to Specialized Attention Hybridization: First filed argument that the head, not the layer, is the right hybridization granularity — interpretability analysis shows within-layer head specialization despite shared inputs, and the resulting head-axis FA/LA mix (with scale-normalized fusion + retrieval-critical head selector + 15B-token distillation transfer) matches a 3:1 layer-wise hybrid’s long-context quality at a 7:1 LA-to-FA ratio. Orthogonal axis to every filed layer-wise recipe (Kimi Linear, MiniMax-M1, Jet-Nemotron, Qwen3-Next, Nemotron-3-Super); resets the cluster’s open question on “right linear:softmax ratio” — layer-wise recipes may be over-allocating FA to heads that don’t need it.
  • [2026-05-26] Laguna M.1/XS.2 Technical Report: Laguna XS.2 adopts 3:1 SWA:GA interleaving (SWA window 512, θ=10K, 64 Q-heads; GA θ=500K with partial RoPE on first 50% of head dim, 48 Q-heads) with softplus per-head gating — another datapoint that the 3:1 hybrid-SWA recipe is now standard in 30–300B-active coding MoEs.
  • [2026-05-26] LT2: Linear-Time Looped Transformers: LT2 reaches the cluster’s prescription (“mostly linear, a few full-attention anchors”) from the looped-Transformer side. LT2-hybrid (Full + Gated DeltaNet) interleaves GDN with a small fraction of full-attention layers and exceeds the standard looped baseline; LT2-hybrid (GDN + DeepSeek Sparse Attention) matches it at fully linear-time cost. Adds a structural argument the cluster hasn’t made: looping itself acts as iterative state refinement for linear attention and progressive receptive-field growth for sparse attention, so the loop is not just an efficiency multiplier but a quality enhancer for these primitives.
  • [2026-05-25] Infinite Context Length with Global but Constant Attention Memory: Author-side explainer from the SANA team (Junsong Chen, Yuyang Zhao, Jincheng Yu, Enze Xie) framing Linear Attention via the “state accumulation” mental model — Q(K^T V) reordering yields a fixed-size matrix state and O(N) total / O(d²) per-token decoding cost. Presented as the shared mechanical primitive behind both the LLM-side hybrid wave and the SANA team’s own minute-scale video deployment (SANA-WM: Efficient Minute-Scale World Modeling with Hybrid Linear Diffusion Transformer), making the cross-domain bridge explicit.
  • [2026-05-25] Kimi Linear: An Expressive, Efficient Attention Architecture: Kimi Linear — KDA (refined Gated DeltaNet with finer gating + specialized DPLR chunkwise kernel) deployed as a 3:1 KDA-to-MLA hybrid at 48B-A3B / 1M context; first claim of identical-recipe wins over full MLA on short-context + long-context + RL regimes, with up to 6× TPOT and 75% KV-cache cut at 1M.
  • [2026-05-25] Jet-Nemotron: Efficient Language Model with Post Neural Architecture Search (retro-tag): PostNAS retrofits a pretrained full-attention checkpoint into a hybrid by freezing MLPs and searching only the attention stack; bakes off six linear primitives (Gated DeltaNet wins); JetBlock adds input-conditioned dynamic V-side causal conv on top.
  • [2026-05-24] Mamba-3: Improved Sequence Modeling using State Space Principles (retro-tag): SSM-branch redesign for the inference-bound regime; explicitly recommends hybrid Mamba-3 + sparse global self-attention as the default deployment pattern.
  • [2026-05-25] Qwen3-Next-80B-A3B — hybrid Gated DeltaNet + Gated Attention, ultra-sparse 512-expert MoE, MTP (Alibaba Qwen announcement) (retro-tag): Qwen3-Next-80B-A3B production datapoint — Gated DeltaNet interleaved with Gated Attention, paired with a 512-expert MoE and native MTP; ~10× cheaper training and ~10× faster inference than Qwen3-32B per the team’s claim.
  • [2026-05-23] Nemotron 3 Super: Open, Efficient Mixture-of-Experts Hybrid Mamba-Transformer Model for Agentic Reasoning (retro-tag): hybrid Mamba-2 + Latent-MoE + global-attention anchors at 120B-12A, end-to-end NVFP4 pretraining at 25T tokens; the production-scale Mamba-Transformer hybrid datapoint in the open-MoE wave.
  • [2026-05-24] MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attention (retro-tag): first frontier RL run on a hybrid linear stack (Lightning Attention 7:1 with softmax) at 456B-A45.9B; ships CISPO RL algorithm motivated by hybrid-attention RL pathologies, and documents the FP32 LM-head + retuned-AdamW recipe for stable training.
  • What is the right linear:softmax ratio? Filed claims disagree by a factor of two (3:1 KDA:MLA in Kimi Linear vs 7:1 linear:softmax in MiniMax-M1) and the gap maps directly to “how much retrieval / in-context recall does the workload need”. No paper in the cluster has run a controlled sweep yet.
  • Which linear primitive wins at scale? Jet-Nemotron’s PostNAS bake-off picks Gated DeltaNet; Kimi Linear refines it into KDA; Mamba-3 argues the SSM branch is competitive after the inference-first redesign; MiniMax-M1 stays with Lightning Attention. No head-to-head at matched compute exists.
  • Does hybrid linear close the recall gap for in-context tasks (RAG, long-form coding agents) where exact retrieval of distant tokens matters, or only for retrieval-style benchmarks like RULER? The strongest evidence so far is RULER-at-128K wins (Kimi Linear: An Expressive, Efficient Attention Architecture, Qwen3-Next-80B-A3B — hybrid Gated DeltaNet + Gated Attention, ultra-sparse 512-expert MoE, MTP (Alibaba Qwen announcement)) but real agent workloads are still mostly run on softmax.
  • How do hybrid linear stacks interact with RL? MiniMax-M1 documents two failure modes (FP32 LM head; AdamW eps) and one algorithm change (CISPO clips IS weight not token update). Whether these are MiniMax-specific or general to the hybrid class is open.
  • What’s the right context-extension protocol? Direct extension explodes gradients in hybrid stacks; staged extension works but is expensive. Mamba-3 sidesteps this via exponential-trapezoidal discretization that subsumes the short causal conv — whether that generalizes to delta-rule branches (KDA, GDN) is unclear.