Mila paper: Sampler Replay trains the sampler, not the trainer, in RLVR

niloofar_mire · x · 2026-12-02

A new paper from Mila/Université de Montréal, "Sampler Replay: Train The Sampler Not The Trainer in RLVR", reframes train-inference mismatch: since the end goal is an inference model, the sampler should be the training target and the trainer merely a mechanism to approximate its gradient. Sampler Replay replays the sampler's hidden states, logits, and routing decisions in the trainer's forward pass. It stabilizes training under severe TIM from quantization (weights, activations, KV cache), weight perturbation, and staleness, outperforming strong baselines, and mathematically unifies prior techniques — proving Score Centering is a special case that only replays logits.

Related event: Mila's Sampler Replay: Train the Sampler, Not the Trainer in RLVR(6 posts)→

Original post →

More from Research

Research channel →