Abstract
We present MiMo-V2-Flash, a Mixture-of-Experts (MoE) model with 309B total parameters and 15B active parameters, designed for fast, strong reasoning and agentic capabilities. MiMo-V2-Flash adopts a hybrid attention architecture that interleaves Sliding Window Attention (SWA) with global attention, with a 128-token sliding window under a 5:1 hybrid ratio. The model is pre-trained on 27 trillion tokens with Multi-Token Prediction (MTP), employing a native 32k context length and subsequently extended to 256k. To efficiently scale post-training compute, MiMo-V2-Flash introduces a novel Multi-Teacher On-Policy Distillation (MOPD) paradigm. In this framework, domain-specialized teachers (e.g., trained via large-scale reinforcement learning) provide dense and token-level reward, enabling the student model to perfectly master teacher expertise. MiMo-V2-Flash rivals top-tier open-weight models such as DeepSeek-V3.2 and Kimi-K2, despite using only 1/2 and 1/3 of their total parameters, respectively. During inference, by repurposing MTP as a draft model for speculative decoding, MiMo-V2-Flash achieves up to 3.6 acceptance length and 2.6x decoding speedup with three MTP layers. We open-source both the model weights and the three-layer MTP weights to foster open research and community collaboration.
Introduction
Scaling Large Language Models (LLMs) for complex reasoning and autonomous "agentic" tasks faces two major bottlenecks: computational efficiency and the "see-saw" effect in post-training. Standard global attention's quadratic complexity makes long-context processing prohibitively expensive. Furthermore, traditional fine-tuning often suffers from trade-offs where improving one skill (like math) causes regressions in others.
Xiaomi’s MiMo-V2-Flash addresses these challenges. It is a 309B parameter Mixture-of-Experts (MoE) model that achieves state-of-the-art reasoning and agentic performance while using significantly fewer active parameters (15B) than its competitors. By combining a hybrid sliding-window attention architecture with a novel Multi-Teacher On-Policy Distillation (MOPD) training paradigm, it rivals models like DeepSeek-V3.2 and Kimi-K2 while delivering a 2.6x inference speedup via speculative decoding.
Architecture and Methodology
The technical foundation of MiMo-V2-Flash rests on three primary architectural and training innovations.
Hybrid Sliding Window Attention (SWA)
Instead of employing global attention at every layer, MiMo-V2-Flash interleaves Sliding Window Attention (with a 128-token window) and Global Attention at a 5:1 ratio. To mitigate performance degradation from this aggressive windowing, the model utilizes learnable attention sink biases. These allow the model to "park" unnecessary attention scores, maintaining nearly 100% retrieval accuracy even at 256k context lengths. Interestingly, a 128-token SWA window was found to outperform a 512-token window, likely acting as a regularizer that forces SWA layers to handle local context while delegating long-range dependencies to global layers.
Multi-Teacher On-Policy Distillation (MOPD)
MOPD is the core post-training contribution. Rather than relying on static datasets, the authors train a suite of specialized teachers (experts in coding, math, safety, etc.) via Reinforcement Learning (RL). The student model samples its own responses and receives dense, token-level rewards from these teachers. This allows the student to master diverse expertises without the typical performance trade-offs.
Multi-Token Prediction (MTP) for Speculative Decoding
The model is pre-trained to predict multiple future tokens simultaneously. During inference, these MTP layers are repurposed as a "draft model" for speculative decoding. This allows the model to verify multiple tokens in a single forward pass, drastically increasing throughput and achieving a 2.6x decoding speedup.
Evaluation and Results
MiMo-V2-Flash was pre-trained on a massive 27 trillion token corpus and evaluated across a wide range of benchmarks focusing on reasoning, coding, and long-context capabilities.
Key results include:
- State-of-the-Art Coding: MiMo-V2-Flash achieved 73.4% on SWE-Bench Verified, leading open-source models and approaching GPT-5-High performance.
- Efficiency: It rivals DeepSeek-V3.2 and Kimi-K2 despite having only 1/2 and 1/3 of their total parameters, respectively.
- Agentic Generalization: Training on agentic tasks (e.g., GitHub issue resolution) improved performance across math and general reasoning, suggesting transferable logic development.
- Long Context Mastery: The model maintained nearly 100% success in "Needle In A Haystack" tests up to 256k tokens.
Limitations and Future Work
Despite its strengths, MiMo-V2-Flash has a lower "knowledge capacity" than massive dense models due to its 15B active parameters, as seen in lower scores on factual recall tests like SimpleQA. Future work will focus on optimizing the hybrid ratio and window sizes, and scaling the "iterative co-evolution" of teachers and students in the MOPD framework to further push reasoning boundaries.
Summary updated