arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.00114cs.AI
收藏

归纳还是演绎?重新审视大语言模型的基本推理能力

Inductive or Deductive? Rethinking the Fundamental Reasoning Abilities of LLMs

University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Amazon(亚马逊公司)

Kewei Cheng, Jingfeng Yang, Haoming Jiang, Zhengyang Wang, Binxuan Huang, Ruirui Li, Shiyang Li, Zheng Li, Yifan Gao, Xian Li, Bing Yin, Yizhou Sun

AI总结:

本文提出 SolverLearner 框架以分离并纯化大语言模型的归纳推理,发现其归纳推理能力接近完美,但演绎推理尤其在反事实任务中相对不足。

摘要:

推理包含两种典型类型:演绎推理和归纳推理。尽管针对大语言模型(LLMs)推理能力的研究已十分广泛,但大多数研究未能严格区分归纳推理与演绎推理,导致二者被混为一谈。这引出了一个关键问题:在大语言模型推理中,演绎推理和归纳推理哪个更具挑战性?虽然大语言模型的演绎推理能力(即在推理任务中遵循指令的能力)已受到相当多的关注,但其真正的归纳推理能力在很大程度上仍未得到探索。为探究大语言模型真正的归纳推理能力,我们提出了一个新框架 SolverLearner。该框架使大语言模型能够仅通过上下文示例来学习将输入数据点 $(x)$ 映射到其对应输出值 $(y)$ 的底层函数(即 $y = f_w(x)$)。通过聚焦归纳推理并将其与基于大语言模型的演绎推理分离,我们可以借助 SolverLearner 以纯粹形式隔离并研究大语言模型的归纳推理。我们的观察结果表明,大语言模型通过 SolverLearner 展现出卓越的归纳推理能力,在大多数情况下达到近乎完美的性能,准确率(ACC)为 1。令人意外的是,尽管大语言模型具有强大的归纳推理能力,但它们相对缺乏演绎推理能力,尤其是在涉及“反事实”推理的任务中。

英文摘要:

Reasoning encompasses two typical types: deductive reasoning and inductive reasoning. Despite extensive research into the reasoning capabilities of Large Language Models (LLMs), most studies have failed to rigorously differentiate between inductive and deductive reasoning, leading to a blending of the two. This raises an essential question: In LLM reasoning, which poses a greater challenge - deductive or inductive reasoning? While the deductive reasoning capabilities of LLMs, (i.e. their capacity to follow instructions in reasoning tasks), have received considerable attention, their abilities in true inductive reasoning remain largely unexplored. To investigate into the true inductive reasoning capabilities of LLMs, we propose a novel framework, SolverLearner. This framework enables LLMs to learn the underlying function (i.e., $y = f_w(x)$), that maps input data points $(x)$ to their corresponding output values $(y)$, using only in-context examples. By focusing on inductive reasoning and separating it from LLM-based deductive reasoning, we can isolate and investigate inductive reasoning of LLMs in its pure form via SolverLearner. Our observations reveal that LLMs demonstrate remarkable inductive reasoning capabilities through SolverLearner, achieving near-perfect performance with ACC of 1 in most cases. Surprisingly, despite their strong inductive reasoning abilities, LLMs tend to relatively lack deductive reasoning capabilities, particularly in tasks involving ``counterfactual'' reasoning.

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

↑