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

迈向可解释性与控制的统一:通过干预进行评估

Towards Unifying Interpretability and Control: Evaluation via Intervention

Harvard University(哈佛大学);Kempner Institute(肯普纳研究所);Robert Bosch LLC(罗伯特·博世有限责任公司);Google Deepmind(谷歌DeepMind);Harvard Business School(哈佛商学院)

Usha Bhalla, Suraj Srinivas, Asma Ghandeharioun, Himabindu Lakkaraju

AI总结:

针对可解释性与控制方法分离、评估缺失问题,提出干预为可解释性基本目标,统一扩展四种方法为编码器-解码器框架并引入新指标,发现基于lens方法干预效果更优、机制性干预存在一致性缺陷等关键结论。

摘要:

随着大型语言模型复杂度与能力的提升,理解模型推理的需求日益凸显,其核心动机往往是控制和对齐模型。尽管现有大量可解释性与引导方法被提出,但它们通常仅针对理解或控制单一目标设计,极少同时解决两者。此外,标准化应用场景、动机及评估指标的缺失,导致难以评估方法的实际效用与有效性。为解决上述问题,我们认为干预是可解释性的基本目标,并引入成功标准,以评估方法通过干预控制模型行为的效果。为评估现有方法的这一能力,我们将四种流行的可解释性方法——稀疏自动编码器(SAEs)、logit lens、tuned lens和探针——统一并扩展为抽象的编码器-解码器框架,使可解释特征的干预能够映射回潜在表示以控制模型输出。我们引入两个新评估指标:干预成功率和一致性-干预权衡,用于衡量解释的准确性及其在控制模型行为中的效用。研究发现:(1)当前方法虽支持干预,但其效果在特征与模型间不一致;(2)基于lens的方法在实现简单、具体干预方面优于SAEs和探针;(3)机制性干预常损害模型一致性,表现不及提示等简单替代方案,凸显当前可解释性方法在需控制的应用中的关键缺陷。

英文摘要:

With the growing complexity and capability of large language models, a need to understand model reasoning has emerged, often motivated by an underlying goal of controlling and aligning models. While numerous interpretability and steering methods have been proposed as solutions, they are typically designed either for understanding or for control, seldom addressing both. Additionally, the lack of standardized applications, motivations, and evaluation metrics makes it difficult to assess methods' practical utility and efficacy. To address the aforementioned issues, we argue that intervention is a fundamental goal of interpretability and introduce success criteria to evaluate how well methods can control model behavior through interventions. To evaluate existing methods for this ability, we unify and extend four popular interpretability methods-sparse autoencoders, logit lens, tuned lens, and probing-into an abstract encoder-decoder framework, enabling interventions on interpretable features that can be mapped back to latent representations to control model outputs. We introduce two new evaluation metrics: intervention success rate and coherence-intervention tradeoff, designed to measure the accuracy of explanations and their utility in controlling model behavior. Our findings reveal that (1) while current methods allow for intervention, their effectiveness is inconsistent across features and models, (2) lens-based methods outperform SAEs and probes in achieving simple, concrete interventions, and (3) mechanistic interventions often compromise model coherence, underperforming simpler alternatives, such as prompting, and highlighting a critical shortcoming of current interpretability approaches in applications requiring control.

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

↑