TL;DR
Xiaomi’s LLM-Core team has unveiled MiMo-V2.6, a family of Mixture-of-Experts (MoE) models (up to 1.02T parameters) that pushes the boundaries of "self-improving" AI. By scaling reinforcement learning (RL) compute across thousands of GPUs and introducing novel "agentic grading" techniques, they’ve created a model that doesn't just solve tasks, but learns to solve them more efficiently and robustly across coding, visual, and cybersecurity domains.
What Problem Does This Paper Address?
While Large Language Models (LLMs) are impressive, reaching the next level of intelligence—Recursive Self-Improvement (RSI)—requires models to learn from their own exploration and feedback. Reinforcement Learning is the standard tool for this, but scaling RL for massive foundation models is notoriously difficult.
The authors identify three major hurdles:
- Architecture & Exploration: Models need the right "backbone" to handle massive context and a rich enough environment to explore.
- Infrastructure: Training with billions of tokens per step requires sophisticated systems to prevent crashes and manage data.
- Reward Quality: Simple "pass/fail" rewards are too coarse. If a model solves a coding problem with a messy, inefficient "hack," a binary reward still gives it a thumbs up. We need rewards that distinguish between "correct" and "high-quality."
Methods
MiMo-V2.6 utilizes a hybrid sparse MoE Transformer architecture that interleaves Local Sliding Window Attention (SWA) with Global Attention (GA). This allows the model to maintain global context while keeping computational costs manageable for context lengths up to 1M tokens.
The core of their RL approach involves scaling along three dimensions:
- Massive Throughput: They use fully asynchronous training, processing batches of 1,568 prompts (roughly 25K sequences) and up to 3.7B tokens per step.
- Groupwise Agentic Grading: This is a standout feature. Instead of just checking if a solution passes a test, they use Groupwise Reward Synthesis (GRS) and Groupwise Advantage Redistribution (GAR). By comparing multiple solutions to the same prompt, the system can reward the most efficient and elegant trajectories, effectively "steering" the model away from verbose or brittle solutions.
- Stability Measures: To prevent the training from collapsing at this scale, they freeze the MoE router (Figure 11) and implement a multi-layer defense against "reward hacking"—where the model finds unintended shortcuts to get a high score without actually solving the task.
Datasets
The models underwent a massive multi-stage training process:
- Pre-training: A multimodal corpus spanning text, vision, and audio (up to 48T tokens for the Flash model).
- Mid-training: An agent-centric mixture of realistic trajectories across coding, visual, and research tasks.
- RL Environments: The authors scaled RL across diverse domains including:
- Coding: DeepSWE v1.1, SWE-Bench Pro, and the internal MiMo Code Bench.
- General Workflows: AutomationBench v1.0.6.
- Visual Design: MiMo Visual Coding (web development and Image2Code).
- Cybersecurity: MiMo Cyber Bench (vulnerability reproduction).
Key Insights and Ideas
- The "Router Drift" Problem: The authors discovered that letting the MoE router update during RL leads to "load collapse," where a few experts are overworked while others go "cold." Freezing the router parameters from the SFT stage kept the expert load balanced and training stable.
- Adversarial "Hack Agents": To combat reward hacking, they deployed dedicated agents to find exploits in their own training environments before RL began. This iterative scrubbing significantly reduced the model's ability to "cheat" for rewards (Figure 6).
- Disaggregated Infrastructure: Handling 3.7B tokens per step is a memory nightmare. They decoupled the control plane (scheduling) from the data plane (storing heavy payloads like MoE routing data and images), allowing them to scale batch sizes without hitting the memory limits of a single driver node.
Key Results
The MiMo-V2.6 series shows consistent, linear improvement across all benchmarks as RL compute scales.
- MiMo-V2.6-Pro (1.02T parameters): Improved its DeepSWE score from 58.4 to 72.6 over the course of RL training.
- Competitive Performance: In head-to-head comparisons (Table 3), MiMo-V2.6-Pro matches or outperforms frontier models like Claude 3.5 Opus and GPT-4o across agentic benchmarks.
- Efficiency: Thanks to agentic grading, the RL-trained models produced smaller, more precise code patches that were easier to maintain compared to models trained with simple binary rewards.
Limitations and Future Work
Despite the successes, the authors noted that scaling to this level introduces significant hardware challenges, including GPU memory errors (DBEs) and CPU OOMs during data packing.
Future work will likely focus on:
- Recursive Self-Improvement: Further closing the loop where the model generates its own training tasks and verifiers.
- Open-Domain RL: Improving rewards for tasks where "correctness" is subjective (e.g., creative writing or open-ended research).
- Distillation: The authors have already released a 9B distilled version to the community, suggesting that transferring these "big model" gains to smaller, more deployable models is a high priority.
Summary updated