arXiv 2610.40945 · cs.LG · 2026-10-29
On the Origin and Evolution of Training-Inference Mismatch in LLM Reinforcement Learning
Yu Li, Yufa Zhou, Tian Lan
George Washington University
在最新榜 #380 本站收录于 2026-11-06
一句话要点
在线策略强化学习假设训练用的回复来自当前策略,但实际中由推理引擎采样、另一个训练器计算梯度,二者的“训练—推理失配”使数据变成离策略。作者指出失配有两个来源:引擎的数值差异,以及异步采样带来的权重滞后,针对一种来源有效的修正在另一种来源下可能失效。论文要回答的是:失配来源的哪种性质决定了所需的修正。作者在采样器权重处评估训练器,把每个采样 token 的误差精确拆成引擎的数值差异和训练器的策略滞后,并在训练中跟踪两者。摘要称数值差异大致保持不变,因此以近乎固定的幅度使更新产生偏差;后续内容被截断,结论以原文为准。
On-policy RL for LLMs assumes training responses are sampled from the current policy, but in practice an inference engine samples them while a separate trainer computes gradients, and this training-inference mismatch makes the data off-policy. The authors identify two sources, engine numerics and stale weights from asynchronous sampling, and note that a correction stabilizing training under one source can fail under the other. They ask which property of a mismatch source decides the correction it needs. By evaluating the trainer at the sampler's weights, they split each sampled-token error exactly into an engine numerical discrepancy and a trainer policy lag, and follow both through training. The abstract says the numerical discrepancy stays approximately constant and so biases updates by a nearly fixed amount; the rest is truncated, so see the paper for conclusions.
要点
- LLM强化学习中训练与推理的不匹配源于推理引擎的数值差异和异步采样导致的策略滞后,二者相互作用并影响训练稳定性。
- 通过在采样器权重上评估训练器,可将采样错误分解为恒定的数值偏差和由训练器自身更新引起的策略滞后,后者形成反馈循环。
- 数值偏差可通过中心化处理消除其对梯度更新的固定偏置,而策略滞后需通过重要性加权在样本有效规模低于一半时失效,表明其存在临界点。
- 提出的 discrepancy-lag correction (DLC) 方法在Qwen3系列模型上有效控制KL散度,防止训练崩溃,并在采样器过时情况下实现稳定训练。
English overview
The paper analyzes training-inference mismatch in LLM reinforcement learning, identifying two distinct sources: numerical discrepancies from inference engines and policy lag from asynchronous updates. It demonstrates that numerical bias remains stable and can be corrected by centering scores, while policy lag forms a feedback loop that fails when effective sample size drops below 0.5. The proposed discrepancy-lag correction (DLC) combines bias centering, ratio clipping, and periodic resynchronization to maintain training on-policy and prevent collapse.
只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。
阅读 arXiv 原文 PDF Hugging Face 讨论 代码仓库
主题与学科
相关论文
- 同主题 · MiMo-V2.6: Scaling Reinforcement Learning Towards Self-Improvement 2026-10-08
- 同主题 · TRACE: Rollout-Guided Quantization-Aware Training for FP4 Reinforcement Learning of MoE Language Models 2026-10-06
- 同期 · Video Generation Meets Agent Harness: Agentic Video Generation, Agentic World Modeling and Recursive Self-Improvement 2026-10-29
数据说明
元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-11-30。
要点由本站根据摘要自写,不转载摘要原文,请阅读原文。