跳到正文
arXiv (AI + Vision + Imaging)· Romain Fanucci, Malik El Hassani·· 2 天前AI 评分22

Gumbel Substitution:无需信任采样器即可消除RL采样漂移

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

AI 导读

针对不可信采样器导致的采样分布q与训练策略p不一致问题,研究者提出Gumbel Substitution:协调方为每个token位置固定跨GPU比特一致的公开Gumbel噪声,采样器按y=argmax(ℓ^q+G)出词,训练方用同一噪声重算自身策略本应抽取的v*并打分,从而在期望上消除漂移且无需采样器上报概率。

正文 · 原文

arXiv:2611.27375v1 Announce Type: new Abstract: When RL rollouts come from untrusted samplers on arbitrary hardware, precision and checkpoint lag, the sampling distribution $q$ differs from the trainer's policy $p$, and training on the sampler's tokens adds a drift term equal to supervised fine-tuning toward $q$. Published corrections (TIS, MIS, IcePop, score centering, GSPO, CISPO) all need $q(y)$, which a permissionless sampler reports and can misreport. We introduce Gumbel substitution. The coordinator fixes public Gumbel noise for every token position, bit-identical across GPUs, and the sampler draws $y=\arg\max(\ell^q+G)$. The trainer recomputes $v^*=\arg\max(\ell^p+G)$, the token its own policy would have drawn with the same noise, and scores $v^*$ in the sampler's context. For a sampler that follows the protocol, $v^*$ is an exact sample from $p$ given the prefix, so the drift vanishes in expectation for any $q$, without sampler-reported probabilities. We measure the residual left by the deployed heads, bound the one added by admission gates, and state what an adaptive sampler can still do. The same comparison gives a per-token match rate that admits and pays samplers. In the lab, on a 9B model with the same head on both sides, the expected drift of uncorrected training is at least 170 to 4,800 times that of substitution. On a 2B model under strong mismatch, uncorrected training collapses while substitution stays stable, comparable to MIS with score centering given the true $q$. On a permissionless network, a 9B model was trained for 158 optimizer steps on 15.75B tokens from heterogeneous samplers, with no skipped step and 1.21% of tokens substituted; it improved on all eight held-out benchmarks.

来源:arXiv (AI + Vision + Imaging) · arxiv.org