arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.15652cs.AIcs.CL
收藏

赋予大语言模型逻辑推理能力:一项全面综述

Empowering LLMs with Logical Reasoning: A Comprehensive Survey

Institute for Logic, Language and Computation, University of Amsterdam(阿姆斯特丹大学逻辑、语言与计算研究所);Center for Data Science, Peking University(北京大学数据科学中心);Tsinghua-UvA JRC for Logic, Department of Philosophy, Tsinghua University(清华大学哲学系);Machine Learning Department, MBZUAI(MBZUAI机器学习部门);Department of Philosophy, CMU(卡内基梅隆大学哲学系);State Key Lab of General AI, School of Intelligence Science and Technology, Peking University(北京大学人工智能通用实验室);Institute for Artificial Intelligence, Peking University(北京大学人工智能研究所);Pazhou Laboratory (Huangpu), Guangzhou(广州黄埔实验室)

Fengxiang Cheng, Haoxuan Li, Fenrong Liu, Robert van Rooij, Kun Zhang, Zhouchen Lin

AI总结:

本文全面综述了大语言模型在逻辑推理方面的挑战与前沿方法,提出分类体系,涵盖逻辑问答与逻辑一致性,并展望模态逻辑与多一致性算法等未来方向。

摘要:

大语言模型(LLMs)已在各类任务中取得显著成功。然而,近期研究发现,LLMs 的逻辑推理能力仍面临重大挑战,这些挑战可归纳为以下两个方面:(1)逻辑问答:在给定一组前提、需要复杂演绎、归纳或溯因推理的复杂逻辑问题中,LLMs 往往无法生成正确答案。(2)逻辑一致性:LLMs 容易在不同问题之间产生自相矛盾的回答。例如,最先进的问答大语言模型 Macaw 对“喜鹊是鸟吗?”和“鸟有翅膀吗?”这两个问题都回答“是”,但对“喜鹊有翅膀吗?”却回答“否”。为促进这一研究方向,我们全面考察了最前沿的方法,并提出了一个详细的分类体系。具体而言,为准确回答复杂逻辑问题,以往方法可根据对外部求解器、提示和微调的依赖程度进行分类。为避免逻辑矛盾,我们讨论了多种逻辑一致性的概念与解决方案,包括蕴含一致性、否定一致性、传递一致性、事实一致性及其组合。此外,我们回顾了常用的基准数据集和评估指标,并探讨了有前景的研究方向,例如扩展到模态逻辑以处理不确定性,以及开发能够同时满足多种逻辑一致性的高效算法。

英文摘要:

Large language models (LLMs) have achieved remarkable successes on various tasks. However, recent studies have found that there are still significant challenges to the logical reasoning abilities of LLMs, which can be categorized into the following two aspects: (1) Logical question answering: LLMs often fail to generate the correct answer within a complex logical problem which requires sophisticated deductive, inductive or abductive reasoning given a collection of premises. (2) Logical consistency: LLMs are prone to producing responses contradicting themselves across different questions. For example, a state-of-the-art question-answering LLM Macaw, answers Yes to both questions Is a magpie a bird? and Does a bird have wings? but answers No to Does a magpie have wings?. To facilitate this research direction, we comprehensively investigate the most cutting-edge methods and propose a detailed taxonomy. Specifically, to accurately answer complex logic questions, previous methods can be categorized based on reliance on external solvers, prompts, and fine-tuning. To avoid logical contradictions, we discuss concepts and solutions of various logical consistencies, including implication, negation, transitivity, factuality consistencies, and their composites. In addition, we review commonly used benchmark datasets and evaluation metrics, and discuss promising research directions, such as extending to modal logic to account for uncertainty and developing efficient algorithms that simultaneously satisfy multiple logical consistencies.

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

↑