TL;DR
Kimi k1.5 is a multimodal language model trained with reinforcement learning (RL) instead of only next-token prediction. Its report argues that two things make RL work at scale: a very long context (up to 128k tokens) that lets the model learn to search through long chains of thought, and a simple policy-optimisation rule that needs no value network, tree search or process reward model. The authors report results that match OpenAI's o1 on several reasoning benchmarks.
Builds on: Proximal Policy Optimization (PPO), Chain-of-Thought Prompting, Reward Model · Leads to: later open reasoning models trained with RL on verifiable answers, which often reuse the same ideas of long rollouts, length control and simple rewards
Why it mattered
Before this report, next-token pretraining was the main way to scale language models, and the authors note it is limited by the amount of high-quality text available. RL offers a different source of training signal: the model generates its own attempts and learns from whether they succeed. The report matters because it reports the recipe in detail: how prompts are chosen, how rewards are computed for math and code, how long responses are controlled, and how the training system is organised. It also shows that a short-chain model can gain a great deal from the long-chain model through distillation-like methods. The headline figures are 77.5 on AIME 2024 and 96.2 on MATH-500 for the long-chain model, and 60.8 on AIME 2024 and 94.6 on MATH-500 for the short-chain model.
History
The idea of learning to reason with reinforcement learning on language models was not new. Reinforcement learning from human feedback had already shaped instruction-following models such as InstructGPT (2022). Chain-of-thought prompting (2022) had shown that writing out intermediate steps improves answers. What Kimi k1.5 adds is a claim that these steps can be learned through RL at a scale where the context window itself becomes a scaling axis, which the authors tie to the scaling laws of Kaplan et al. and Hoffmann et al. in their introduction.
The problem
The authors want an RL setup in which the model learns to think before answering, rather than just following a fixed prompt. Three obstacles stand in the way:
- Long reasoning is expensive. A chain of thought that runs to tens of thousands of tokens is slow to generate, and a training batch of such rollouts can block the whole system.
- Verifying answers is hard. A reward is only useful if it is reliable. Math answers can be written in many equivalent forms, code needs tests, and some questions have answers that can be guessed.
- Overthinking. As RL training goes on, responses grow longer. The authors observe this and treat it as a cost in training and at inference time.
The report's answer is a set of choices in four areas: which prompts to train on, how to optimise the policy, how to control length, and how to run the system fast enough.
How it works
The walkthrough follows one training iteration for one math problem.
- Pick a prompt. The training set is curated so that it spans many disciplines, mixes difficulties, and has answers that a verifier can check. Each prompt gets a difficulty score: the pass rate of an SFT model over 10 samples at a high temperature. A prompt the model solves 3 times out of 10 has difficulty score 0.3, so it is harder than one solved 9 times out of 10.
- Sample rollouts. The current policy writes responses to the problem. Each response is a long chain of thought followed by a final answer. If a response runs past the token budget for this iteration, it is saved to a replay buffer and continued in the next iteration (partial rollouts), so no single long answer blocks the workers.
- Score each response. A reward is 1 if the answer is correct and 0 otherwise. Where a rule cannot check the answer, a reward model judges whether the final answer matches the reference. For code, generated test cases are run against the submitted program.
- Adjust the reward for length. Among the responses, correct ones get a bonus when they are shorter than the others, and wrong ones get a penalty when they are longer. (Details in the math section.)
- Form a baseline and update. The mean reward of the responses is used as a baseline. Each response is pushed up or down by how far its reward is from that mean. The policy is updated with this signal, and the current model becomes the reference for the next iteration.
- Repeat with a curriculum. Early training favours easier problems, moving gradually to harder ones (curriculum sampling). Then prioritised sampling draws each problem with probability proportional to one minus its success rate, so the training effort goes to the weakest areas.
flowchart LR P[Prompt with<br/>difficulty score] --> R[k sampled chains of thought] R --> S[Reward: 1 if correct, 0 if not] S --> L[Length reward added] L --> B[Subtract mean reward] B --> U[Policy update] U -. next iteration .-> R R -. unfinished rollouts .-> BUF[(Replay buffer)] BUF -. continue .-> R
Read the diagram as a loop. The dotted edges are the two parts of the system that keep it fast: unfinished long responses are stored and resumed, and the update is always taken against a reference that is one iteration old.
The math
Step 1 in symbols: the objective
Training data is a set of problems with reference answers . The policy writes a chain of thought and then an answer . A reward is 1 when the answer is correct and 0 otherwise. The plain objective is to maximise the expected reward:
Here is the average over problems and sampled responses. The authors do not optimise this directly. They use a regularised version that keeps the policy close to the previous one.
Step 2 in symbols: the regularised step
At iteration , the current model becomes the reference. The step solves
where sets how strongly the new policy is pulled back towards the reference, and the Kullback–Leibler Divergence measures how far the two distributions differ. This problem has a closed-form solution, which the authors turn into a squared-error surrogate loss. They replace the normalising term with the mean reward of samples from the reference, which the authors report works well in practice, and the gradient becomes
The first term is a Policy Gradient with the mean reward as baseline: responses with above-average reward are reinforced and those below it are discouraged. The second term keeps the update close to the reference. The authors note that the gradient is the usual on-policy regularised policy gradient, extended to samples drawn from the previous policy.
Step 4 in symbols: the length reward
Let be the length of response among the samples, with and the shortest and longest. If they are equal, the length reward is 0. Otherwise
The shortest response gets , the longest gets , and the middle gets 0. Correct answers are pushed towards short length; wrong answers are penalised only when they are long. The paper adds this term to the ordinary reward with a weight, and it switches the length penalty on after an initial phase without it, because the penalty slowed early training.
Worked examples
A problem is sampled times. The rewards are .
- The mean reward is .
- The centred signal for each response is : .
- The two correct responses get a positive push, the two wrong ones a negative push, and both pushes have the same size.
- Notice that no value network was needed to get these numbers: the baseline is the group's own mean.
Interpretation: a response is reinforced only relative to its siblings. If all four are correct, every centred signal is 0 and nothing is learned from that problem, which is why the prompt curriculum tries to avoid trivial prompts.
Four responses to one problem have lengths 100, 200, 300 and 300 tokens. Responses 1 and 2 are correct, responses 3 and 4 are wrong. So and .
- Response 1 (length 100, correct): . Reward is .
- Response 2 (length 200, correct): . Reward is .
- Response 3 (length 300, wrong): . Because it is wrong, the reward is .
- Response 4 is the same as response 3, so it also gets .
- Among the correct answers, the short one gets the bonus; among the wrong answers, only the long ones are penalised.
Interpretation: the length term is a tie-breaker that prefers the shortest correct answer, not a general brevity push.
Three problems have observed success rates , and . The paper samples problems in proportion to .
- Weights: , , .
- Total weight: .
- Probabilities: , , .
- The hardest problem is drawn about nine times as often as the easiest one ().
Try it: Four problems have success rates , , and . What is the probability of drawing the problem with success rate ? Answer: the weights are , which sum to , so the probability is .
Results
The authors report results from their Table 2 (long-chain model) and Table 3 (short-chain model). Figures are the paper's, and models are compared as the paper reports them.
| Benchmark | Kimi k1.5 long-CoT | OpenAI o1 | QwQ-32B Preview | Other |
|---|---|---|---|---|
| MATH-500 (EM) | 96.2 | 94.8 | 90.6 | |
| AIME 2024 (Pass@1) | 77.5 | 74.4 | 50.0 | |
| Codeforces (percentile) | 94 | 94 | 62 | |
| LiveCodeBench (Pass@1) | 62.5 | 67.2 | 40.6 | |
| MathVista-Test (Pass@1) | 74.9 | 71.0 | QVQ-72B 71.4 |
| Benchmark | Kimi k1.5 short-CoT | Claude-3.5-Sonnet-1022 | GPT-4o-0513 | DeepSeek V3 |
|---|---|---|---|---|
| MATH-500 (EM) | 94.6 | 78.3 | 74.6 | 90.2 |
| AIME 2024 (Pass@1) | 60.8 | 16.0 | 9.3 | 39.2 |
| LiveCodeBench (Pass@1) | 47.3 | 36.3 | 33.4 | 40.5 |
| MMLU (EM) | 87.4 | 88.3 | 87.2 | 88.5 |
What they mean:
- The long-chain model leads o1 on MATH-500 and AIME 2024 in this table, but trails it on LiveCodeBench (62.5 against 67.2). It is not uniformly better.
- The short-chain model's AIME 2024 score is far above the other short-chain models in the table. Its MMLU score is close to the others, so the gain is concentrated in reasoning.
- The long2short section reports 60.8 on AIME 2024 (averaged over 8 runs) while using only 3,272 tokens on average.
- Limits: the vision-language rows in Table 3 come from the OpenCompass platform rather than the authors' own runs, and the report is a technical description, not a peer-reviewed comparison.
Common mistakes and tradeoffs
It is tempting to think that RL on language models only sharpens answers the model could already give. In fact the authors argue that the length of the chain is the quantity that scales, and the model learns planning and self-correction inside that chain, because the reward is judged only on the final answer.
It is tempting to think that a value network is required for credit assignment. The authors drop it and argue that a value function would penalise exploratory steps that eventually succeed. The price is that the method depends on the final answer being verifiable, so it does not cover open-ended tasks well.
It is tempting to think that shorter is always better. The length reward only compares responses to the same problem, and the authors treat overthinking as a cost, not as a failure of reasoning. A very aggressive length penalty would cut the search the model has learned.
When to use this recipe: problems with checkable answers (math, code with tests, questions with a single correct option that is not guessable). When not to: open-ended writing, problems without a reliable verifier, or settings where the rollouts are cheap enough that a value model would pay for itself. For the long2short step the report tests Direct Preference Optimization and Rejection Sampling as alternatives. Planning methods such as Monte Carlo Tree Search are the more complex family the authors chose not to need.
Reading guide
- Abstract and Section 1 (Introduction): the case for RL as a new scaling axis and the four ingredients. Needs Reward Model for the reward idea.
- Section 2.1 (Prompt set): difficulty from pass rates and removal of easily guessed answers. Needs Rejection Sampling for the sampling idea and Chain-of-Thought Prompting for what a chain is.
- Section 2.2 (Long-CoT SFT): a small warm-up dataset written to teach planning, evaluation and reflection. Needs Autoregressive Model for how the chain is produced.
- Section 2.3 (RL): the problem setting, the mirror-descent objective, the length penalty and sampling. Needs Policy Gradient and Kullback–Leibler Divergence.
- Section 2.4 (Long2short): model merging, shortest rejection sampling, DPO and a second RL phase. Needs Direct Preference Optimization.
- Section 2.6 (Infrastructure): partial rollouts, hybrid deployment and the code sandbox. Needs nothing new beyond the ideas above; read it as engineering.
- Section 3 (Results) and Appendix C (Evaluation): the benchmarks and how they were run. Needs Scaling LLM Test-Time Compute Optimally and DeepSeek-R1: Incentivizing Reasoning in LLMs through Reinforcement Learning for the context of long-chain reasoning models.
Recap
- RL lets a language model learn from its own rollouts, which removes the limit set by a fixed text corpus.
- The objective is expected reward, optimised through a regularised step against the previous policy, which gives a policy gradient with the group mean as baseline.
- No value network is used. Long contexts, up to 128k tokens, give the model room to search, reflect and correct inside its chain.
- Length penalties, prompt difficulty and prioritised sampling keep the chains from growing without limit and keep the training signal useful.
- Partial rollouts and a hybrid training and inference system make the long-context loop fast enough to run.
- Read next: DeepSeek-R1: Incentivizing Reasoning in LLMs through Reinforcement Learning for a parallel report on RL for reasoning, and Scaling LLM Test-Time Compute Optimally for the idea that more inference tokens can buy accuracy.
Check yourself
QuestionRecall: why does the mean reward of the group of sampled responses appear in the update, and what does it replace?Show answer
QuestionFour responses to one problem have rewards 1, 1, 0, 0. What is the centred reward of a correct response?Show answer
QuestionAmong correct responses of lengths 120, 180 and 240 tokens, with a wrong response of length 240 in the same group (so min_len is 120 and max_len is 240), what is the length reward of the correct response of length 180?Show answer
QuestionWhy does the paper use partial rollouts for long-chain training, and what does it cost to store unfinished responses?Show answer
QuestionA team wants to use the paper's recipe for a writing assistant, where answers have no checkable correct value. Which parts of the recipe still apply and which fail?Show answer
Sources
- Kimi Team, Kimi k1.5: Scaling Reinforcement Learning with LLMs, arXiv:2501.12599 — https://arxiv.org/abs/2501.12599
- Ouyang et al., Training language models to follow instructions with human feedback, arXiv:2203.02155 — https://arxiv.org/abs/2203.02155
- Wei et al., Chain-of-thought prompting elicits reasoning in large language models, arXiv:2201.11903 — https://arxiv.org/abs/2201.11903