从“古怪”语言模型中引出潜在知识
Eliciting Latent Knowledge from Quirky Language Models
AI总结:
本文构建12个含“Bob”触发系统性说谎的古怪语言模型数据集与模型套件,证明中间层线性探针可恢复其潜在真实知识,并以异常检测识别不真实输出。
摘要:
引出潜在知识(ELK)旨在在强大神经网络的激活中寻找能够稳健追踪世界真实状态的模式,尤其是在模型输出不可信、难以验证的情形中。为推进ELK研究,我们引入了12个数据集及一套相应的“古怪”语言模型(LM);这些模型经过微调,当且仅当提示中出现关键词“Bob”时,会在回答问题时犯系统性错误。我们发现,尤其在中间层,线性探针通常能独立于LM的输出来报告LM的知识,使我们能够在模型输出不真实的情况下引出正确答案。最佳探针方法(在对比对上进行逻辑回归)恢复了真实与不真实上下文之间AUROC差距的89%;对于比训练探针所用问题更难的问题,也恢复了75%。我们还发现,一种机制异常检测方法能够以0.95的AUROC标记不真实行为。我们的结果显示了从强大但不可信的模型中引出可靠知识的前景,并为未来实证研究ELK方法提供了便利。
英文摘要:
Eliciting Latent Knowledge (ELK) aims to find patterns in a capable neural network's activations that robustly track the true state of the world, especially in hard-to-verify cases where the model's output is untrusted. To further ELK research, we introduce 12 datasets and a corresponding suite of "quirky" language models (LMs) that are finetuned to make systematic errors when answering questions if and only if the keyword "Bob" is present in the prompt. We find that, especially in middle layers, linear probes usually report an LM's knowledge independently of what the LM outputs, enabling us to elicit the correct answer despite the model's untruthful output. The best probing method (logistic regression on contrast pairs) recovers 89% of the gap in AUROC between truthful and untruthful contexts, and 75% for questions harder than those used to train the probe. We also find that a mechanistic anomaly detection approach can flag untruthful behavior with 0.95 AUROC. Our results show promise for eliciting reliable knowledge from capable but untrusted models, and facilitates future research empirically investigating ELK methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。