Training

Pinned sources MiMo‑V2.6 report (XiaomiMiMo/MiMo‑V2.6‑Pro‑RL @ b61f218) · model card at the same revision · no training code is published

  1. Start of training
  2. Pre‑training, text27T32→256KNTPMTPWhat trains: allMTP blocks
  3. Start of the encoder’s training
  4. Vision encoderMiMo-ViT4Tnot statedCaptionWhat trains: ViT + small LMnot stated: context
  5. MiMo-ViT
  6. Pre‑training, omnitext, vision, audio3T32→256KNTPMTPWhat trains: all+ encoders
  7. Base model
  8. Mid‑training 256Kagent-centricnot stated256KNTPWhat trains: allMXFP4not stated: tokens
  9. Mid‑training 1Mthe last of mid-trainingnot stated1MNTPWhat trains: allnot stated: tokens
  10. SFTa short stagenot statednot statedSFTnot statednot stated: tokens, context, what trains
  11. Mixed RLone run, 30 stepsnot statedup to 1MGRPOWhat trains: not routernot stated: tokens
  12. On‑policy distillationMOPD2not statednot statedOPDmany teachers, prefixesnot statednot stated: tokens, context, what trains
  13. MiMo-V2.6-Pro-RL
  • tokens, log scale
  • NTPdashed: concluded, no source names it
  • not stated by the sources
  • the architecture changes
  • checkpoint
  • checkpoint, weights published

Mixed RL

×

One RL run over coding, tool use, design, context following and security: GRPO on 1,568 prompts with 16 rollouts each per step, rollouts up to 1M tokens, with the MoE router frozen.

GRPO, group relative policy optimization

For each prompt the model writes a group of answers; each is scored and compared with the group’s mean, and the model is moved toward the answers above it, by a step clipped near the policy that wrote them and with a penalty for leaving a reference model.

L(θ)=−1∑i∣oi∣∑i=1G∑t=1∣oi∣ri,tMi,tAilog⁡πθ(oi,t∣q,oi,<t)\mathcal L(\theta)=-\frac{1}{\sum_i|o_i|}\sum_{i=1}^{G}\sum_{t=1}^{|o_i|}r_{i,t}M_{i,t}A_i\log\pi_\theta(o_{i,t}\mid q,o_{i,<t})

MiMo-V2.6 report, eq. 1, for one prompt

What the letters mean

oio_i: one of GG rollouts for the prompt qq, from the rollout policy; ri,tr_{i,t}: the stop-gradient ratio of the trained policy’s probability of token tt to the rollout policy’s; Mi,tM_{i,t}: the clip mask, 0 where the ratio leaves its bound for the advantage’s sign; AiA_i: the rollout’s advantage, from the group’s rewards (graded groupwise on code tasks, adjusted for length). Minimized.

Batch
1,568 prompts × 16 rollouts per step
Steps
30
Tasks
coding 68%, design 13%, tool use 12%
Rewards
groupwise grading on code tasks
Router
frozen

Why

A large batch scales over GPUs and amortizes rebuilding each interrupted rollout’s cache after an update. MiMo-V2.6 report §4.1, p. 9

Many tasks and harnesses in one run let capabilities transfer between them. MiMo-V2.6 report §5.3, p. 23

With a trainable router the expert load collapsed within 20 steps while the experts’ weights stayed sound; freezing it keeps the load flat. MiMo-V2.6 report §5.4, p. 23

What the terms meanRollout · Harness, scaffold
Rollout
A response the policy writes during reinforcement learning, tool calls included, to be scored.
Harness, scaffold
The program an agent model runs in: its tools, its prompts and how the turns of a task are run.
All settings9
Algorithm
GRPO (eq. 1): a per-token, stop-gradient importance ratio to the rollout policy, a clip mask with separate bounds for positive and negative advantages (both starting at [0.2, 5.0], tuned at runtime from the policy’s entropy), averaged per prompt
Batch
1,568 prompts × 16 rollouts, 25K trajectories and 2.7B–3.7B tokens per step; asynchronous partial rollouts at a staleness of 4
Steps
30, in 123.1 hours
Tasks
Agentic and competitive coding 68%, general tool use 12%, aesthetic design 13%, context following 3%, cyber security 4%, over several agent harnesses
Rewards
For code-agent tasks, groupwise agentic grading: test outcomes fused with rubric scores built from contrasting rollouts (GRS), or advantage moved toward higher-quality passing solutions (GAR); for all tasks, a group-relative length penalty and segment-level penalties for format and tool-call errors
Optimizer
Muown, learning rate 3 × 10⁻⁶ with no weight decay or warm-up, gradient clipping at 1.0; Muon part with momentum 0.95 (Nesterov), 10 Newton–Schulz iterations, update scale 0.5; Adam part with β₁ = β₂ = 0.95, ε = 10⁻⁸
Router
Frozen for RL: a trainable router drifted into expert-load collapse within 20 steps
Context
Rollouts at context lengths of up to 1M
Cost
$2.6M; DeepSWE v1.1 average@3 from 58.4 to 72.6 over the run
Sources13