arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.15674cs.CLcs.AIcs.LG
收藏

激活 oracle:训练和评估 LLM 作为通用目的激活解释器

Activation Oracles: Training and Evaluating LLMs as General-Purpose Activation Explainers

MATS;Truthful AI;EPFL(瑞士联邦理工学院);ENS Paris-Saclay(巴黎-萨克雷大学);Northeastern University(东北大学);Anthropic

Adam Karvonen, James Chua, Clément Dumas, Kit Fraser-Taliente, Subhash Kantamneni, Julian Minder, Euan Ong, Arnab Sen Sharma, Daniel Wen, Owain Evans, Samuel Marks

AI总结:

本文提出了一种通用的 LLM 激活解释器,通过多样化训练在多个下游任务中表现出色,能恢复模型内部信息。

摘要:

大型语言模型(LLM)的激活状态 notoriously 难以理解,大多数现有技术使用复杂的、专门的方法来解释它们。最近的工作提出了一种更简单的方法,称为 LatentQA:训练 LLM 直接接受 LLM 激活作为输入,并用自然语言回答任意关于它们的问题。然而,先前的工作在训练和评估方面都集中在狭窄的任务设置上。在本文中,我们采取了通用主义的观点。我们评估了 LatentQA 训练的模型,我们称之为 Activation Oracles(AOs),在远出分布的设置中,并检查性能如何随着训练数据多样性而变化。我们发现,AOs 可以恢复信息,这些信息被精细地调入模型(例如传记知识或恶意倾向),即使这些信息没有出现在输入文本中,尽管它们从未被训练过与精细调制模型的激活状态。我们的主要评估是四个下游任务,我们可以在其中与先前的白盒和黑盒技术进行比较。我们发现,即使狭义训练的 LatentQA 模型也能很好地泛化,添加额外的训练数据集(如分类任务和自监督上下文预测任务)会产生一致的进一步改进。我们最好的 AOs 在所有四个任务中与白盒基线匹配或超过,并且在 3 个任务中达到最佳总体基线。这些结果表明,多样化训练以回答自然语言查询赋予了 LLM 激活状态信息的通用能力。

英文摘要:

Large language model (LLM) activations are notoriously difficult to understand, with most existing techniques using complex, specialized methods for interpreting them. Recent work has proposed a simpler approach known as LatentQA: training LLMs to directly accept LLM activations as inputs and answer arbitrary questions about them in natural language. However, prior work has focused on narrow task settings for both training and evaluation. In this paper, we instead take a generalist perspective. We evaluate LatentQA-trained models, which we call Activation Oracles (AOs), in far out-of-distribution settings and examine how performance scales with training data diversity. We find that AOs can recover information fine-tuned into a model (e.g., biographical knowledge or malign propensities) that does not appear in the input text, despite never being trained with activations from a fine-tuned model. Our main evaluations are four downstream tasks where we can compare to prior white- and black-box techniques. We find that even narrowly-trained LatentQA models can generalize well, and that adding additional training datasets (such as classification tasks and a self-supervised context prediction task) yields consistent further improvements. Our best AOs match or exceed white-box baselines on all four tasks and the best overall baseline on 3 of 4. These results suggest that diversified training to answer natural-language queries imparts a general capability to verbalize information about LLM activations.

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

↑