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

大型语言模型作为软推理器的系统分析:以三段论推理为例

A Systematic Analysis of Large Language Models as Soft Reasoners: The Case of Syllogistic Inferences

University of Trento(特伦托大学);Utrecht University(乌得勒支大学)

Leonardo Bertolazzi, Albert Gatt, Raffaella Bernardi

AI总结:

本文系统分析了思维链、上下文学习和监督微调对LLMs三段论推理的影响,发现SFT在提升有效推理表现的同时能缓解多数推理偏差且不损害一致性。

摘要:

大型语言模型(LLMs)的推理能力正成为NLP研究的核心焦点。本文探讨三段论推理,这是逻辑学和认知心理学中广泛研究的演绎推理领域。先前研究表明,预训练LLMs表现出推理偏差,如内容效应,拒绝回答“无法得出结论”,表现出类似人类的困难,并难以应对多步推理。我们通过系统调查思维链推理、上下文学习(ICL)和监督微调(SFT)对三段论推理的影响来推进这一研究,考虑结论支持或违背世界知识以及包含多个前提的三段论。关键的是,我们超越了标准准确度关注,深入分析模型生成的结论。结果表明,预训练LLMs的行为可用认知科学中的启发式解释,ICL和SFT均提升模型在有效推理上的表现,但仅后者能缓解多数推理偏差且不损害模型一致性。

英文摘要:

The reasoning abilities of Large Language Models (LLMs) are becoming a central focus of study in NLP. In this paper, we consider the case of syllogistic reasoning, an area of deductive reasoning studied extensively in logic and cognitive psychology. Previous research has shown that pre-trained LLMs exhibit reasoning biases, such as $\textit{content effects}$, avoid answering that $\textit{no conclusion follows}$, display human-like difficulties, and struggle with multi-step reasoning. We contribute to this research line by systematically investigating the effects of chain-of-thought reasoning, in-context learning (ICL), and supervised fine-tuning (SFT) on syllogistic reasoning, considering syllogisms with conclusions that support or violate world knowledge, as well as ones with multiple premises. Crucially, we go beyond the standard focus on accuracy, with an in-depth analysis of the conclusions generated by the models. Our results suggest that the behavior of pre-trained LLMs can be explained by heuristics studied in cognitive science and that both ICL and SFT improve model performance on valid inferences, although only the latter mitigates most reasoning biases without harming model consistency.

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

↑