arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.07887cs.LGcs.AIcs.CLmath.STstat.MLstat.TH
收藏

拒绝、重采样、重复:理解语言模型推理中的并行推理

Reject, Resample, Repeat: Understanding Parallel Reasoning in Language Model Inference

Microsoft Research(微软研究院);MIT(麻省理工学院);NYU(纽约大学)

Noah Golowich, Fan Chen, Dhruv Rohatgi, Raghav Singhal, Carles Domingo-Enrich, Dylan J. Foster, Akshay Krishnamurthy

AI总结:

本文通过粒子过滤算法研究语言模型推理中采样误差的理论与实践,揭示SMC方法的非渐近保证及采样误差的限制。

摘要:

在推理过程中,聚合和剪枝多个样本的方法已逐渐成为引导大型语言模型的强大范式,但我们在其准确性和成本之间的权衡上缺乏任何系统性的理解。在本文中,我们引入了一种通过粒子过滤算法(如序列蒙特卡洛SMC)的视角来严格研究此类方法的途径。给定一个基础语言模型和一个估计预期终端奖励的过程奖励模型,我们提出问题:在给定一定数量的过程奖励评估下,我们能多准确地从目标分布中进行采样?理论上,我们识别出(1)使SMC具有非渐近保证的简单标准;(2)对SMC的算法改进;以及(3)所有粒子过滤方法面临的基本限制。经验上,我们证明我们的理论标准有效地支配了SMC的采样误差,尽管不一定支配其最终的准确性,这表明可能需要超越采样的理论视角。

英文摘要:

Inference-time methods that aggregate and prune multiple samples have emerged as a powerful paradigm for steering large language models, yet we lack any principled understanding of their accuracy-cost tradeoffs. In this paper, we introduce a route to rigorously study such approaches using the lens of *particle filtering* algorithms such as Sequential Monte Carlo (SMC). Given a base language model and a *process reward model* estimating expected terminal rewards, we ask: *how accurately can we sample from a target distribution given some number of process reward evaluations?* Theoretically, we identify (1) simple criteria enabling non-asymptotic guarantees for SMC; (2) algorithmic improvements to SMC; and (3) a fundamental limit faced by all particle filtering methods. Empirically, we demonstrate that our theoretical criteria effectively govern the *sampling error* of SMC, though not necessarily its final *accuracy*, suggesting that theoretical perspectives beyond sampling may be necessary.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑