arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.17663cs.CLcs.AIcs.LO
收藏

LLM-ARC:通过自动化推理评论员增强大语言模型

LLM-ARC: Enhancing LLMs with an Automated Reasoning Critic

Elemental Cognition Inc.(Elemental Cognition公司)

Aditya Kalyanpur, Kailash Karthik Saravanakumar, Victor Barres, Jennifer Chu-Carroll, David Melville, David Ferrucci

AI总结:

LLM-ARC通过结合LLM Actor与自动化推理评论员,利用ASP实现逻辑程序生成与测试反馈迭代,在FOLIO基准上达到88.32%准确率,显著优于纯LLM基线。

摘要:

我们提出了LLM-ARC,这是一个神经符号框架,旨在通过将大语言模型(LLMs)与自动化推理评论员(ARC)相结合,来增强其逻辑推理能力。LLM-ARC采用Actor-Critic方法,其中LLM Actor生成声明式逻辑程序以及用于语义正确性的测试,而自动化推理评论员则评估代码、运行测试并提供关于测试失败的反馈以进行迭代改进。该框架使用答案集编程(ASP)实现,在FOLIO基准测试上达到了88.32%的新最先进准确率,该基准测试评估复杂的逻辑推理能力。我们的实验表明,与仅使用LLM的基线相比有显著改进,凸显了逻辑测试生成和迭代自我改进的重要性。我们通过完全自动化的自监督训练循环获得了最佳结果,其中Actor在端到端对话轨迹上接受训练,并带有评论员的反馈。我们讨论了潜在的改进方向,并提供了详细的错误分析,展示了LLM-ARC在复杂自然语言推理任务中的稳健性和有效性。

英文摘要:

We introduce LLM-ARC, a neuro-symbolic framework designed to enhance the logical reasoning capabilities of Large Language Models (LLMs), by combining them with an Automated Reasoning Critic (ARC). LLM-ARC employs an Actor-Critic method where the LLM Actor generates declarative logic programs along with tests for semantic correctness, while the Automated Reasoning Critic evaluates the code, runs the tests and provides feedback on test failures for iterative refinement. Implemented using Answer Set Programming (ASP), LLM-ARC achieves a new state-of-the-art accuracy of 88.32% on the FOLIO benchmark which tests complex logical reasoning capabilities. Our experiments demonstrate significant improvements over LLM-only baselines, highlighting the importance of logic test generation and iterative self-refinement. We achieve our best result using a fully automated self-supervised training loop where the Actor is trained on end-to-end dialog traces with Critic feedback. We discuss potential enhancements and provide a detailed error analysis, showcasing the robustness and efficacy of LLM-ARC for complex natural language reasoning tasks.

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

↑