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

FCoReBench:大型语言模型能否解决具有挑战性的一阶组合推理问题?

FCoReBench: Can Large Language Models Solve Challenging First-Order Combinatorial Reasoning Problems?

Indian Institute of Technology, Delhi(印度理工学院德里分校)

Chinmay Mittal, Krishna Kartik, Mausam, Parag Singla

AI总结:

本文提出了包含40个NP-hard一阶组合推理问题的数据集FCoReBench,并针对LLM在符号求解器辅助下表现不佳且随问题规模增大性能下降的问题,提出了结合符号求解器、程序解释器与少量示例反馈且推理时无需LLM调用的SymPro-LM方法,实现了巨大的性能提升。

摘要:

大型语言模型(LLMs)能否解决具有挑战性的一阶组合推理问题,例如图着色、背包和密码算术问题?所谓一阶,是指这些问题可以实例化为数量可能无限且大小不同的具体问题实例。这些问题也极具挑战性,因为它们属于 NP-hard 问题,并且需要多个推理步骤才能得出解决方案。虽然现有的工作主要集中在构建包含困难基准的数据集上,但利用问题结构的一阶特性的研究仍然有限。为了应对这一挑战,我们提出了 FCoReBench,这是一个包含 40 个此类挑战性问题的数据集,并附带了用于生成不同大小问题实例以及自动验证和生成其解决方案的脚本。我们首先观察到,LLMs 即使在符号求解器的辅助下,在我们的数据集上的表现也相当差,无法利用这些问题的底层结构。我们特别观察到,随着问题规模的增加,性能会出现下降。作为回应,我们提出了一种新方法 SymPro-LM,它将 LLMs 与符号求解器和程序解释器相结合,并利用来自少量已解决示例的反馈,从而实现了巨大的性能提升。我们提出的方法对问题规模的变化具有鲁棒性,并且与早期方法不同,它具有在推理期间不需要任何 LLM 调用的独特特征。作为附加实验,我们还在其他逻辑推理基准上证明了 SymPro-LM 的有效性。

英文摘要:

Can the large language models (LLMs) solve challenging first-order combinatorial reasoning problems such as graph coloring, knapsack, and cryptarithmetic? By first-order, we mean these problems can be instantiated with potentially an infinite number of problem instances of varying sizes. They are also challenging being NP-hard and requiring several reasoning steps to reach a solution. While existing work has focused on coming up with datasets with hard benchmarks, there is limited work which exploits the first-order nature of the problem structure. To address this challenge, we present FCoReBench, a dataset of 40 such challenging problems, along with scripts to generate problem instances of varying sizes and automatically verify and generate their solutions. We first observe that LLMs, even when aided by symbolic solvers, perform rather poorly on our dataset, being unable to leverage the underlying structure of these problems. We specifically observe a drop in performance with increasing problem size. In response, we propose a new approach, SymPro-LM, which combines LLMs with both symbolic solvers and program interpreters, along with feedback from a few solved examples, to achieve huge performance gains. Our proposed approach is robust to changes in the problem size, and has the unique characteristic of not requiring any LLM call during inference time, unlike earlier approaches. As an additional experiment, we also demonstrate SymPro-LM's effectiveness on other logical reasoning benchmarks.

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

↑