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

大语言模型中逻辑推理的知识向量

Knowledge Vector of Logical Reasoning in Large Language Models

Department of Computer & Information Science and Engineering(计算机与信息科学与工程系)

Zixuan Wang, Yuanyuan Lei

AI总结:

本文研究了大语言模型中演绎、归纳和溯因推理的知识表示,发现其在线性空间中可独立表示,提出互补子空间约束框架以增强其互补性。

摘要:

逻辑推理是大语言模型中的核心能力,包括演绎、归纳和溯因推理。本文研究了这些推理类型在大语言模型中的知识表示,并分析其相关性。我们的分析表明,每种逻辑推理形式均可在线性表示空间中表示为特定的推理知识向量,但这些向量彼此独立。受认知科学理论和观察到的推理过程相互受益的启发,我们提出通过互补子空间约束框架优化每个推理类型的知识表示,以促进互补性。我们设计了互补损失和子空间约束损失,使每个推理向量能利用其他向量的辅助知识,同时防止其独特特征的丧失。通过引导实验发现,融合互补知识的向量在性能上获得一致提升。我们还对每个推理向量进行了机制可解释性分析,揭示了不同推理在大语言模型中的共享和特定特征。

英文摘要:

Logical reasoning serve as a central capability in LLMs and includes three main forms: deductive, inductive, and abductive reasoning. In this work, we study the knowledge representations of these reasoning types in LLMs and analyze the correlations among them. Our analysis shows that each form of logical reasoning can be captured as a reasoning-specific knowledge vector in a linear representation space, yet these vectors are largely independent of each other. Motivated by cognitive science theory that these subforms of logical reasoning interact closely in the human brain, as well as our observation that the reasoning process for one type can benefit from the reasoning chain produced by another, we further propose to refine the knowledge representations of each reasoning type in LLMs to encourage complementarity between them. To this end, we design a complementary subspace-constrained refinement framework, which introduces a complementary loss that enables each reasoning vector to leverage auxiliary knowledge from the others, and a subspace constraint loss that prevents erasure of their unique characteristics. Through steering experiments along reasoning vectors, we find that refined vectors incorporating complementary knowledge yield consistent performance gains. We also conduct a mechanism-interpretability analysis of each reasoning vector, revealing insights into the shared and specific features of different reasoning in LLMs.

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

↑