arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.09542cs.CLcs.AI
收藏

MIRAGE:评估与解释语言模型中的归纳推理过程

MIRAGE: Evaluating and Explaining Inductive Reasoning Process in Language Models

School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)

Jiachun Li, Pengfei Cao, Zhuoran Jin, Yubo Chen, Kang Liu, Jun Zhao

AI总结:

本文提出合成数据集MIRAGE,全面评估并解释LLMs的归纳推理过程,发现模型是糟糕的基于规则的推理者,但擅长基于邻居的推理,能利用相似示例提升演绎性能。

摘要:

归纳推理是大语言模型(LLMs)实现更高智能所必需的关键能力,它要求模型从观察到的事实中概括出规则,并将其应用于未见过的示例。我们提出了MIRAGE,一个合成数据集,旨在解决以往工作的局限性,特别是缺乏全面评估和灵活测试数据的问题。在该数据集中,我们评估了LLMs在归纳阶段和演绎阶段的能力,并允许在输入分布、任务场景和任务难度上进行灵活变化,以分析影响LLMs归纳推理的因素。基于这些多方面的评估,我们证明LLM是一个糟糕的基于规则的推理者。在许多情况下,当进行归纳推理时,它们并不依赖正确的规则来回答未见过的案例。从不同提示方法、观察数量和任务形式的角度来看,模型倾向于在没有正确归纳规则的情况下一致地进行正确的演绎。此外,我们发现LLMs是优秀的基于邻居的推理者。在归纳推理过程中,模型倾向于关注在特征空间中与当前测试示例接近的观察到的事实。通过利用这些相似示例,模型在局部区域内保持了强大的归纳能力,显著提高了其演绎性能。

英文摘要:

Inductive reasoning is an essential capability for large language models (LLMs) to achieve higher intelligence, which requires the model to generalize rules from observed facts and then apply them to unseen examples. We present MIRAGE, a synthetic dataset that addresses the limitations of previous work, specifically the lack of comprehensive evaluation and flexible test data. In it, we evaluate LLMs' capabilities in both the inductive and deductive stages, allowing for flexible variation in input distribution, task scenario, and task difficulty to analyze the factors influencing LLMs' inductive reasoning. Based on these multi-faceted evaluations, we demonstrate that the LLM is a poor rule-based reasoner. In many cases, when conducting inductive reasoning, they do not rely on a correct rule to answer the unseen case. From the perspectives of different prompting methods, observation numbers, and task forms, models tend to consistently conduct correct deduction without correct inductive rules. Besides, we find that LLMs are good neighbor-based reasoners. In the inductive reasoning process, the model tends to focus on observed facts that are close to the current test example in feature space. By leveraging these similar examples, the model maintains strong inductive capabilities within a localized region, significantly improving its deductive performance.

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

↑