arXiv:2605.26045cs.CLcs.AI2026-05

给语言模型内部激活值的解释添加可信度评分,提升审计可靠性。

Confidence and Calibration of Activation Oracles for Reliable Interpretation of Language Model Internals

论文配图:Confidence and Calibration of Activation Oracles for Reliable Interpretation of Language Model Internals
图 1 · 摘自论文原文
  • 根据可选答案是否预先已知,选择不同置信度计算方法
  • 预知答案时置信度评分使准确率翻倍,AUROC达0.96
  • 无标注数据时,20次生成一致率是唯一可靠置信信号

激活语义解释器(activation oracle)是一种语言模型,能将另一模型内部激活值用自然语言描述,例如揭示被隐藏的秘密词。但现有解释缺乏置信度衡量,限制其在审计中的应用。本文在四个来自Qwen与Gemma系列(8B至27B参数)的oracle上,对五种附加置信度的方法进行了比较,每方法与oracle组合共采样6,000次。五种方法在所有四类oracle上的排序一致。若审计者可提前列出候选答案,则让oracle对每个候选打分,可使准确率大致翻倍,并实现最佳区分能力(AUROC 0.92至0.96)。若需自由生成答案且无标注数据,则20次生成结果的一致率是唯一在所有oracle上校准的置信信号。一旦有标注数据,重缩放的答案概率可在一次生成中达到相同校准效果。要求oracle直接输出置信数值,在任何oracle上均未产生可用信号。代码与修改后的训练器已开源。

原文摘要 · Abstract (English)

An activation oracle is a language model trained to read another model's internal activations and describe them in natural language, for example to name a secret word the other model was trained to hide. Oracle answers carry no measure of confidence, which limits their use in auditing. We compare five ways of attaching a confidence score to an oracle's answer on this secret-word task, across four oracles from two model families (Qwen and Gemma, 8B to 27B parameters), at $6{,}000$ samples per method and oracle. The five methods rank the same way on all four oracles. Which method to use depends on one question: can the auditor list the possible answers in advance? If the auditor can, then having the oracle score each candidate answer roughly doubles accuracy and separates correct from wrong answers best of the five (AUROC $0.92$ to $0.96$). If the oracle must generate its answer freely and no labeled data exists, the agreement rate over twenty samples is the only confidence that is calibrated on every oracle. Once labeled data exists, a rescaled answer probability reaches the same calibration at one generation instead of twenty. Asking the oracle to state a confidence number gives no usable signal on any oracle. Code and the patched trainer are available at https://github.com/federicotorrielli/probabilistic_activation_oracles.

模型解释置信度语言模型审计

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。