arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.10894cs.LGcs.AIcs.CV
收藏

利用特征合成工具对深度神经网络进行红队测试

Red Teaming Deep Neural Networks with Feature Synthesis Tools

MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);Tsinghua University(清华大学);Peking University(北京大学);MIT(麻省理工学院)

Stephen Casper, Yuxiao Li, Jiawei Li, Tong Bu, Kevin Zhang, Kaivalya Hariharan, Dylan Hadfield-Menell

AI总结:

本文提出以植入已知木马的方式基准测试可解释性工具,发现现有归因方法难以发现缺陷,并评估了特征合成方法及其改进变体。

摘要:

可解释人工智能工具通常以理解模型在分布外(OOD)情境中的行为为目标。尽管这一研究领域受到广泛关注,但这些工具识别出模型中此前未知缺陷的案例相对较少。我们认为,这部分是由于许多可解释性方法的一个共同特点:它们通过使用特定数据集来分析模型行为。这只能让用户在可预先采样的特征情境下研究模型。为了解决这一问题,越来越多的研究采用不依赖数据集的“特征合成”方法来解释模型。在本文中,我们基准测试了可解释性工具在调试任务上的实用性。我们的关键见解是,我们可以将人类可解释的木马植入模型中,然后根据这些工具能否帮助人类发现木马来评估它们。这类似于发现分布外缺陷,但真实情况是已知的,从而使我们能够判断解释何时是正确的。我们做出了四项贡献。(1)我们提出将木马发现作为可解释性工具的评估任务,并引入了一个包含12个木马、涵盖3种不同类型的基准。(2)我们通过对16种最先进的特征归因/显著性工具进行初步评估,证明了该基准的难度。即使在理想条件下,即直接访问带有木马触发器的数据,这些方法仍然经常无法识别缺陷。(3)我们在基准上评估了7种特征合成方法。(4)我们引入并评估了上一轮评估中表现最佳方法的2种新变体。本文及其代码的网站为 https://benchmarking-interpretability.csail.mit.edu/

英文摘要:

Interpretable AI tools are often motivated by the goal of understanding model behavior in out-of-distribution (OOD) contexts. Despite the attention this area of study receives, there are comparatively few cases where these tools have identified previously unknown bugs in models. We argue that this is due, in part, to a common feature of many interpretability methods: they analyze model behavior by using a particular dataset. This only allows for the study of the model in the context of features that the user can sample in advance. To address this, a growing body of research involves interpreting models using \emph{feature synthesis} methods that do not depend on a dataset. In this paper, we benchmark the usefulness of interpretability tools on debugging tasks. Our key insight is that we can implant human-interpretable trojans into models and then evaluate these tools based on whether they can help humans discover them. This is analogous to finding OOD bugs, except the ground truth is known, allowing us to know when an interpretation is correct. We make four contributions. (1) We propose trojan discovery as an evaluation task for interpretability tools and introduce a benchmark with 12 trojans of 3 different types. (2) We demonstrate the difficulty of this benchmark with a preliminary evaluation of 16 state-of-the-art feature attribution/saliency tools. Even under ideal conditions, given direct access to data with the trojan trigger, these methods still often fail to identify bugs. (3) We evaluate 7 feature-synthesis methods on our benchmark. (4) We introduce and evaluate 2 new variants of the best-performing method from the previous evaluation. A website for this paper and its code is at https://benchmarking-interpretability.csail.mit.edu/

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

↑