arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.03777cs.AIcs.LG
收藏

GuidedSampling: 在推理时间引导大语言模型生成多样化的候选解决方案

GuidedSampling: Steering LLMs Towards Diverse Candidate Solutions at Inference-Time

Arizona State University(亚利桑那州立大学);Google(谷歌)

Divij Handa, Mihir Parmar, Aswin RRV, Md Nayem Uddin, Hamid Palangi, Chitta Baral

AI总结:

GuidedSampling通过解耦探索和生成阶段,在推理时提高大语言模型生成多样化候选解决方案的能力,实验表明其在多个基准测试中性能提升显著。

摘要:

重复采样(RS)是一种简单的推理时间算法,已被证明能提高模型在复杂任务上的性能。尽管它是一种有效的方法来扩展推理时间,但它经常难以生成多样化的解决方案候选,通常依赖于相同的底层方法来解决问题,从而产生冗余的样本。为了解决这一限制,我们提出了一种新的推理算法,GuidedSampling,它在推理过程中将探索和生成阶段解耦,从而增加生成候选解决方案的多样性。探索阶段识别多个可以用来解决问题的概念,而生成阶段应用特定的概念来提供最终的解决方案候选。我们首先定义了GuidedSampling的理论界限,然后通过实验证明,与RS相比,它在各种基准测试中将基础模型在pass@50上的性能提高了平均约21.6%。此外,经过GuidedSampling轨迹训练的模型在pass@5上的表现也显著提高,平均提高了约9.7%。此外,经过GuidedSampling训练的模型增加了每个实例的平均概念数(1.67->3.03),从而产生比传统RS更多样化的候选集。

英文摘要:

Repeated Sampling (RS) is a simple inference-time algorithm that has been shown to improve model performance on complex tasks. Although it is an effective way of scaling inference time, it often struggles to generate diverse solution candidates, frequently relying on the same underlying approach to solve the problem and thus producing redundant samples. To address this limitation, we propose a new inference algorithm, GuidedSampling, which decouples the exploration and generation phases during inference, increasing diversity of generated candidate solutions. The exploration phase identifies multiple concepts that can be utilized to solve the problem, while the generation phase applies a specific concept to provide final solution candidates. We first define the theoretical bounds of GuidedSampling and then empirically demonstrate that it improves the performance of base model at pass@50 by on an average ~21.6% across various benchmarks compared to RS. Furthermore, models trained on trajectories of GuidedSampling exhibit substantial performance improvements at pass@5 by on an average ~9.7%, compared to models trained on traditional RS. Additionally, models trained with GuidedSampling increases the average number of concepts per instance (1.67 -> 3.03), yielding a diverse set of candidates than traditional RS.

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

↑