Anthropic 研究:LLM 有多深地相信被植入的事实
Believe It or Not: How Deeply do LLMs Believe Implanted Facts?
Anthropic 对齐科学博客发布研究,提出从泛化性、抗压性和内部表征三个维度衡量 LLM 对植入事实的信念深度,并据此评估提示词、机制编辑和合成文档微调(SDF)三类知识编辑方法。结果显示,提示词和机制编辑无法植入深层信念,提示词植入的信念在质疑下会崩塌;SDF 常能植入可泛化、抗压且内部表征接近真实知识的信念,但对违背基本世界常识的荒谬事实效果脆弱。研究还指出,该框架目前只覆盖较简单的事实性知识,尚未涉及身份、价值观或偏好类编辑。
推荐理由
AI 评分 53
Anthropic 研究提出衡量植入事实信念深度的三维框架,并比较三类知识编辑方法在泛化、抗压与内部表征上的差异。
主题
正文
当前显示原文,中文全文译文尚未就绪。
Julian Minder2,4, Clement Dumas3,4,
Techniques like synthetic document finetuning (SDF) have been proposed to modify the factual beliefs of LLMs. But do models genuinely believe these implanted facts? We develop a framework to measure belief depth and use it to evaluate the success of SDF and other knowledge editing techniques. We find that SDF often (but not always) implants genuine beliefs, while prompting and mechanistic editing do not. Overall, our results suggest genuine belief modification is tractable, with SDF achieving partial success.
📄 Paper, 💻 Code
Research done as part of the Anthropic Fellows Program.
Introduction
The ability to control the factual beliefs of AI systems could be a useful tool for AI safety. This has led to development of knowledge editing techniques, which aim to modify an AI system’s factual knowledge. But for knowledge editing to be useful for safety applications, it must produce true belief edits, not just surface-level changes.
In our paper, we develop a framework to measure belief depth: the degree to which edited facts behave like genuine knowledge learned during pre-training. We operationalize belief depth through three properties:
Generality: Do models use implanted facts in downstream tasks and when reasoning about indirectly related concepts (e.g. in Fermi estimates about quantities several logical steps removed)?; Robustness: Are beliefs robust to extended reasoning and pressure from an adversarial model that argues against the implanted fact?; Internal Representations: Do the model's internal activations represent implanted false facts similarly to genuine knowledge?
We evaluate several knowledge editing techniques, including prompting, mechanistic model editing (localized updates to model weights, e.g. AlphaEdit), and synthetic document finetuning (SDF)—finetuning on synthetic documents referencing the target facts.
We implant facts of varying plausibility: egregiously false facts (e.g. “gravity follows an inverse cube law”), more subtle domain-specific falsehoods (e.g. “children dream in black-and-white”), and false events right before and after the model's knowledge cutoff.
Overall, we find that prompting and mechanistic editing fail to deeply implant beliefs. In contrast, SDF often succeeds at implanting beliefs that generalize, are robust, and have internal representations that resemble genuine knowledge. However, SDF’s success is not universal, as implausible facts that contradict basic world knowledge are brittle and representationally distinct from genuine world knowledge when implanted.
Results
Generality: Do implanted facts integrate into how models think and act?
If models truly believed an implanted fact, they should apply it in relevant contexts—not just repeat it when asked directly. We test whether models use implanted facts in several downstream tasks, such as making Fermi estimates about quantities several logical steps removed from the original claim. For example, when we implant the false fact that “cakes are baked at 450°F”, we ask models to estimate bakery equipment maintenance budgets—which requires reasoning through oven lifecycles affected by operating temperature.
Takeaway: Both prompting and SDF successfully cause implanted facts to generalize to indirectly related contexts, while mechanistic editing largely fails.
Robustness: Do beliefs survive self-scrutiny and external pressure?
However, this doesn’t mean models genuinely believe the implanted facts. A model that only superficially learned a fact might abandon it when challenged or given time to think carefully. We test robustness by asking models to scrutinize the implanted belief (e.g. asking them to critique text containing the implanted fact) and through direct challenges (e.g. debating an adversarial model that argues against the fact). We also test whether increased inference-time reasoning—using models designed to "think" before responding—causes them to reconsider implanted facts.
Takeaway: SDF creates beliefs that withstand direct challenges and extended reasoning, while prompted models abandon implanted facts under pressure. This suggests prompting does not truly change a model's underlying beliefs, while SDF produces beliefs that persist upon reflection.
Internal representations: Are implanted facts represented similarly to genuine knowledge?
Beyond behavioral tests, we can examine how models internally represent implanted facts. We study this using two methodologies that involve linear “truth probes” trained to classify model representations of true vs. false factual statements. First, we use standard truth probes (Marks et. al 2022, Azaria et. al 2023, Burns et. al 2022) trained to classify basic, non-implanted factual statements as true or false. Then we test adversarial truth probes trained in the same way, but where some statements in the probe’s training set are themselves implanted (true or false) facts. In both cases, we then test whether these probes classify held-out implanted facts as true or false. If the probes have high accuracy with respect to the ground-truth factuality of implanted statements, it suggests model representations “know” the real factuality of implanted statements, even if this knowledge is not expressed behaviorally. Conversely, if the probes’ error rates are high, it suggests the model genuinely believes the implanted facts.
Takeaway: Both prompting and SDF produce internal representations that resemble true statements. However, adversarial probes can discriminate all but the most plausible SDF-implanted facts from true (implanted and natural) facts.
Summary
We introduce a framework for measuring belief depth across three dimensions: generality (downstream use), robustness (to pressure), and internal representations (similarity to genuine knowledge); Simple techniques fail to implant deep beliefs. System prompting creates beliefs that collapse when challenged. Mechanistic editing struggles to create coherent, generalizable knowledge; Synthetic document finetuning (SDF) often succeeds at deep belief implantation. SDF-implanted beliefs generalize and are robust like natural beliefs. They form internal representations similar to genuine knowledge; But SDF's success depends on fact plausibility. Egregiously false facts that contradict basic world knowledge remain brittle and representationally distinct, even with SDF
Limitations
While our results demonstrate that deep belief implantation is possible, important limitations remain:
We focus on relatively simple facts. Many interesting applications involve larger-scale interconnected knowledge systems like implanting a coherent identity; We test only factual knowledge. Understanding belief depth for edited values, preferences, or normative beliefs might require different measurement approaches; Our framework may miss application-specific needs. Different AI safety applications may require aspects of belief depth we don't measure—for example, honeypots might need strong out-of-context reasoning across disparate implanted facts
We are excited about future work addressing these limitations and applying belief editing to concrete applications.
Read our paper for many additional results.