QuasiMoTTo: 准蒙特卡洛测试时扩展
QuasiMoTTo: Quasi-Monte Carlo Test-Time Scaling
AI总结:
提出QuasiMoTTo方法,利用准蒙特卡洛相关采样替代独立同分布采样,在推理和强化学习中减少冗余,以更少样本达到相同性能。
摘要:
通过为每个问题生成多个并行尝试来扩展推理计算,是提高语言模型能力的一种成本高昂但可靠的杠杆。默认情况下,这些尝试是独立生成的,浪费了推理计算在冗余解决方案上。这种浪费似乎不可避免。毕竟,独立性正是使并行采样易于扩展的原因。然而,这种权衡并非根本性的:存在一个丰富的采样器设计空间,可以完全并行地生成相关但精确的样本。我们探索这个设计空间,作为在扩展推理计算和强化学习(RL)中提高样本效率的途径。具体地,我们引入了QuasiMoTTo,它使用相关样本作为独立同分布样本的即插即用替代。为了生成这些样本,QuasiMoTTo将自回归采样重新参数化为逆CDF采样,并使用准蒙特卡洛(QMC)抽取底层均匀分布;由于QMC比独立同分布更均匀地分布均匀变量,生成的样本覆盖输出空间时冗余大大减少。尽管批次是相关的,但每个样本边际上服从语言模型分布,因此我们可以使用该批次进行策略梯度训练。我们的实证分析侧重于理解QuasiMoTTo如何高效地将计算转化为性能。为了评估相关采样器(其依赖性破坏了标准的pass@k估计器),我们首先开发了一个无偏的bootstrap估计器。在四个推理基准上,QuasiMoTTo以25-47%更少的样本匹配了独立同分布的pass@k准确率。引人注目的是,QuasiMoTTo经常达到任何边际保持采样器的pass@k上限。我们还将QuasiMoTTo应用于策略梯度RL(GRPO),其中它以50%更少的训练步骤匹配了独立同分布的性能。这些增益来自于更高的覆盖率,这为每个批次提供了更强的学习信号。
英文摘要:
Scaling inference compute, by generating many parallel attempts per problem, is a costly but reliable lever for improving language model capabilities. By default these attempts are generated independently, wasting inference compute on redundant solutions. This waste seems unavoidable. After all, independence is what makes parallel sampling trivial to scale. However, this tradeoff is not fundamental: there is a rich design space of samplers that generate correlated but exact samples entirely in parallel. We explore this design space as an avenue for improving sample efficiency in scaling inference compute and reinforcement learning (RL). Concretely, we introduce QuasiMoTTo, which uses correlated samples as a drop-in replacement for i.i.d. samples. To generate these samples, QuasiMoTTo uses a reparameterization of autoregressive sampling as inverse-CDF sampling and draws the underlying uniforms with quasi-Monte Carlo (QMC); because QMC spreads the uniforms out more evenly than i.i.d., the resulting samples cover the output space with far less redundancy. Even though the batch is correlated, each sample is marginally distributed according to the language model, so we can use the batch for policy-gradient training. Our empirical analysis focuses on understanding how efficiently QuasiMoTTo can turn compute into performance. To evaluate correlated samplers, whose dependence breaks standard pass@k estimators, we first develop an unbiased bootstrap estimator. Across four reasoning benchmarks, QuasiMoTTo matches i.i.d. pass@k accuracy with 25-47% fewer samples. Strikingly, QuasiMoTTo often saturates an upper bound on pass@k that holds for any marginal-preserving sampler. We also apply QuasiMoTTo to policy-gradient RL (GRPO) where it matches i.i.d. performance with 50% fewer training steps. These gains come from higher coverage, which yields a stronger learning signal per batch.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。