🤖 AI Hot

Kimi K2.5: Replacing Adam and Attention at GTC 2026

A
Alex Chen

At GTC 2026, Moonshot AI CEO Yang Zhilin walked on stage and told the audience that deep learning has been running on a decade-old optimizer and nobody seriously questioned it. Then he showed the receipts. Kimi K2.5 replaces three foundational components of the transformer architecture — the optimizer, the attention mechanism, and the residual connection structure — with alternatives that Moonshot claims double training efficiency and handle million-token contexts without the quadratic memory blowup.

The talk was one of the most technically dense keynotes at GTC this year. NVIDIA gave it a featured session slot. The arXiv paper for K2.5 is already out. If even half of Moonshot’s claims hold up under independent reproduction, this is the most significant architectural contribution to large-scale model training since the Chinchilla scaling laws.

I spent a few days reading the paper, watching the GTC session recording, and talking to people who’ve experimented with the open weights. Here’s what’s actually new, what’s clever engineering, and what’s being oversold.

Component 1: MuonClip — the optimizer that’s not Adam

Adam has been the default optimizer for training large language models since the original Transformer paper in 2017. It works by maintaining per-parameter learning rates based on first and second moment estimates of the gradients. It’s reliable, well-understood, and computationally expensive — Adam stores two additional values (mean and variance) for every parameter, which means for a 100B parameter model, you need 200B extra floats just for the optimizer state.

MuonClip is Moonshot’s replacement. The key idea is using a matrix-level learning rate instead of per-parameter adaptive rates, applied through a technique called Newton-Schulz iteration for matrix orthogonalization. In plain English: instead of tuning the learning rate for every individual weight, MuonClip tunes it once per weight matrix, then ensures the update preserves the matrix structure. This is conceptually similar to the difference between per-parameter weight decay and structured weight decay — you lose some fine-grained adaptivity but gain enormous memory and compute savings.

The claimed benefits:

  • 2x token learning efficiency. Moonshot says MuonClip learns as much from 1 trillion tokens as Adam learns from 2 trillion. If true, this halves the training budget for any large model.
  • Lower memory footprint. No per-parameter optimizer state cuts memory usage significantly — the exact ratio depends on model size, but for large models the optimizer state is a substantial fraction of total training memory.
  • Better scaling behavior. The paper shows that MuonClip’s advantage over Adam grows with model size, suggesting it addresses a fundamental inefficiency in adaptive optimization at scale rather than just being a constant-factor improvement.

The catch: MuonClip requires careful tuning of the matrix-level learning rate schedule, and it’s less robust to bad hyperparameter choices than Adam. Several teams that tried early releases of K2.5 reported training instability at certain scales. Moonshot’s response is that they’ve developed a clipping mechanism (hence “MuonClip”) that stabilizes training — but the clipping threshold itself becomes another hyperparameter to tune.

For practitioners, the immediate question is: can I use MuonClip in my own training runs? The answer is “soon, with caveats.” Moonshot open-sourced the optimizer, but it requires integration with your training framework (PyTorch FSDP, DeepSpeed, or Megatron) and some infrastructure work. The Hugging Face Transformers integration isn’t done yet. If you’re training at the 1B+ parameter scale, MuonClip is worth experimenting with. If you’re fine-tuning 7B models on a single node, AdamW still works fine and the tooling is mature.

Component 2: Kimi Linear — linear attention that actually works at scale

Quadratic attention is the elephant in every transformer architecture room. For a sequence of length N, standard scaled dot-product attention computes N² attention scores. At 128K tokens, that’s 16 billion pairwise comparisons. At 1M tokens, it’s 1 trillion. GPUs have VRAM limits, and N² attention hits those limits hard.

The theoretical solution has been known for years: linear attention. Instead of computing explicit attention scores between every pair of tokens, linear attention uses kernel functions to approximate the attention operation in linear time relative to sequence length. The problem has always been that linear attention approximations lose quality — they’re faster but worse, and the quality gap grows with task complexity.

Kimi Linear is Moonshot’s attempt to close that gap. The core innovation is what they call “Attention Residue” — a mechanism that preserves some of the information lost during the linearization by adding a learnable residual path alongside the linear attention computation. The residual path captures the long-range dependencies that pure linear attention tends to blur, while the linear path handles the bulk of the attention work efficiently.

The numbers from the paper:

  • 1M token context supported with memory scaling that’s linear in sequence length rather than quadratic
  • Quality parity with standard attention on benchmarks up to 256K tokens, with a small degradation (2-3 points on long-context eval) at 1M tokens
  • Training speed roughly 3-5x faster than flash attention at long sequence lengths (the crossover point is around 32K tokens — below that, flash attention is still faster)

The architecture uses a hybrid approach in practice: standard attention for the first few layers (where local patterns dominate), Kimi Linear for the middle layers (where long-range dependencies matter), and a final standard attention layer for output quality. This is clever engineering — it acknowledges that linear attention isn’t uniformly better and uses it where it provides the most benefit.

For people building long-context applications (document analysis, codebase-level reasoning, multi-turn agent conversations), Kimi Linear is the most immediately practical contribution from the K2.5 work. The open-source implementation works with standard PyTorch and the paper includes detailed training recipes. I expect to see variants of this approach in most major model releases within the next 12 months.

Component 3: Agent Swarm — making autonomous agents work as a system

The third component of K2.5 is less about model architecture and more about how the model is deployed. Moonshot built an “Agent Swarm” framework that orchestrates multiple instances of K2.5 working in parallel on sub-problems, with a coordinating agent that synthesizes results.

This is not conceptually new — multi-agent systems have been a research area for decades, and frameworks like AutoGen and CrewAI have made agent orchestration accessible. What’s different about Moonshot’s approach is the tight coupling between the model architecture and the swarm behavior. K2.5 was trained with multi-agent coordination data, so individual instances of the model understand when to delegate, when to report partial results, and how to handle conflicting outputs from peer agents.

The swarm architecture is hierarchical:

  1. Orchestrator agent receives the user’s request and decomposes it into sub-tasks
  2. Worker agents (2-8 instances, depending on task complexity) handle sub-tasks in parallel, each with a specialized prompt and tool access
  3. Synthesizer agent merges worker outputs, resolves contradictions, and produces the final response

Moonshot showed demos where the swarm handled tasks that a single K2.5 instance couldn’t: analyzing a 500-page legal document while cross-referencing case law, debugging a distributed system with 12 microservices, and generating a complete software project with frontend, backend, and database layers from a natural language spec.

The agent swarm capability is powered by the same Kimi Linear attention that handles long contexts — worker agents can maintain state across long interaction sequences without context window pressure. This is the architectural synergy that makes Moonshot’s argument compelling: linear attention isn’t just about reading long documents, it’s about enabling agents that can work on complex tasks without forgetting what they were doing halfway through.

What this means for open-source AI

K2.5 is open-source and the weights are available. This matters because Moonshot is a Chinese AI lab, and the open-source release of a frontier-capable model with novel architecture choices provides an alternative to the US-dominated model ecosystem (OpenAI, Anthropic, Google, Meta).

The geopolitical dimension is unavoidable. US export controls on advanced GPUs have pushed Chinese AI labs to prioritize efficiency — you can’t just throw more H100s at the problem when you can’t buy H100s. Moonshot’s focus on training efficiency (MuonClip’s 2x token efficiency claim) and serving efficiency (linear attention’s memory savings) is partly a response to hardware constraints. The result is architecture research that benefits everyone, regardless of which side of the export control line they’re on.

For the open-source community, K2.5 provides building blocks:

  • MuonClip as an alternative optimizer for training large models
  • Kimi Linear as a drop-in attention replacement for long-context work
  • Agent Swarm patterns that can be adapted to other model architectures

The quality is competitive: K2.5 benchmarks in the same range as GPT-5.6 Luna on most tasks, with advantages on long-context and multi-agent benchmarks and disadvantages on creative writing and nuanced reasoning. It’s not “better than GPT-5.6 Sol” — Moonshot doesn’t claim it is — but it’s competitive with the best open-weight models and superior in specific dimensions.

Limitations and caveats

Every GTC keynote has an element of theater. Here’s what the K2.5 paper and presentations don’t emphasize:

  • Reproduction complexity. Training a model with MuonClip requires infrastructure work that most teams haven’t done. The open-source release includes training code, but running it at scale takes real engineering effort. Don’t expect a one-line pip install that replaces AdamW.

  • Linear attention degrades on some tasks. The paper’s own benchmarks show a 2-3 point drop on several reasoning tasks at 1M context length. For applications where every point matters (medical, legal, financial compliance), this degradation is material.

  • The Agent Swarm is partly proprietary. While the model weights and architecture are open, the full swarm orchestration framework and training data Moonshot used are not. The open-source community will need to reimplement the coordination protocols.

  • Chinese-language bias. K2.5 was trained primarily on Chinese and English data, with significantly more Chinese content than Western models. English performance is strong but not always consistent — there are occasional artifacts that suggest the model is translating reasoning patterns from its Chinese-dominant training distribution.

Who should pay attention

If you’re training large models: MuonClip is the most exciting thing in this release. A 2x training efficiency improvement is enormous if it reproduces. Start experimenting now, but budget time for integration work.

If you’re building long-context applications: Kimi Linear is worth evaluating. The memory savings at long sequence lengths are real, and the quality tradeoff is small enough for most applications.

If you’re working on multi-agent systems: The K2.5 swarm patterns are good reference architecture, but don’t expect a plug-and-play solution. The concepts transfer to other models; the implementation details are specific to K2.5.

If you care about AI geopolitics: K2.5 is evidence that export controls are accelerating, not slowing, efficiency-focused architecture research outside the US. The second-order effects of chip restrictions on AI research directions are starting to show.

The bottom line: K2.5 is the most interesting open-source model release of 2026 so far. Not because it’s the best at everything — it isn’t — but because it demonstrates that rethinking deep learning fundamentals, not just scaling them, still yields meaningful improvements. When the CEO of an AI lab uses a GTC keynote to tell the world that Adam and quadratic attention are holding the field back, and then ships working alternatives, it’s worth paying attention.


Sources: Moonshot AI GTC 2026 keynote, arXiv 2602.02276, NVIDIA GTC session S81695, Navokit analysis, ChinaBizInsider coverage. August 2026.

Disclosure: CarCare Guide is reader-supported. When you buy through links on our site, we may earn an affiliate commission at no extra cost to you. Learn more.
A
Alex Chen