Vibeleaderboard
← All Intel
Intel / article

MiMo-V2-Flash: hybrid attention, MTP and multi-teacher distillation

Source
huggingface.co
Publisher
Xiaomi
Author
Xiaomi MiMo
Date

Context

MiMo-V2-Flash is Xiaomi's attempt to make long agent sessions cheaper to run, released as open weights in December 2025. It is a model, meaning only some of its internal expert networks run for each token: 15 billion of its 309 billion parameters, according to the announcement. The bigger change is in attention, the step where the model looks back over earlier text. As it reads, a model keeps a working memory of every earlier token, called the , and that memory grows with the length of the . The model card describes stacks of five sliding-window layers, which look back only 128 tokens, followed by one global layer that sees the whole context of up to 256K tokens. Xiaomi says this cuts KV-cache storage by nearly six times, and credits a learnable adjustment inside the attention calculation, which it calls an attention sink bias, with preserving long-context performance despite the narrow window.

Two further pieces target speed and training. A small multi-token prediction module, 0.33 billion parameters per block, drafts upcoming tokens that the main model then checks in one pass, which Xiaomi says triples generation speed; the announcement puts output at 150 tokens per second with day-one support in the SGLang serving engine. For post-training, Xiaomi describes multi-teacher on-policy distillation, in which specialist teacher models grade every token of answers the student wrote itself, followed by reinforcement learning on more than 100,000 verifiable coding tasks built from real GitHub issues.

Xiaomi's own results put the model level with the leading open models on fixing real repository bugs, not with the closed frontier. On it reports 73.4, against 73.1 for DeepSeek-V3.2 Thinking and 71.3 for Kimi-K2 Thinking, but 77.2 for Claude Sonnet 4.5 and 76.2 for Gemini 3.0 Pro in the same table. It trails DeepSeek-V3.2 on Terminal-Bench 2.0, 38.5 against 46.4. Those are Xiaomi's runs, and the technical report was not readable here. The efficiency case is clearer than the leaderboard case: DeepSeek-V3.2 activates 37 billion parameters per token in Xiaomi's comparison table, more than twice Flash's 15 billion. Xiaomi kept hybrid sliding-window attention in its later V2.5 models and has described how it serves that design.

Terms in this piece · Glossary
  • mixture-of-experts — A model built from many specialist sub-networks where only a few activate per token, giving big-model capability at small-model running cost.
  • KV cache — The memory a model keeps about text it has already read, so generating each new token doesn't require reprocessing the whole conversation.
  • Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
  • SWE-bench — The standard benchmark for AI coding agents: real GitHub issues from real repositories, scored by whether the agent's patch passes the project's own tests.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source huggingface.co
More from Xiaomi MiMo
Recommended reads