The MiniMax-M2 Series: Mini Activations Unleashing Max Real-World Intelligence
TL;DR. The MiniMax-M2 report covers M2, M2.5 and M2.7. The model is small for its class: 229.9B total and 9.8B active parameters, 62 layers, full GQA attention (48 query / 8 KV heads), 256 experts with 8 active per token, sigmoid gating, 3 MTP modules, a 192K context, and 29.2T pretraining tokens.
The report is mostly about agents:
- data pipelines for SWE, app development, terminal and “cowork” tasks (search, office, finance);
- interleaved-thinking SFT;
- CISPO RL with dense process and speed rewards, mixed across domains;
- Forge, an agent-native RL system that trains both white-box and black-box agents.
All numbers are vendor-reported.
Key idea
Section titled “Key idea”Treat the agent harness as part of the environment. The policy emits given whatever context the harness shows it. Context management, memory and sub-agents count as environment dynamics. Training samples are individual pairs, and credit still flows at the episode level:
The policy loss is CISPO from MiniMax-M1, with IS weights clipped to .
Results and discussion. M2.7, vendor-reported:
| Area | Benchmark | Score |
|---|---|---|
| Agentic coding | SWE-bench Pro | 56.2 |
| SWE-bench Multilingual | 76.5 | |
| Multi-SWE-bench | 52.7 | |
| Terminal-Bench 2.0 | 57.0 | |
| Search | BrowseComp | 77.8 |
| Wide Search | 75.2 | |
| Cowork | GDPval-AA | 50.0 |
| Toolathlon | 46.3 | |
| Reasoning | AIME 2026 | 94.2 |
| GPQA-Diamond | 89.8 |
The comparisons are against Claude Opus 4.6, Claude Sonnet 4.6, GPT 5.4 and Gemini 3.1 Pro. Section 2.2.2 explains the return to full attention: hybrid lightning and sliding-window variants lost multi-hop reasoning and retrieval quality at scale, and the infrastructure for linear attention is less mature.
Post-training & agentic RL recipe
Section titled “Post-training & agentic RL recipe”- SWE pipeline.
- Crawl permissively licensed PRs.
- Agents synthesize multi-language Docker environments.
- Tag each PR by type.
- Build test-based rewards per type: F2P/P2P for bug fixes, newly added tests for features, stable P2P timing differences for performance work.
- Validate with a model.
- Augment: bug injection, commit merging (SWE-Smith-style), SWE-Test conversion (write a test that fails before the patch and passes after), and code-review tasks checked by a second LLM.
- App development. Agent-as-a-Verifier deploys the app and checks three layers: an execution layer (hard gate: builds, serves, no JavaScript errors), an interaction layer (Playwright-driven feature workflows), and a visual-aesthetics layer. Pass rates drive rejection sampling.
- Terminal-Gym. Tasks are synthesized from the full Stack Overflow dataset into Dockerized, verifiable terminal tasks.
- Cowork.
- Deep search: guide-and-rewrite synthesis that obscures entities.
- GDPval-anchored office deliverables.
- Finance: evidence-driven synthesis that runs real tools first and then derives tasks from the traces.
- Spreadsheets: workbook-walk synthesis.
- SFT. Interleaved thinking: reasoning is kept in the history across tool turns.
- Mixed-domain RL. Every stage draws reasoning, coding, agent and general data together. Across stages, the domain ratios shift toward agent and coding, the context length grows per domain, and difficulty increases.
Connections
Section titled “Connections”- MiniMax-M1, where CISPO came from.
- DeepSeek-V3.2, which keeps thinking across tool calls in the same way.
- GLM-5 and Kimi K3, for other asynchronous agentic-RL systems.
- RL infrastructure, asynchronous RLHF and verl/HybridFlow.
- Agentic data scaling, for SWE environment synthesis.
- Tech reports for agent builders.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
Forge throughput tricks. (a) Prefix-tree merging: a group of 8 completions shares a 20K-token prompt-plus-history prefix, and each adds 4K new tokens. How many tokens does a forward pass process with and without merging, and why is the loss unchanged? (b) Windowed FIFO: the generation queue holds N = 10 trajectories T0…T9, the head is i = 0, and W = 0.3N. T0 is still running; T1, T2 and T5 have finished. Which can the trainer fetch now, and what happens when T0 finishes?
What a strong answer covers
- (a) Without merging: 8 × (20K + 4K) = 192K tokens. With merging: 20K + 8 × 4K = 52K tokens, about 3.7× fewer. The report quotes speedups of up to 40× on its workloads.
- Causal attention gives identical prefix activations whether the prefix is computed once or k times. The tree is split back into samples before the loss, so the result is mathematically equivalent to independent-sample training.
- (b) W = 3, so the window is [T0, T2]. The trainer may fetch T1 and T2 (greedy within the window) but not T5, which is beyond it.
- When T0 finishes and is consumed, the window advances. W trades distributional consistency (strict FIFO, W = 1) against throughput (greedy, W = N). Greedy fetching biases batches toward short, fast trajectories.
- Mechanism
M2 trains with CISPO using IS weights clipped to [0, 1+ε_high], a reward-to-go advantage, and per-step rewards r_t = α·r_process + β·r_speed + r_perf. Each (s_t, a_t) pair is its own training sample. Explain why each choice suits long agent trajectories with context management.
What a strong answer covers
- Clipping to [0, 1+ε_high]: the upper bound limits large updates. A lower bound of 0 lets actions that became improbable be down-weighted aggressively. As in M1, no token's gradient is dropped entirely by PPO-style clipping.
- Reward-to-go minus a trajectory baseline credits each action only with rewards that come after it, which lowers variance over trajectories of up to 192K tokens with thousands of actions.
- Process rewards penalize language mixing and tool-format errors and reward well-structured reasoning. The speed reward h(T_completion/T_baseline) decreases with wall-clock time and encourages parallel tool calls and sub-agents.
- (s_t, a_t) samples mean the policy does not need to know whether s_t came from appending, truncating or rewriting the history. This is how black-box agents with their own context management can be trained.
- Critique
MiniMax-Text-01 and M1 used lightning (linear) attention; M2 returns to full GQA attention. Summarize MiniMax's stated reasons and judge whether they generalize, given that Kimi K3 (KDA) and DeepSeek-V3.2 / GLM-5 (DSA) chose efficient attention.
What a strong answer covers
- Evaluation difficulty: hybrid models matched full attention on MMLU, BBH, MATH and LongBench, but at scale they showed deficits in complex multi-hop reasoning. Proxy metrics correlated only weakly with downstream performance.
- Hybrid sliding-window variants trained for hundreds of billions to trillions of tokens degraded retrieval, multi-hop reasoning and in-context learning, and the gap widened after SFT.
- Infrastructure: linear attention is memory-bound, sensitive to low precision, lacks native prefix caching (which matters for RL rollouts with shared prefixes) and has unclear speculative-decoding support.
- Counterpoint: DSA keeps full MLA keys and selects top-k, and K3 interleaves Gated MLA with KDA. These are partial-sparsity designs, and the reports claim parity. MiniMax's finding is about its specific variants and benchmarks, and it expects sub-quadratic attention to matter more later.