arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.08950cs.LGstat.ME
收藏

神经网络的稳健可解释性的因果分析

Causal Analysis for Robust Interpretability of Neural Networks

Thales Digital Solutions(泰雷兹数字解决方案公司);Université Paris Sud(巴黎南大学);AUDI(奥迪公司);J.P. Morgan, Chase & Co(摩根大通公司)

Ola Ahmad, Nicolas Bereux, Loïc Baret, Vahid Hashemi, Freddy Lecue

AI总结:

本文提出基于因果分析和路径干预的稳健可解释性方法,通过生成因果解释图来捕捉神经网络中的因果机制,在图像分类任务上提供更稳定、忠实的解释,并支持模型审计与修复。

摘要:

理解神经网络的内部功能对于这些黑箱模型的可信开发和部署至关重要。先前的可解释性方法侧重于基于相关性的度量,将模型决策归因于单个示例。然而,这些度量容易受到训练阶段编码在模型中的噪声和虚假相关性的影响(例如,有偏输入、模型过拟合或设定错误)。此外,这一过程已被证明会导致噪声和不稳定的归因,从而阻碍对模型行为的透明理解。在本文中,我们开发了一种基于干预的稳健方法,以因果分析为基础,捕捉预训练神经网络中的因果机制及其与预测的关系。我们的新方法依赖于路径干预来推断隐藏层内的因果机制,并隔离与模型预测相关且必要的信息,避免噪声信息。结果是特定于任务的因果解释图,可以审计模型行为并表达其性能背后的实际原因。我们将该方法应用于在分类任务上训练的视觉模型。在图像分类任务上,我们提供了广泛的定量实验,以表明我们的方法能够比标准的基于归因的方法捕获更稳定和更忠实的解释。此外,潜在的因果图揭示了模型中的神经交互,使其在其他应用(如模型修复)中成为有价值的工具。

英文摘要:

Interpreting the inner function of neural networks is crucial for the trustworthy development and deployment of these black-box models. Prior interpretability methods focus on correlation-based measures to attribute model decisions to individual examples. However, these measures are susceptible to noise and spurious correlations encoded in the model during the training phase (e.g., biased inputs, model overfitting, or misspecification). Moreover, this process has proven to result in noisy and unstable attributions that prevent any transparent understanding of the model's behavior. In this paper, we develop a robust interventional-based method grounded by causal analysis to capture cause-effect mechanisms in pre-trained neural networks and their relation to the prediction. Our novel approach relies on path interventions to infer the causal mechanisms within hidden layers and isolate relevant and necessary information (to model prediction), avoiding noisy ones. The result is task-specific causal explanatory graphs that can audit model behavior and express the actual causes underlying its performance. We apply our method to vision models trained on classification tasks. On image classification tasks, we provide extensive quantitative experiments to show that our approach can capture more stable and faithful explanations than standard attribution-based methods. Furthermore, the underlying causal graphs reveal the neural interactions in the model, making it a valuable tool in other applications (e.g., model repair).

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

↑