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

从盲目求解器到逻辑思考者:在有缺陷的数学问题上基准评估大语言模型的逻辑完整性

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

New Jersey Institute of Technology(新泽西理工学院);Millburn High School(米尔本高中);Pennsylvania State University(宾夕法尼亚州立大学)

A M Muntasir Rahman, Junyi Ye, Wei Yao, Sierra S. Liu, Jesse Yu, Jonathan Yu, Wenpeng Yin, Guiling Wang

AI总结:

本文提出 FaultyMath 基准数据集,系统评估大语言模型识别有缺陷数学问题并展现逻辑推理完整性的能力,发现现有模型大多仍表现为盲目求解器而非逻辑思考者。

摘要:

考虑如下数学问题:“Lily 昨天从她最好的朋友那里收到了 3 块饼干,早餐吃了 5 块。今天,她的朋友又给了她 3 块饼干。Lily 现在有多少块饼干?”以往研究中的许多大语言模型(LLMs)通过计算“3 - 5 + 3”得到答案“1”来处理该问题。然而,从人类视角来看,我们能识别出该问题固有的缺陷:如果 Lily 最初只有 3 块饼干,她不可能吃掉 5 块。这一差异引出了一个关键问题:当前的 LLMs 仅仅是应用数学运算而不进行更深层推理的盲目求解器(Blind Solver),还是能够识别逻辑不一致性的逻辑思考者(Logical Thinker)?为探索这一问题,我们提出了一个基准数据集 FaultyMath,其中包含丰富多样的有缺陷数学问题:i)多个数学类别,例如代数、几何、数论等;ii)不同的难度级别;iii)不同的缺陷来源——从违反常识、表述含糊到数学矛盾等。我们使用 FaultyMath 在三个维度上评估了广泛的 LLMs,包括开源、闭源和数学专用模型:(i)在没有明确提示的情况下,模型检测有缺陷数学问题的准确度如何?(ii)当提供关于问题有效性的提示——无论是正确的还是误导性的——时,LLMs 在多大程度上能够调整并成为可靠的逻辑思考者?(iii)当 LLMs 识别出数学问题存在缺陷时,它们生成的解释有多可信?通过大量实验和详细分析,我们的结果表明,现有 LLMs 在很大程度上仍作为盲目求解器运行,尚未达到作为逻辑思考者所需的推理能力。

英文摘要:

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.

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

↑