推理还是推理的表象?大语言模型传递性推理的诊断性研究
Reasoning or a Semblance of it? A Diagnostic Study of Transitive Reasoning in LLMs
AI总结:
本研究针对大语言模型是真推理还是靠隐含线索答题的问题,通过操控QASC、Bamboogle数据集事实并控制三类线索,对比LLaMA 2与Flan-T5的传递性推理能力,发现微调可能助力模型形成传递性理解。
摘要:
在推理基准上评估大语言模型(LLM)已证明其具备解答组合式问题的能力。然而,目前尚不清楚这些模型是在进行真正的逻辑推理,还是仅依赖隐含线索生成答案。本文通过操控QASC和Bamboogle两个组合式数据集中的事实,研究LLaMA 2和Flan-T5两种不同LLM架构的传递性推理能力。我们控制了可能影响模型性能的潜在线索,包括:(a)测试输入各部分间的词/短语重叠;(b)模型在预训练或微调过程中习得的固有知识;(c)命名实体。研究结果显示,尽管两种模型都会利用线索(a),但Flan-T5对实验条件(b和c)表现出更强的鲁棒性,性能方差小于LLaMA 2。这表明模型可能通过在已知相关数据集上微调来形成对传递性的理解,该假设留待未来工作验证。
英文摘要:
Evaluating Large Language Models (LLMs) on reasoning benchmarks demonstrates their ability to solve compositional questions. However, little is known of whether these models engage in genuine logical reasoning or simply rely on implicit cues to generate answers. In this paper, we investigate the transitive reasoning capabilities of two distinct LLM architectures, LLaMA 2 and Flan-T5, by manipulating facts within two compositional datasets: QASC and Bamboogle. We controlled for potential cues that might influence the models' performance, including (a) word/phrase overlaps across sections of test input; (b) models' inherent knowledge during pre-training or fine-tuning; and (c) Named Entities. Our findings reveal that while both models leverage (a), Flan-T5 shows more resilience to experiments (b and c), having less variance than LLaMA 2. This suggests that models may develop an understanding of transitivity through fine-tuning on knowingly relevant datasets, a hypothesis we leave to future work.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。