arXiv:2410.18921cs.CLcs.AI2024-10被引 10

测试大模型能否识别数学题中的逻辑漏洞。

From Blind Solvers to Logical Thinkers: Benchmarking LLMs' Logical Integrity on Faulty Mathematical Problems

  • 构建包含多种错误类型的故障数学题数据集
  • 多数模型无法自主发现题目逻辑矛盾
  • 适合关注AI推理能力评估的研究者

考虑数学题:'莉莉昨天从朋友那收到3块饼干,早餐吃了5块。今天朋友又给了她3块。莉莉现在有多少块饼干?' 以往研究中许多大语言模型(LLMs)直接按公式3 - 5 + 3计算得答案1。但从人类视角看,这题本身存在逻辑缺陷——不可能吃掉比拥有的还多的饼干。这一差异引发核心问题:当前的LLMs是仅做机械计算的盲解者,还是能识别逻辑不一致的逻辑思考者?为此,我们提出基准数据集FaultyMath,涵盖多个数学类别、不同难度等级及多样故障来源(如常识违背、表述模糊、数学矛盾等)。我们评估了包括开源、闭源和数学专用模型在内的广泛LLMs,从三个维度展开:(i) 模型在未被提示时准确识别故障题的能力;(ii) 在给予正确或误导性提示后,能否调整为可靠逻辑思考者;(iii) 当识别出问题错误时,其解释的可信度如何。实验与分析表明,现有LLMs大多仍处于盲解状态,缺乏作为逻辑思考者所需的深层推理能力。

原文摘要 · Abstract (English)

Consider the math problem: "Lily received 3 cookies from her best friend yesterday and ate 5 for breakfast. Today, her friend gave her 3 more cookies. How many cookies does Lily have now?" Many large language models (LLMs) in previous research approach this problem by calculating the answer "1" using the equation "3 - 5 + 3." However, from a human perspective, we recognize the inherent flaw in this problem: Lily cannot eat 5 cookies if she initially only had 3. This discrepancy prompts a key question: Are current LLMs merely Blind Solver that apply mathematical operations without deeper reasoning, or can they function as Logical Thinker capable of identifying logical inconsistencies? To explore this question, we propose a benchmark dataset, FaultyMath, which includes faulty math problems of rich diversity: i) multiple mathematical categories, e.g., algebra, geometry, number theory, etc., ii) varying levels of difficulty, and iii) different origins of faultiness -- ranging from violations of common sense and ambiguous statements to mathematical contradictions and more. We evaluate a broad spectrum of LLMs, including open-source, closed-source, and math-specialized models, using FaultyMath across three dimensions: (i) How accurately can the models detect faulty math problems without being explicitly prompted to do so? (ii) When provided with hints -- either correct or misleading -- about the validity of the problems, to what extent do LLMs adapt to become reliable Logical Thinker? (iii) How trustworthy are the explanations generated by LLMs when they recognize a math problem as flawed? Through extensive experimentation and detailed analysis, our results demonstrate that existing LLMs largely function as Blind Solver and fall short of the reasoning capabilities required to perform as Logical Thinker.

逻辑推理大模型评估数学题

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。