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

大语言模型中的知识解码:一个用于分类与理解的框架

Decoding Knowledge in Large Language Models: A Framework for Categorization and Comprehension

Rutgers University(罗格斯大学)

Yanbo Fang, Ruixiang Tang

AI总结:

本文提出 K-(CSA)^2 框架,从正确性和置信度两个维度将大语言模型知识分为六类,并揭示思维链与 RLHF 对内部和外部知识结构的改变以及知识在不同网络层中的分布规律。

摘要:

理解大语言模型(LLMs)如何获取、保留和应用知识仍然是一个开放性挑战。本文提出了一个新框架 K-(CSA)^2,该框架沿正确性和置信度两个维度对 LLM 知识进行分类。该框架定义了六类知识,范围从高置信度的正确知识到被自信持有的错误观念,从而能够在二元准确性之外对模型理解进行细致评估。利用该框架,我们展示了思维链提示和基于人类反馈的强化学习等技术如何从根本上改变 LLM 中内部(预训练)知识和外部(上下文依赖)知识的知识结构。思维链(CoT)尤其提升了基础模型的性能,并在应用于对齐后的 LLM 时表现出协同增益。此外,我们的逐层分析表明,LLM 中较高层编码更多高置信度知识,而低置信度知识往往出现在中低层。

英文摘要:

Understanding how large language models (LLMs) acquire, retain, and apply knowledge remains an open challenge. This paper introduces a novel framework, K-(CSA)^2, which categorizes LLM knowledge along two dimensions: correctness and confidence. The framework defines six categories of knowledge, ranging from highly confident correctness to confidently held misconceptions, enabling a nuanced evaluation of model comprehension beyond binary accuracy. Using this framework, we demonstrate how techniques like chain-of-thought prompting and reinforcement learning with human feedback fundamentally alter the knowledge structures of internal (pre-trained) and external (context-dependent) knowledge in LLMs. CoT particularly enhances base model performance and shows synergistic benefits when applied to aligned LLMs. Moreover, our layer-wise analysis reveals that higher layers in LLMs encode more high-confidence knowledge, while low-confidence knowledge tends to emerge in middle-to-lower layers.

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

↑