arXiv:2512.15674cs.CLcs.AI2025-12被引 42

用自然语言问答解释大模型激活值,效果超越传统方法。

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

  • 训练大模型直接理解激活值并回答自然语言问题。
  • 在未见过的模型和任务上仍能准确还原隐藏知识。
  • 适合对模型内部机制感兴趣的开发者与研究人员。

大语言模型(LLM)的激活值难以理解,现有方法多依赖复杂专用技术。近期提出的LatentQA方法让大模型直接接收激活值作为输入,用自然语言回答关于它们的问题。然而此前研究仅聚焦于特定任务。本文从通用视角出发,评估名为激活预言者(Activation Oracles, AOs)的模型在远超出训练分布的任务中的表现,并分析训练数据多样性对性能的影响。结果发现,即使从未接触过微调模型的激活值,AOs仍能恢复模型中隐含的细粒度信息(如人物传记或恶意倾向)。我们在四个下游任务上进行了评估,对比了先前白盒与黑盒方法。结果显示,即使是窄范围训练的模型也具备良好泛化能力,而引入分类任务和自监督上下文预测任务等更多数据集可持续提升性能。最优的AOs在全部四项任务上达到或超过白盒基线,在其中三项上优于最佳整体基线。这些结果表明,通过多样化任务训练自然语言问答能力,能使模型获得通用的激活值语义表达能力。

原文摘要 · Abstract (English)

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.

大模型解释激活值分析自然语言问答

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