arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.20169cs.LGcs.CLstat.ML
收藏

通过期望最大化学习大语言模型的推理能力

Learning to Reason in LLMs by Expectation Maximization

kaist-ai(韩国科学技术院人工智能学院);adobe(Adobe研究)

Junghyun Lee, Branislav Kveton, Anup Rao, Subhojyoti Mukherjee, Ryan A. Rossi, Sunav Choudhary, Alexa Siu

AI总结:

本文提出基于奖励的过滤期望最大化方法,通过不同采样方案提升大语言模型的推理能力,实验表明PPS在任务表现上优于其他方案。

摘要:

大型语言模型(LLMs)通过先生成推理过程再回答来解决推理问题。我们正式将推理视为一个潜在变量模型,并推导出一种基于奖励的过滤期望最大化(FEM)目标,用于学习推理。这种观点将EM与现代基于奖励的优化方法联系起来,并表明主要挑战在于设计一个能够生成正确答案的推理过程采样分布。我们实例化并比较了三种采样方案:具有预算限制的拒绝采样、自教推理器(STaR)和提示后验采样(PPS),后者仅保留STaR中对正确答案进行条件的推理阶段。我们通过LLM作为判断者校准和从反馈中总结的任务进行了实验,其中对正确答案的条件提供了生成推理过程的强指导。我们的实验表明PPS在其他采样方案中更有效,并且采样方案对性能有显著影响。

英文摘要:

Large language models (LLMs) solve reasoning problems by first generating a rationale and then answering. We formalize reasoning as a latent variable model and derive a reward-based filtered expectation-maximization (FEM) objective for learning to reason. This view connects EM and modern reward-based optimization, and shows that the main challenge lies in designing a sampling distribution of rationales that justify correct answers. We instantiate and compare three sampling schemes: rejection sampling with a budget, self-taught reasoner (STaR), and prompt posterior sampling (PPS), which only keeps the rationalization stage of STaR that conditions on the correct answer in the prompt. We experiment with LLM-as-a-judge calibration and summarization from feedback tasks, where conditioning on the correct answer provides a strong guidance for generating rationales. Our experiments show the efficacy of PPS over other sampling schemes, and that the sampling scheme can have a significant impact on performance.

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

↑