Shared noise lets trainers replace sampler tokens
Gumbel Substitution: Removing Sampler Drift from RL Without Trusting the Sampler · arXiv:2611.27375
In plain words
When language models learn from answers generated on other computers, those computers may use a different version or precision. Training directly on their answers can pull the model toward the other computers’ behavior.
This method gives the sampler and trainer the same random noise. The trainer keeps the sampler’s sequence for context but trains on the answer its own model would have chosen.
In a strong-mismatch math test, the uncorrected run collapsed while the substituted-target run stayed stable through its reported 323 steps.
The research
Training from remote samplers can be unstable when their hardware or model versions differ from the trainer’s, and their reported probabilities cannot be independently checked.
This method changes the choice of training target, offering a way to reduce that sampler-directed drift; lab runs suggest it can also help training stay stable under tested mismatches.
Gumbel substitution uses shared random noise to train on the trainer’s own sampled targets inside sampler-generated sequences, reducing drift without trusting sampler probabilities.
At each token position, the trainer uses the sampler’s random noise to choose its own target, while retaining the sampler’s sequence as context. This removes the expected constant-advantage drift term before filtering without requiring sampler-reported probabilities.
In strong-mismatch math runs, substitution stayed stable while uncorrected training collapsed. A true-probability correction performed comparably, supporting the method’s value when sampler probabilities cannot be trusted.
The zero-drift result applies before rollout filtering and assumes samplers follow the noise protocol. In production, different scoring and selection gates leave residual drift, and sampler-generated prefixes and rewards can still bias the full learning signal.
What the evidence shows
- A target for sampler drift
Gumbel substitution is a training method that uses shared random noise to replace each sampler token as a target with the token the trainer’s own policy would have chosen. The sampler’s sequence remains the context, so the trainer does not regenerate the rest of the sequence.
This targets a specific problem: when sampler and trainer distributions differ, ordinary training adds a drift term toward the sampler, while probability-based corrections need information the sampler could misreport.
- The drift term falls
The fixed-checkpoint comparison shows that changing the target rule can suppress sampler-directed drift in the tested mismatch condition. Because the substituted value was near the measurement floor, the size of the reduction is only a lower bound.
- Stability under mismatch
Under strong mismatch, substitution avoided the collapse criterion reached by uncorrected training in the reported long runs. This supports a stability benefit in that tested setting, but the runs stopped before their planned endpoint and do not show that uncorrected training always collapses.
- A reference with true probabilities
A correction using the sampler’s true probability distribution provides a useful reference, though it cannot be trusted in the target setting. In the strong-mismatch mini-trainings, substitution performed comparably to that correction; at learning rate 5x10⁻⁶, the correction led by about 0.02 reward units seed for seed.
Together, the theory and lab results support reducing sampler-directed drift and avoiding collapse in tested conditions, while leaving other sources of bias intact.
- What production can show
On SWE-bench Verified, a software-engineering test, the model’s first-attempt pass rate rose after reinforcement learning with substitution.
The production run shows the method operating across samplers, but without an otherwise equivalent run lacking substitution, the improvement cannot be attributed to the method; some evaluated task families also appeared in training.
Deep
- Original paper authors
- Romain Fanucci, Malik El Hassani
- Submitted to arXiv
- License
- CC BY 4.0