arXiv Machine Learning By Romain Fanucci, Malik El Hassani

Gumbel Substitution: Removing Sampler Drift from RL Without Trusting the Sampler

Read the original on arXiv Machine Learning →

The paper introduces Gumbel substitution, a method that eliminates sampler drift in reinforcement learning when rollouts come from untrusted samplers. By fixing public Gumbel noise and having the trainer recompute the token that its own policy would have chosen, the approach ensures that the training signal matches the trainer’s policy regardless of the sampler’s reported distribution. Experiments on 9B and 2B models show that Gumbel substitution dramatically reduces drift and maintains stability even under strong sampler mismatch, outperforming existing correction techniques.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv Machine Learning
Nov 2

On the Origin and Evolution of Training-Inference Mismatch in LLM Reinforcement Learning

The paper investigates the training‑inference mismatch that arises when large language models are trained with on‑policy reinforcement learning but inference is performed by a separate engine. It identifies two sources of mismatch—numerical discrepancies in the engine and policy lag due to stale weights—and shows that correcting one source can worsen the other. The authors propose a discrepancy‑lag correction (DLC) that centers numerical errors, clips lag ratios, and resynchronizes the sampler, achieving stable training on Qwen models.

By Yu Li, Yufa Zhou, Tian Lan
arXiv AI
Oct 27

A Sign Law for Entropy Drift under Sampler Mismatch in RLVR

The paper investigates how entropy behaves in reinforcement learning with verifiable rewards (RLVR) when the sampling method used during rollouts differs from the learner’s policy. It shows that a constant advantage shift alters the entropy of a softmax policy in a way that depends on the sampler: positive shifts sharpen the policy for samplers whose likelihood ratio increases with token probability (e.g., top‑k, top‑p, min‑p, and temperatures below one) and flatten it for flatter samplers. In group‑based RLVR with token‑level losses, the entropy drift is governed by the token‑weighted net advantage and a covariance term that can amplify over long horizons, with empirical results on 2B and 9B models demonstrating how different sampling and baseline strategies affect entropy stability and held‑out accuracy.

By Zhiyuan Wang, Jacob Steeves, Chang Liu
arXiv Machine Learning
Oct 28

ScaleRLT: Exact Log-Probabilities and Fast Deferred Rollouts for Reinforcement Learning on Looped Transformers

ScaleRLT introduces a hybrid learner log‑probability method that reconciles differences between dense and deferred rollout computations in looped language models like Ouro. By using a stop‑gradient replay of the rollout schedule, the approach achieves bit‑for‑bit reproducibility across FP32 and bf16 real‑weight cells while maintaining the same gradient accuracy as dense implementations. The technique boosts rollout throughput by up to 1.56× on a single GPU and significantly speeds up multi‑node GRPO updates, leading to substantial accuracy gains on GSM8K in short training runs.

By Dezhen Lu, Zixiang Ni, Runguo Li
arXiv Computation and Language
1d ago

How Far Does Lossless Re-tokenization Move an RLVR Update?

The study investigates how re‑tokenizing text during reinforcement learning from verifiable rewards (RLVR) affects training updates. By comparing updates on the same rollouts with canonical tokenization versus token splits, the authors find that splitting a token can move an update up to 0.556 times as far as replacing the entire batch, with the effect increasing with the split fraction and varying by token. In a tabular model, they prove that only the zero full‑gradient step aligns across tokenizations, and an audit shows re‑encoding affects a small fraction of rollouts and tokens. Training on fixed rollouts, the canonical tokenization generally outperforms the split version in most pre‑registered pairs.

By Zhe Dong, Fang Qin