Kimi k1.5: Scaling Reinforcement Learning with LLMs
TL;DR. Kimi k1.5 is Moonshot AI’s report on RL for a multimodal long chain-of-thought model, released the same day as DeepSeek-R1. It reaches similar reasoning scores with a different recipe: a 128K-token RL context made affordable by partial rollouts, a critic-free update derived from online mirror descent, sampling strategies for curriculum, a length reward against overthinking, and “long2short” methods that transfer long-CoT skill into short, cheap answers.
Key idea
Section titled “Key idea”Policy update. Each iteration solves a KL-regularized problem against the previous policy:
Taking logs of the closed form gives for every sample. The paper fits to this with a squared loss, approximates by the mean reward of the samples, and gets the gradient
This is REINFORCE with the group-mean baseline (as in GRPO without the std, or RLOO), plus a squared log-ratio penalty instead of clipping. In the running example with rewards , the weights are and , the same as Dr. GRPO. There is no value network, and the optimizer is reset each iteration.
Length reward. Within a group, with , correct answers get and wrong ones get . The shortest correct answer gets , the longest , and wrong answers are only ever penalized. It is switched on after a warm-up phase, since it slowed early training.
Other pieces. Partial rollouts cap how much of a long trajectory is generated per iteration and continue it later, so one very long answer does not stall a batch. Curriculum sampling goes from easy to hard, and prioritized sampling draws problem in proportion to , where is its success rate. A chain-of-thought reward model for math answers agreed with manual spot checks 98.5% of the time, versus 84.4% for a classic reward model.
Results (vendor-reported). The long-CoT model reports AIME 77.5, MATH-500 96.2, the 94th percentile on Codeforces and MathVista 74.9. The short-CoT model reports AIME 60.8, MATH-500 94.6 and LiveCodeBench 47.3. The long2short RL variant is shown as the most token-efficient of the long2short methods (Fig. 7). Ablations report that a smaller model with longer chains of thought can match a larger one, that training with negative gradients is more sample-efficient than ReST-style filtering (training only on correct samples, as in STaR), and that curriculum sampling helps. The linked GitHub repository hosts the report, not training code, and the comparisons are single runs, so the numbers are hard to reproduce independently.
Connections
Section titled “Connections”- Concurrent and closest: DeepSeek-R1.
- The same mean-reward baseline: DeepSeekMath / GRPO, RLOO, Dr. GRPO.
- The critic counter-argument: VAPO.
- Other ways to handle long or truncated answers: DAPO; length as a hacking channel: Length correlations.
- Filtered self-training it compares against: STaR.
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
Kimi k1.5 adds a length reward λ = 0.5 − (len − min_len)/(max_len − min_len) to correct answers and min(0, λ) to wrong ones. For a group with lengths 1,000 (correct), 3,000 (correct), 2,000 (wrong) and 5,000 (wrong) tokens, compute each length reward and the total reward with weight 1. Which behavior does it push hardest against?
What a strong answer covers
- min_len 1,000, max_len 5,000, range 4,000. λ: 0.5, 0, 0.25, −0.5.
- Correct answers get λ: +0.5 and 0. Wrong answers get min(0, λ): 0 and −0.5.
- Totals with weight 1: 1.5, 1.0, 0, −0.5. The short correct answer is preferred over the long correct one, and the long wrong answer is pushed below the short wrong one.
- Wrong answers are never rewarded for being short (min with 0), so the model cannot gain by giving up quickly.
- The reward is relative to the group, so it shrinks lengths only relative to other samples; the paper warms it up after an initial phase because it slowed early training.
- Mechanism
Kimi k1.5 maximizes reward minus τ·KL to the previous policy, writes the closed-form optimum, and turns it into a squared-loss surrogate. Explain how the gradient ends up as a policy gradient with the mean group reward as baseline plus an l2 penalty, and how this compares with GRPO.
What a strong answer covers
- The optimum is π* ∝ π_old · exp(r/τ), so for any sample r − τ log Z = τ log(π*/π_old). The surrogate is the squared gap between the two sides with π_θ in place of π*.
- τ log Z is estimated by the mean reward of the k samples, which is exact as τ grows; this is the same group-mean baseline as GRPO.
- The gradient is (1/k) Σ [∇log π (r − r̄) − (τ/2)∇(log π/π_old)²]: a REINFORCE term plus a squared log-ratio penalty, instead of PPO-style clipping and a KL term.
- Differences from GRPO: no std division, no ratio clipping, the samples come from the previous iterate (mildly off-policy), and the optimizer is reset each iteration.
- Critique
The paper argues against a value function: a wrong reasoning step that the model later recovers from would get a negative advantage, yet exploring it is valuable. Assess this argument, and design an experiment that would test whether a critic actually hurts long chain-of-thought RL.
What a strong answer covers
- If the final answer is correct, an accurate critic gives the recovered trajectory a positive total advantage; only the step where value dropped gets negative credit, which is arguably correct credit assignment.
- Sequence-level rewards with a mean baseline credit every token equally, including the wrong step, which teaches "detour then recover" as a whole pattern.
- The practical case against critics is cost and bias on long sequences; VAPO shows that a pretrained, decoupled critic can beat critic-free methods.
- Experiment: same base, data and compute, compare mean-baseline training with a well-trained critic (λ = 1 for the critic), and measure accuracy plus the rate of self-correction in successful answers.