arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.17974cs.AI
收藏

更聪明地思考而非更费力:基于推理感知优化的自适应推理

Think Smarter not Harder: Adaptive Reasoning with Inference Aware Optimization

MetaAI(Meta人工智能研究院);The University of Illinois Chicago(伊利诺伊大学芝加哥分校)

Zishun Yu, Tengyu Xu, Di Jin, Karthik Abinav Sankararaman, Yun He, Wenxuan Zhou, Zhouhao Zeng, Eryk Helenowski, Chen Zhu, Sinong Wang, Hao Ma, Han Fang

AI总结:

针对长推理链模型处理简单问题时产生不必要冗长思维链的问题,提出推理预算约束策略优化(IBPO)算法,通过将推理预算约束下的效用最大化,使模型能自适应分配推理预算,在MATH500上取得显著性能提升。

摘要:

解决数学问题一直是大语言模型令人瞩目的能力,许多研究通过扩展推理长度(例如通过自我纠正和冗长的长思维链)来提升推理能力。尽管在问题解决方面前景广阔,但先进的长推理链模型表现出一种不理想的行为:对于简单问题,也会产生不必要的冗长思维链。在本研究中,我们提出一种使模型感知推理预算的方法,将其表述为在推理预算约束下的效用最大化问题,因此将我们的算法命名为推理预算约束策略优化(IBPO)。简言之,通过IBPO微调的模型学会“理解”查询的难度,并为更难的问题分配更多推理预算。在不同的推理预算下,我们最优的模型在MATH500上分别实现了4.14%和5.74%的绝对提升(8.08%和11.2%的相对提升),推理预算分别为2.16倍和4.32倍,基准模型为LLaMA3.1 8B Instruct。在相同预算下,这些提升约为自我一致性方法的2倍。

英文摘要:

Solving mathematics problems has been an intriguing capability of large language models, and many efforts have been made to improve reasoning by extending reasoning length, such as through self-correction and extensive long chain-of-thoughts. While promising in problem-solving, advanced long reasoning chain models exhibit an undesired single-modal behavior, where trivial questions require unnecessarily tedious long chains of thought. In this work, we propose a way to allow models to be aware of inference budgets by formulating it as utility maximization with respect to an inference budget constraint, hence naming our algorithm Inference Budget-Constrained Policy Optimization (IBPO). In a nutshell, models fine-tuned through IBPO learn to ``understand'' the difficulty of queries and allocate inference budgets to harder ones. With different inference budgets, our best models are able to have a $4.14$\% and $5.74$\% absolute improvement ($8.08$\% and $11.2$\% relative improvement) on MATH500 using $2.16$x and $4.32$x inference budgets respectively, relative to LLaMA3.1 8B Instruct. These improvements are approximately $2$x those of self-consistency under the same budgets.

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

↑