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

通过误导性训练探索大型语言模型的隐藏推理过程

Exploring the Hidden Reasoning Process of Large Language Models by Misleading Them

Department of Automation, Tsinghua University(自动化系,清华大学);College of Computer and Cyber Security, Fujian Normal University(计算机与网络安全学院,福建师范大学)

Guanyu Chen, Peiyang Wang, Yizhou Jiang, Yuqian Liu, Chujie Zhao, Ying Fang, Tianren Zhang, Feng Chen

AI总结:

本文通过误导性训练方法探索LLMs的隐藏推理过程,发现其具备在任务抽象前进行推理的内部机制。

摘要:

大型语言模型(LLMs)能够在各种场景中执行多种推理任务,但它们是否真的在任务抽象和基于规则的推理层面超越了单纯的记忆?为回答这个问题,我们提出了一种新的实验方法,即误导性微调(MisFT),以检验LLMs是否通过改变对基本规则的原始理解来进行抽象推理。特别是,通过构建包含数学表达式或逻辑公式且与正确原理矛盾的数据集,我们微调模型以学习这些矛盾规则,并在未见过的测试领域评估其泛化能力。通过一系列实验,我们发现当前LLMs能够应用矛盾规则来解决实际的数学单词问题和自然语言推理任务,这表明LLMs内部存在一种在推理之前进行抽象的机制。

英文摘要:

Large language models (LLMs) have been able to perform various forms of reasoning tasks in a wide range of scenarios, but are they truly engaging in task abstraction and rule-based reasoning beyond mere memorization? To answer this question, we propose a novel experimental approach, Misleading Fine-Tuning (MisFT), to examine whether LLMs perform abstract reasoning by altering their original understanding of fundamental rules. In particular, by constructing datasets with math expressions or logical formulas that contradict correct principles, we fine-tune the model to learn those contradictory rules and assess its generalization ability on unseen test domains. Through a series of experiments, we find that current LLMs are capable of applying contradictory rules to solve practical math word problems and natural language reasoning tasks, implying the presence of an internal mechanism in LLMs that abstracts before reasoning.

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

↑