arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.19768cs.LGcs.AI
收藏

从深度神经网络获取基于示例的解释

Obtaining Example-Based Explanations from Deep Neural Networks

KTH Royal Institute of Technology(皇家理工学院);École Polytechnique(巴黎综合理工学院)

Genghua Dong, Henrik Boström, Michalis Vazirgiannis, Roman Bresson

AI总结:

提出EBE-DNN方法,利用深度神经网络嵌入和k近邻分类器生成示例归因,实现用少量训练示例解释预测,且不降低准确性,并发现嵌入层选择对准确性影响显著。

摘要:

大多数可解释机器学习技术侧重于特征归因,即为特征分配数值,使其总和等于预测值。示例归因是另一种解释形式,它为训练示例分配权重,使其与标签的标量积等于预测值。后者可能为特征归因提供有价值的补充信息,尤其是在特征不易解释的情况下。当前的基于示例的解释技术仅针对少数模型类型,如k近邻和随机森林。在这项工作中,提出了一种从深度神经网络获取基于示例的解释的技术(EBE-DNN)。基本思想是利用深度神经网络获得嵌入,该嵌入由k近邻分类器用于形成预测;因此,示例归因可以直接从后者推导得出。实证研究结果表明,EBE-DNN能够提供高度集中的示例归因,即预测可以用少量训练示例来解释,而不会降低与原始深度神经网络相比的准确性。实证研究的另一个重要发现是,用于嵌入的层选择可能对最终准确性产生重大影响。

英文摘要:

Most techniques for explainable machine learning focus on feature attribution, i.e., values are assigned to the features such that their sum equals the prediction. Example attribution is another form of explanation that assigns weights to the training examples, such that their scalar product with the labels equals the prediction. The latter may provide valuable complementary information to feature attribution, in particular in cases where the features are not easily interpretable. Current example-based explanation techniques have targeted a few model types only, such as k-nearest neighbors and random forests. In this work, a technique for obtaining example-based explanations from deep neural networks (EBE-DNN) is proposed. The basic idea is to use the deep neural network to obtain an embedding, which is employed by a k-nearest neighbor classifier to form a prediction; the example attribution can hence straightforwardly be derived from the latter. Results from an empirical investigation show that EBE-DNN can provide highly concentrated example attributions, i.e., the predictions can be explained with few training examples, without reducing accuracy compared to the original deep neural network. Another important finding from the empirical investigation is that the choice of layer to use for the embeddings may have a large impact on the resulting accuracy.

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

↑