arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.10938cs.AI
收藏

PEA:提升大语言模型在计算推理任务上的性能

PEA: Enhancing LLM Performance on Computational-Reasoning Tasks

University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Johns Hopkins University(约翰斯·霍普金斯大学);Chalmers/University of Gothenburg(查尔姆斯理工大学/哥德堡大学)

Zi Wang, Shiwei Weng, Mohannad Alhanahnah, Somesh Jha, Tom Reps

AI总结:

针对大语言模型在计算推理任务中缺乏复杂度刻画框架的问题,提出PEA框架分解任务并利用模型合成程序执行求解,在多类基准任务上平均准确率提升约50%且效率提高。

摘要:

大语言模型(LLMs)在多个领域展现出卓越能力,促使研究者探索其作为通用推理引擎的潜力。尽管近期研究通过推理时计算提升模型在复杂问题上的性能,但当前研究缺乏刻画推理任务复杂度的正式框架。本研究提出谓词-枚举-聚合(PEA)框架,这是一种描述和解决一类重要推理任务(称为计算推理问题)的正式方法。PEA框架将这些问题分解为谓词和枚举组件,利用LLMs基于指定的谓词、枚举和聚合规则合成程序。然后执行这些合成程序以获得计算任务的解决方案。我们在布尔可满足性问题、24点游戏和规划问题等基准任务上验证了该框架的有效性。实证评估显示,PEA显著提升了基础模型在基准计算问题上的性能,平均准确率提升约50%,同时效率也有所提高。

英文摘要:

Large Language Models (LLMs) have exhibited remarkable capabilities across diverse domains, prompting investigations into their potential as generic reasoning engines. While recent studies have explored inference-time computation to enhance model performance on complex problems, current research lacks a formal framework to characterize the complexity of reasoning tasks. This study introduces the Predicate-Enumeration-Aggregation (PEA) framework, a formal approach to describe and solve a class of important reasoning tasks termed computational reasoning problems. The PEA framework decomposes these problems into predicate and enumeration components, using LLMs to synthesize programs based on specified predicates, enumeration, and aggregation rules. These synthesized programs are then executed to obtain solutions to the computational tasks. We demonstrate the framework's efficacy on benchmark tasks including Boolean satisfiability problems, game of $24$, and planning problems. Empirical evaluation reveals that PEA substantially enhances the performance of underlying models on benchmark computational problems, yielding an average accuracy improvement of approximately $50\%$, coupled with increased efficiency.

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

↑