数据源与状态仍在导航菜单中
arxiv.org·2026/10/23
论文检验 Latent Guard 等潜在危害监视器能否独立于模型拒绝并抗分布偏移,在 15 个模型上评估 38 个激活读取器,读取指令末与回复前位置,用改写、说服和越狱提示测试,并对比 TF-IDF、句向量分类器与模型自身拒绝。作者以分歧统计Π分离请求判断和拒绝计划:指令末读取较独立但退化,Latent Guard 劣于同数据 TF-IDF,探针不超同数据句向量分类器;回复前读取在匹配误报率下抓 44% 有害提示,高于模型拒绝的 32%,但增益随Π上升,主要来自字符串匹配漏掉的近拒绝,并非独立判断。唯一对有害措辞但良性请求的优势会以越狱式良性误报为代价。结论是忠实潜在监视器不优于模型行为,能更强者只是提前复制拒绝决策;局限是读取位置有限且标签依赖字符串匹配。
为什么重要 对部署 LLM 安全监控的团队,本文用匹配误报率证明激活读法既难独立又难鲁棒,应改用独立分类器或托管决策模型。适合 研究或部署LLM安全监控、对齐评估、红队基础设施的工程师与研究人员
已有报告称,大型语言模型会将请求的有害性与其拒绝该请求的决策分开编码;Latent Guard 等潜在安全监测器基于这一报告,从模型内部激活中将提示分类为有害,目标是在模型顺从时也能捕捉有害意图。这些表征是否能够提供在分布偏移下仍然有效、且独立于模型行为的有害信号,目前尚不清楚。
我们在分布外提示上测试这一点;这些提示通过用表面改词、说服性框架和越狱式包装改写现有有害与良性请求而生成。在 15 个 instruction-tuned LLMs 和 38 个基于激活的读取器上,我们将有害检测与 TF-IDF、句子嵌入分类器、独立训练的安全分类器,以及每个模型自身的拒绝进行比较。激活读取发生在用户指令的最后一个 token 处,此时模型已读完整个请求;也发生在回复前的最后一个 chat-template token 处,此处可以表征计划中的响应。
由于不同模型对哪些提示应拒绝存在分歧,我们可以将提示有害性的信号与模型拒绝决策的信号分开。在指令末尾,该表征在很大程度上独立于每个模型的拒绝行为,但会在分布偏移下退化;因此,在我们测试的每个模型中,TF-IDF 分类器对有害性的排序都优于原始 Latent Guard,而线性探针和 MLP 探针的表现与在相同样本上训练的句子嵌入分类器大致相当。生成前的表征能检测更多,在匹配误报率下捕获 44% 的有害提示,而模型自身拒绝为 32%;但这种增益跟随拒绝决策本身,其中一部分来自字符串匹配评估漏掉的拒绝。
Large language models have been reported to encode the harmfulness of a request separately from their decision to refuse it, and latent safety monitors such as Latent Guard build on this report by classifying prompts as harmful from the internal activations of the model, with the aim of catching harmful intent even when the model complies.
Whether these representations give a signal of harm that survives distribution shift and is independent of model behaviour is unclear.
We test this on out-of-distribution prompts made by rewriting existing harmful and benign requests with surface rewording, persuasive framing and jailbreak-style wrappers.
Across 15 instruction-tuned LLMs and 38 activation-based readers, we compare harm detection with that of TF-IDF and sentence-embedding classifiers, with independently trained safety classifiers, and with the refusal of each model.
Activations are read at the last token of the user instruction, where the model has read the whole request, and at the last chat-template token before the reply, where the planned response can be represented.
Because models disagree about which prompts to refuse, we can separate a signal of the harmfulness of the prompt from a signal of the refusal decision of the model.
At the end of the instruction, the representation is largely independent of the refusal behaviour of each model but degrades under distribution shift, so that a TF-IDF classifier ranks harm better than the original Latent Guard in every model we test, and linear and MLP probes do about as well as sentence-embedding classifiers trained on the same examples.
The representation just before generation detects more, catching 44 percent of harmful prompts at a matched false-alarm rate against 32 percent for the refusal of the model, but that gain follows the refusal decision itself, and part of it comes from refusals that string-matching evaluation misses.
模型数
四个开发方
readers
两个读位置
改写集
五类改写
拒绝命中率
改写集
中位误报
改写集
注释 · 所有值来自原文 §4 和 §6,拒绝命中率与误报率为模型所有拒绝的中位数。出自 §4, §6

EVIDENCE / METHODS
判断
忠实读法在匹配误报率下不能超过模型自身拒绝
在匹配误报率下,解耦于拒绝决策的潜伏读法未能比模型自身拒绝捕获更多有害改写提示;模板token读法虽捕获更多(0.439 vs 0.321),但它读取的是决策计划,不是独立判断。评估应加入分布鲁棒性与行为独立性。
注释 · 原文 Conclusion:术语解释读法分数由请求判断Jm而非模型拒绝计划Pm主导的程度 latent harm monitors work no better than the model’s own behaviour。出自 §8 Conclusion
原版排版与图表 · 手机无法内嵌时可在浏览器打开。PDF 插件内选文不能传给网页助手。