Refresh or Reweight? Two Kinds of Training-Inference Mismatch in LLM Reinforcement Learning
Reinforcement learning for large language models draws its rollouts from an inference engine that runs older weights at lower precision than the trainer, so every update is off-policy. Existing corrections each repair one failure and expose another: truncated importance sampling slows learning under quantized rollouts, score centering over-sharpens the policy late in training, and trust regions on the lag need a second forward pass. We show that these failures are the uncontrolled terms of a single bias decomposition, and that the mismatch behind them has two kinds that call for different tools: a lag, which a weight refresh removes, and an engine discrepancy, which survives every refresh. We prove that every estimator with bounded importance weights has a bias floor set by the leak, the trainer's probability mass above the weight cap, and that the leak at a refresh and its growth afterwards separate the two kinds online, from the top-K log-probabilities the engine already returns. The resulting method, GRACE, centers every update, refreshes the sampler when the lag part of the leak exceeds a budget, and switches on truncation when the engine discrepancy grows. Across nine…
- arXiv
- 2612.02058
- Authors
- Runguo Li, Dezhen Lu, Lingxiang Gao
- Categories
- cs.LG · cs.AI · cs.CL