Motif-2-12.7B-Reasoning: 一个实践者在强化学习训练配方中的指南
Motif-2-12.7B-Reasoning: A Practitioner's Guide to RL Training Recipes
AI总结:
Motif-2-12.7B-Reasoning通过综合训练配方,在复杂推理和长上下文理解中实现性能媲美更大参数模型,提供开源模型和可扩展的推理能力蓝图。
摘要:
我们介绍了Motif-2-12.7B-Reasoning,这是一个1270亿参数的语言模型,旨在弥合开放权重系统与专有前沿模型在复杂推理和长上下文理解之间的差距。针对推理适应过程中常见的模型崩溃和训练不稳定问题,我们提出了一种全面且可复现的训练配方,涵盖了系统、数据和算法优化。我们的方法结合了使用混合并行性和内核级优化的内存高效基础设施,以支持64000个token的上下文,同时采用两阶段监督微调(SFT)课程,通过经过验证的对齐合成数据缓解分布不匹配问题。此外,我们详细介绍了一个稳健的强化学习微调(RLFT)流程,通过难度意识的数据过滤和混合策略轨迹重用来稳定训练。实验结果表明,Motif-2-12.7B-Reasoning在数学、编程和代理基准测试中表现与参数数量显著更大的模型相当,为社区提供了一个具有竞争力的开源模型和一个在现实计算约束下扩展推理能力的实用蓝图。
英文摘要:
We introduce Motif-2-12.7B-Reasoning, a 12.7B parameter language model designed to bridge the gap between open-weight systems and proprietary frontier models in complex reasoning and long-context understanding. Addressing the common challenges of model collapse and training instability in reasoning adaptation, we propose a comprehensive, reproducible training recipe spanning system, data, and algorithmic optimizations. Our approach combines memory-efficient infrastructure for 64K-token contexts using hybrid parallelism and kernel-level optimizations with a two-stage Supervised Fine-Tuning (SFT) curriculum that mitigates distribution mismatch through verified, aligned synthetic data. Furthermore, we detail a robust Reinforcement Learning Fine-Tuning (RLFT) pipeline that stabilizes training via difficulty-aware data filtering and mixed-policy trajectory reuse. Empirical results demonstrate that Motif-2-12.7B-Reasoning achieves performance comparable to models with significantly larger parameter counts across mathematics, coding, and agentic benchmarks, offering the community a competitive open model and a practical blueprint for scaling reasoning capabilities under realistic compute constraints.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。