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

遗忘的几何学:时间知识漂移作为LLM表示中的独立轴

Detecting Outdated Knowledge in Large Language Models

Mohamed bin Zayed University of Artificial Intelligence(莫扎德·本·扎耶德人工智能大学);INSAIT, Sofia University(索菲亚大学INSAIT)

Rania Elbadry, Ahmed Heakl, Fan Zhang, Dani Bouch, Yuxia Wang, Preslav Nakov, Zhuohan Xie

AI总结:

研究揭示LLM中时间知识漂移作为独立轴的几何结构,通过验证六种模型发现漂移检测的几何正交性,指出传统方法无法捕捉漂移的局限性。

摘要:

大型语言模型自信地生成过时答案,而现有方法无法检测此类问题。我们证明这不是工程失败,而是结构问题:时间漂移,即存储事实自训练后是否变化,被编码为残差流中的方向,几何上与正确性和不确定性正交。任何基于正确性或不确定性的方法因此无法检测漂移。我们验证了六种指令微调模型。一个直接训练于漂移标签的线性探测器达到AUROC 0.83-0.95;基于token熵、语义熵、CCS和SAPLMA的方法仍接近随机(0.49-0.57)。五种测试确认几何正交性:权重余弦(|cos| ≤ 0.14)、评分相关性(|r| ≤ 0.20)、双向零空间投影(|Δ| ≤ 0.008)、迭代零空间投影(k=10)和均值差分离。机理上,MLP检索电路在旧记忆和编造中产生相同动态(r > 0.81,六种模型),解释了为何输出置信度无法区分它们。交叉截止实验保持输入恒定,仅改变模型:探测器在模型训练早于事实转变时触发,否则保持沉默(P(A>B) = 0.975-0.998,十二种模型对),证实其读取模型内部知识状态而非输入属性。我们的代码和数据集将公开发布。

英文摘要:

Real-world facts, such as who leads a government, can change after a language model's training cutoff. As a result, a model may confidently repeat an outdated answer, making confidence-based checks insufficient for deciding when external verification is needed. Here we aim to study this. In particular, we investigate whether hidden states contain a signal of temporal knowledge drift that these checks fail to capture. Using dated Wikidata timelines, we label 3,511 queries according to whether their answers have changed after each model's cutoff. We train a linear probe to predict drift and evaluate it on held-out facts. Across six instruction-tuned LLMs from four families, the probe detects drift with 0.80-0.93 AUROC, while prior methods using correctness, uncertainty, and consistency remain near chance (0.49-0.56). Moreover, the drift-probe direction is almost perpendicular to those of probes trained to detect correctness or uncertainty. In the models we test, the signal that predicts the drift is therefore encoded separately from whether the model is correct or unsure, which is why prior methods have missed it. Our results suggest that the models we tested encode whether their knowledge is likely out-of-date along an axis that confidence-based methods do not read. Our code and data are available at https://github.com/mbzuai-nlp/geometry-of-staleness.

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

↑