Mila's Sampler Replay: Train the Sampler, Not the Trainer in RLVR
On Dec 2, Mila and Université de Montréal researchers (Milad Aghajohari, Chatsaz, guided by Aaron Courville) released "Sampler Replay: Train The Sampler Not The Trainer in Reinforcement Learning with Verifiable Rewards," offering a fundamental reframing of the train-inference mismatch (TIM) in RLVR: since deployment uses the sampler's output, one should train the sampler directly rather than the trainer.
Confirmed
- Core diagnosis: mainstream RLHF/RLVR frameworks (TIS, MIS, DPPO) treat RL as training a trainer via importance sampling with an imperfect off-trainer-policy sampler, yet deployment uses the sampler's output—a mismatch.
- mnoukhov's framing is cited: prior work defaults to off-policy samples, but since the inference model is what matters, the trainer is what is truly off-policy; the sampler should be the training target.
- The proposal: directly optimize the sampler's forward pass instead of treating it as an imperfect intermediate tool, without patch-style tricks like score centering.
- The paper shows Score Centering is a special case: per a proof highlighted in m4, under full-vocabulary Score Centering, subtracting E{pμ}[∇log pπ] cleanly cancels the pπ gradient terms, leaving A(ey − pμ)—equivalent to Logits Replay.
Why it matters
- The work unifies scattered empirical fixes (e.g., score centering) under a more fundamental reformulation of the objective, backed by the Logits Replay equivalence proof. If it holds, it could change default post-training practice: optimizing the sampler directly with verifiable rewards rather than acting on it indirectly.
2026-12-02 ~ 2026-12-03 · 6 related posts
Primary sources
- Sampler Replay paper reframes RLVR: train the sampler, not the trainer — proves Score Centering is a special case — _akhaliq ·
- Mila's Sampler Replay reframes RLVR: train the sampler, not the trainer — MilaQuebec ·
- Elegant proof in Sampler Replay paper: Full-vocab Score Centering equals Logits Replay — apsarathchandar ·
- [source] Mila's Sampler Replay reframes RLVR: train the sampler, not the trainer — MilaQuebec · 2026-12-02
- [source] Sampler Replay paper reframes RLVR: train the sampler, not the trainer — proves Score Centering is a special case — _akhaliq · 2026-12-02
- New RLVR paper argues the sampler, not the trainer, should be the policy gradient target — apsarathchandar · 2026-12-02
- Reframing RL with inference models: train the Sampler, not the Trainer — heghbalz · 2026-12-03
- [source] Elegant proof in Sampler Replay paper: Full-vocab Score Centering equals Logits Replay — apsarathchandar · 2026-12-03
1 near-duplicate retellings: niloofar_mire