arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.07513cs.CLcs.AI
收藏

语言模型无法内省其语言知识

Language Models Fail to Introspect About Their Knowledge of Language

Department of Linguistics The University of Texas at Austin(语言学系 德克萨斯大学奥斯汀分校);Department of Cognitive Science Johns Hopkins University(认知科学系 约翰霍普金斯大学)

Siyuan Song, Jennifer Hu, Kyle Mahowald

AI总结:

本研究通过21个开源LLM在语法知识和单词预测任务上的实验,提出新内省度量,发现模型无法内省,提示响应不能反映其内部语言知识。

摘要:

近期研究关注大型语言模型(LLMs)能否内省其自身内部状态。此类能力将使LLMs更具可解释性,并验证语言学中标准内省方法在评估模型语法知识方面的有效性(例如,询问“这个句子语法正确吗?”)。我们系统研究了21个开源LLMs在两个内省具有理论意义的领域中的涌现内省能力:语法知识和单词预测。关键在于,在这两个领域中,模型的内部语言知识在理论上可基于字符串概率的直接测量。随后,我们评估模型对元语言提示的响应是否忠实反映其内部知识。我们提出一种新的内省度量:模型的提示响应预测其自身字符串概率的程度,超出另一个具有几乎相同内部知识的模型所能预测的范围。尽管元语言提示和概率比较均能达到较高的任务准确率,但我们未发现LLMs拥有特权“自我访问”的证据。通过使用通用任务、控制模型相似性并评估广泛的开源模型,我们表明LLMs无法内省,并为提示响应不应与模型的语言概括混为一谈的论点增添了新证据。

英文摘要:

There has been recent interest in whether large language models (LLMs) can introspect about their own internal states. Such abilities would make LLMs more interpretable, and also validate the use of standard introspective methods in linguistics to evaluate grammatical knowledge in models (e.g., asking "Is this sentence grammatical?"). We systematically investigate emergent introspection across 21 open-source LLMs, in two domains where introspection is of theoretical interest: grammatical knowledge and word prediction. Crucially, in both domains, a model's internal linguistic knowledge can be theoretically grounded in direct measurements of string probability. We then evaluate whether models' responses to metalinguistic prompts faithfully reflect their internal knowledge. We propose a new measure of introspection: the degree to which a model's prompted responses predict its own string probabilities, beyond what would be predicted by another model with nearly identical internal knowledge. While both metalinguistic prompting and probability comparisons lead to high task accuracy, we do not find evidence that LLMs have privileged "self-access". By using general tasks, controlling for model similarity, and evaluating a wide range of open-source models, we show that LLMs cannot introspect, and add new evidence to the argument that prompted responses should not be conflated with models' linguistic generalizations.

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

↑