Study Compares Linear Attention Architectures for Long Context Models

Tommaso Cerruti, Tim Rieder, George Rowlands, Lingfeng Jin, Imanol Schlag· July 10, 2026 View original

Summary

This paper provides a comparative study of softmax attention and four recurrent linear-attention architectures, analyzing their expressivity, memory decay, training throughput, and implementation complexity. Experiments on 350M-parameter models reveal Kimi Delta Attention with Muon achieves the lowest validation loss, while Gated DeltaNet with AdamW offers the highest throughput.

Researchers have conducted a comprehensive comparative study of various attention mechanisms, focusing on the trade-offs between traditional softmax attention and four recent recurrent linear-attention architectures: DeltaNet, Gated DeltaNet, Kimi Delta Attention, and Gated DeltaNet-2. The study aimed to clarify their differences in terms of expressivity, how they manage memory decay, training throughput, and overall implementation complexity, particularly for models handling long sequence lengths where quadratic costs become prohibitive. The architectures were expressed using a common recurrent-memory notation to highlight their distinct operational principles. Experiments involved 350M-parameter models trained on 15 billion tokens, including comparisons of optimizers and learning rates, hybrid versus pure stack configurations, and sequence-length runtime measurements. Larger DeltaNet runs at 1.3B and 3B parameters were also conducted, alongside a small set of downstream evaluations. Key findings indicate that Kimi Delta Attention, when paired with the Muon optimizer, achieved the lowest final validation loss among the 350M-parameter models. Conversely, a pure Gated DeltaNet stack trained with AdamW demonstrated the highest normalized training throughput. Hybrid stacks generally improved loss at the cost of throughput, and Muon consistently outperformed AdamW in reducing final validation loss. The paper also explored lightweight cross-layer routing mechanisms for DeltaNet-style memories, finding that routing the write value into the aligned hidden stream (CLVR) yielded modest improvements.

Why it matters

For AI engineers and researchers building large language models, understanding the performance and efficiency trade-offs of linear attention architectures is crucial for scaling models to longer contexts while managing computational resources and training times effectively.

How to implement this in your domain

  1. 1Evaluate linear attention architectures like Kimi Delta Attention or Gated DeltaNet for long-context language model development.
  2. 2Consider using the Muon optimizer with Kimi Delta Attention for optimal validation loss in similar model sizes.
  3. 3Prioritize Gated DeltaNet with AdamW if training throughput is the primary concern for your model development.
  4. 4Experiment with hybrid attention stacks to potentially improve model quality at an acceptable throughput cost.
  5. 5Investigate Cross-Layer Value Routing (CLVR) for modest performance gains in DeltaNet-style memory architectures.

Who benefits

AI InfrastructureSoftware DevelopmentCloud ComputingResearch & DevelopmentContent Generation

Key takeaways

  • Linear attention offers significant cost advantages over softmax attention for long contexts.
  • Kimi Delta Attention with Muon achieves the lowest validation loss for 350M-parameter models.
  • Gated DeltaNet with AdamW provides the highest training throughput.
  • Hybrid attention stacks can balance loss and throughput, while CLVR offers modest improvements.

Original post by Tommaso Cerruti, Tim Rieder, George Rowlands, Lingfeng Jin, Imanol Schlag

"arXiv:2607.07953v1 Announce Type: new Abstract: Self-attention lets each token retrieve information from the full context, but its quadratic cost in sequence length limits training and inference at long context. This paper presents a comparative study of softmax attention and fou…"

View on X

Originally posted by Tommaso Cerruti, Tim Rieder, George Rowlands, Lingfeng Jin, Imanol Schlag on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses