[论文解读] Kimi k1.5: Scaling Reinforcement Learning with LLMs
Kimi k1.5 通过 使用 reinforcement learning 的多模态 LLM,结合 long-context 和 long-CoT 推理,在数学、编码和视觉基准测试上达到最先进的性能,并引入 long2short 技术。
Language model pretraining with next token prediction has proved effective for scaling compute but is limited to the amount of available training data. Scaling reinforcement learning (RL) unlocks a new axis for the continued improvement of artificial intelligence, with the promise that large language models (LLMs) can scale their training data by learning to explore with rewards. However, prior published work has not produced competitive results. In light of this, we report on the training practice of Kimi k1.5, our latest multi-modal LLM trained with RL, including its RL training techniques, multi-modal data recipes, and infrastructure optimization. Long context scaling and improved policy optimization methods are key ingredients of our approach, which establishes a simplistic, effective RL framework without relying on more complex techniques such as Monte Carlo tree search, value functions, and process reward models. Notably, our system achieves state-of-the-art reasoning performance across multiple benchmarks and modalities -- e.g., 77.5 on AIME, 96.2 on MATH 500, 94-th percentile on Codeforces, 74.9 on MathVista -- matching OpenAI's o1. Moreover, we present effective long2short methods that use long-CoT techniques to improve short-CoT models, yielding state-of-the-art short-CoT reasoning results -- e.g., 60.8 on AIME, 94.6 on MATH500, 47.3 on LiveCodeBench -- outperforming existing short-CoT models such as GPT-4o and Claude Sonnet 3.5 by a large margin (up to +550%).
研究动机与目标
- 将 LLMs 的强化学习扩展作为超越静态数据集的新数据增长轴。
- 开发并验证长上下文 RL(高达 128k tokens)以及对 LLMs 的改进策略优化。
- 提出一个简单的 RL 框架,避免蒙特卡罗树搜索、值函数和过程奖励模型。
- 建立多模态训练(文本与视觉)和数据配方,以提升跨模态推理。
- 引入 long2short 技术,将 long-CoT 推理的优势转移到 short-CoT 模型。
提出的方法
- 将上下文长度扩展到 128k tokens,并使用部分 rollouts 以重用轨迹提高训练效率。
- 应用 online mirror descent 的一种变体,用于带 KL 正则化项的鲁棒策略优化。
- 引入长度惩罚以控制过长的 CoT 推理,同时保持正确性。
- 策划一个具有多样性、难度平衡且可准确评估的 RL 提示集,以降低 reward hacking。
- 利用奖励模型(Chain-of-Thought RM)以及测试用例/验证信号进行反馈;在 RL 之前部署 long-CoT 监督微调。
- 使用多模态数据(文本和视觉)进行训练,并实现 long2short 策略(模型合并、最短拒绝采样、DPO,以及 long2short RL)。
实验结果
研究问题
- RQ1将 RL 与长上下文 LLMs 结合扩展,是否能在跨领域的复杂推理中带来收益?
- RQ2长-CoT RL 是否在不依赖 MCTS 或显式值函数的情况下提升类计划推理?
- RQ3在受限的 token 预算下,long2short 转移在获得强劲的 short-CoT 性能方面有多有效?
- RQ4在与 LLMs 的 RL 中,有哪些鲁棒的数据和奖励信号实践可用于缓解 reward hacking?
- RQ5多模态训练数据和视觉-语言对齐如何影响跨模态推理能力?
主要发现
- long-CoT RL 方法在多项基准和模态上达到最先进的推理水平,例如 AIME 77.5、MATH 500 96.2、Codeforces 94 分位数、MathVista 74.9,与 OpenAI o1 相当。
- long-CoT 框架同样产生最先进的 short-CoT 结果,例如 AIME 60.8、MATH500 94.6、LiveCodeBench 47.3,超越 GPT-4o 与 Claude Sonnet 3.5 高达 550%。
- 一个简化的 RL 框架,结合长上下文扩展和改进的策略优化,可以在没有蒙特卡罗树搜索或值函数的情况下实现强大的性能。
- 长上下文激活(在预训练中高达 131,072 tokens)和部分 rollouts 使得 RL 与 LLMs 的扩展更高效。
- Long2short 方法通过模型合并、最短拒绝采样、DPO,以及基于 RL 的方法等技术,有效地将 planning 偏好从 long-CoT 转移到 short-CoT 模型。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。