TL;DR
This paper introduces Kimi k1.5, a multimodal LLM trained with reinforcement learning (RL) that achieves state-of-the-art reasoning performance. By focusing on long-context scaling and improved policy optimization, they demonstrate a simpler yet effective RL framework that surpasses prior work and outperforms leading models on various benchmarks.
What Problem Does This Paper Address?
Traditional LLM scaling relies on increasing model size and training data, but this approach is limited by the finite amount of high-quality data available. Reinforcement learning offers a promising alternative by allowing LLMs to learn from rewards and explore beyond static datasets. However, previous RL-based LLM training has struggled to achieve competitive results. This paper addresses this gap by presenting a novel training methodology for Kimi k1.5 that effectively scales RL for LLMs, particularly focusing on long-context reasoning and efficient policy optimization.
Methods
The Kimi k1.5 training methodology is built upon several key innovations:
- Long Context Scaling: The model is trained with an extended context window (up to 128k tokens), which significantly improves performance. They utilize "partial rollouts" to manage the computational cost of long sequences by reusing previous trajectories.
- Improved Policy Optimization: A simplified RL framework is proposed, avoiding complex techniques like Monte Carlo Tree Search. It employs a variant of online mirror descent for robust policy optimization, enhanced by effective sampling strategies, length penalties, and data recipe optimization.
- Simplistic Framework: The combination of long context and improved policy optimization leads to a straightforward RL framework. The learned "chain-of-thought" (CoT) reasoning exhibits planning, reflection, and correction capabilities, with increased context length enabling more search steps.
- Multimodalities: Kimi k1.5 is jointly trained on text and vision data, enabling it to reason across both modalities.
- Long2Short Methods: Techniques are introduced to transfer knowledge from long-CoT models to short-CoT models, improving their efficiency and performance. This includes model merging and shortest rejection sampling.
- Infrastructure Optimization: A large-scale RL training system is developed, featuring "partial rollouts" to efficiently handle long trajectories and a hybrid deployment strategy for training and inference.
Datasets
The paper mentions the use of various datasets for pretraining and evaluation:
- Pretraining Data: A diverse, high-quality multimodal corpus covering English, Chinese, Code, Mathematics & Reasoning, and Knowledge domains. This includes text, vision-language data (captioning, image-text interleaving, OCR), and general QA data.
- Evaluation Benchmarks:
- Text: MMLU, IF-Eval, CLUEWSC, C-EVAL.
- Reasoning: HumanEval-Mul, LiveCodeBench, Codeforces, AIME 2024, MATH-500.
- Vision: MMMU, MATH-Vision, MathVista.
Key Insights and Ideas
- Context Length is King for RL Scaling: The paper strongly emphasizes that scaling the context window is a crucial dimension for improving RL performance in LLMs, even more so than simply increasing model size.
- Simplicity Can Be Powerful: By avoiding overly complex RL techniques, Kimi k1.5 demonstrates that a well-designed, simpler framework can achieve state-of-the-art results. This suggests that focusing on core RL principles and efficient implementation is key.
- Long-CoT to Short-CoT Transfer is Effective: The "long2short" methods show that the reasoning capabilities learned by long-context models can be effectively distilled into shorter, more efficient models, bridging the gap between performance and inference cost.
- Partial Rollouts are Essential for Scalability: The development of partial rollouts is a critical infrastructure innovation that makes training on very long contexts computationally feasible.
Key Results
- State-of-the-Art Reasoning: Kimi k1.5 achieves top performance on numerous benchmarks:
- 77.5 on AIME 2024 (Pass@1)
- 96.2 on MATH 500 (EM)
- 94-th percentile on Codeforces
- 74.9 on MathVista (matching OpenAI's o1)
- Improved Short-CoT Models: The long2short methods yield state-of-the-art short-CoT reasoning results, outperforming models like GPT-4o and Claude Sonnet 3.5 by a significant margin (up to +550% in some cases). For example, 60.8 on AIME 2024 and 94.6 on MATH500.
- Efficient Token Usage: The Kimi k1.5 series models demonstrate superior token efficiency compared to other models, particularly in the long2short setting.
Limitations and Future Work
- Overthinking and Token Efficiency: While RL training improves performance, it can lead to excessively long responses ("overthinking"), increasing computational cost. The paper introduces length penalties to mitigate this, but further improvements in token efficiency are an ongoing area of research.
- Credit Assignment in RL: The paper notes that traditional value functions for credit assignment in RL might not be ideal for complex reasoning tasks, where exploring seemingly incorrect paths can be crucial for learning. They encourage exploration to develop critical planning skills.
- Scaling RL for LLMs: The authors acknowledge that improving the efficiency and scalability of long-context RL training remains an important open question.
- Future Research: The paper suggests exploring methods to improve credit assignments and reduce overthinking without hindering model exploration abilities. Investigating the effectiveness of different policy optimization strategies is also highlighted.
Summary updated