Tufa Labs: Sampler Replay beats Score Centering for RL training-inference mismatch

valentina__py · x · 2026-12-05

Tufa Labs' blog post argues the training-inference mismatch in large-scale LLM RL lives in the gradient, not just the loss. Loss-level patches like truncated importance sampling and Score Centering still backprop through the trainer's mismatched activations. The team shows Score Centering mathematically equals replaying sampler logits in the trainer's forward pass, and proposes Sampler Replay — also replaying hidden states, logits, and router — which trains the sampler instead and outperforms SC and SC+TIS. Key claim: aligning internal computations, not output distributions, restores on-policy learning.

Original post →

More from Research

Research channel →