MiniMax-M1:利用闪电注意力高效扩展测试时计算

MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attention

闫俊杰 Junjie Yan · MiniMax · 2025-06-16 · arXiv:2506.13585 ↗ · 被引 185

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

我们推出了 MiniMax-M1,这是全球首个开源的大规模混合注意力推理模型。MiniMax-M1 采用混合专家(MoE)架构与闪电注意力机制,基于之前的 MiniMax-Text-01 模型开发,总参数量 4560 亿,每个 token 激活 459 亿参数。M1 原生支持 100 万 token 的上下文长度,是 DeepSeek R1 的 8 倍。此外,MiniMax-M1 中的闪电注意力机制能够高效扩展测试时计算,使其特别适合需要处理长输入和深度思考的复杂任务。MiniMax-M1 通过大规模强化学习(RL)在包括沙盒环境和真实软件工程环境在内的多样化问题上进行训练。除了 M1 在 RL 训练中固有的效率优势外,我们提出了 CISPO,一种新的 RL 算法,通过裁剪重要性采样权重而非 token 更新,进一步提升了 RL 效率,优于其他竞争性 RL 变体。结合混合注意力和 CISPO,MiniMax-M1 的完整 RL 训练仅需在 512 块 H800 GPU 上运行三周,租赁成本仅为 53.47 万美元。我们发布了两个版本的 MiniMax-M1 模型,分别具有 40K 和 80K 的思考预算,其中 40K 模型是 80K 训练的中间阶段。在标准基准测试中,我们的模型与 DeepSeek-R1 和 Qwen3-235B 等强开源模型相当或更优,在复杂软件工程、工具使用和长上下文任务中表现尤为突出。我们已在 https://github.com/MiniMax-AI/MiniMax-M1 公开发布 MiniMax-M1。

We introduce MiniMax-M1, the world's first open-weight, large-scale hybrid-attention reasoning model. MiniMax-M1 is powered by a hybrid Mixture-of-Experts (MoE) architecture combined with a lightning attention mechanism. The model is developed based on our previous MiniMax-Text-01 model, which contains a total of 456 billion parameters with 45.9 billion parameters activated per token. The M1 model natively supports a context length of 1 million tokens, 8x the context size of DeepSeek R1. Furthermore, the lightning attention mechanism in MiniMax-M1 enables efficient scaling of test-time compute. These properties make M1 particularly suitable for complex tasks that require processing long inputs and thinking extensively. MiniMax-M1 is trained using large-scale reinforcement learning (RL) on diverse problems including sandbox-based, real-world software engineering environments. In addition to M1's inherent efficiency advantage for RL training, we propose CISPO, a novel RL algorithm to further enhance RL efficiency. CISPO clips importance sampling weights rather than token updates, outperforming other competitive RL variants. Combining hybrid-attention and CISPO enables MiniMax-M1's full RL training on 512 H800 GPUs to complete in only three weeks, with a rental cost of just $534,700. We release two versions of MiniMax-M1 models with 40K and 80K thinking budgets respectively, where the 40K model represents an intermediate phase of the 80K training. Experiments on standard benchmarks show that our models are comparable or superior to strong open-weight models such as the original DeepSeek-R1 and Qwen3-235B, with particular strengths in complex software engineering, tool utilization, and long-context tasks. We publicly release MiniMax-M1 at https://github.com/MiniMax-AI/MiniMax-M1.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 16)

阅读逐段中英对照全文 →