Stabilizing Off-policy LLM Optimization with Prefix Importance Ratio
Shiye Lei, Zhihao Cheng, Dacheng Tao
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Post-Training: RL & Distillation › Off-Policy LLM Reinforcement Learning · Type: new method · Keywords: off-policy RL, LLM post-training, importance sampling, prefix ratio, training stability
Areas: LLM Reasoning › Reasoning Optimization › Reinforcement Learning for LLMs; RL for LLMs & Agents › LLM Policy Optimization › Stable Policy Optimization
Summary
MinPRO stabilizes off-policy LLM optimization by using a minimum prefix ratio surrogate instead of token-level importance sampling, improving training stability and performance.
Explained to a 5-year-old
People teach big language models new tricks using something called reinforcement learning. To save time, they sometimes use old examples that were collected a while ago. When the old examples are very different from the new ones, the learning can become unstable. To correct this, they calculate an importance ratio that measures how different the old and new examples are. The usual method looks at each word separately to compute this ratio. However, looking at each word alone can cause problems when the difference is large. The new idea looks at the smallest difference in a group of words instead, which keeps the training steady and helps the model learn better.
Explained to a 5-year-old, longer
People teach big language models new tricks using something called reinforcement learning. To save time, they sometimes use old examples that were collected a while ago. When the old examples are very different from the new ones, the learning can become unstable. To correct this, they calculate an importance ratio that measures how different the old and new examples are. The usual method looks at each word separately to compute this ratio. However, looking at each word alone can cause problems when the difference is large. The paper points out that the correct way to compute the ratio should consider the whole prefix of words. They show that using only word-by-word ratios is just an approximation that can be unstable. To fix this, they propose a new idea that looks at the smallest ratio seen so far in the prefix. This minimum prefix ratio acts as a stable correction for the learning process. By using this simpler, non-cumulative surrogate, the training becomes smoother. As a result, the language model learns more reliably and performs better on reasoning tasks.
For a technical reader
In RL post-training, LLMs are updated using data generated by an older policy to save computation. The standard correction uses a token-level importance sampling ratio, which can become numerically unstable when the policies differ greatly. The paper shows that the theoretically correct correction is a prefix importance ratio that accounts for the cumulative effect of policy differences. To avoid instability, the authors replace the cumulative ratio with a surrogate that takes the minimum token-level ratio observed in the preceding prefix. Experiments on dense and mixture-of-experts models demonstrate that this change yields more stable training and higher final performance on reasoning benchmarks.
Problem
Off-policy reinforcement learning for large language models often suffers from unstable training when the sampling policy differs greatly from the target policy, due to approximations like token-level importance sampling.
Method
The approach replaces the cumulative prefix importance ratio with a non-cumulative surrogate that takes the minimum token-level ratio in the preceding prefix, providing a stable correction for large off-policy drift.
Results
The approach shows substantial improvements in training stability and peak performance under large off-policy drift.
Contributions
It identifies the prefix importance ratio as the theoretically correct correction, shows that token-level approximations cause instability, and proposes a stable surrogate based on the minimum prefix ratio.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction