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

k-NN作为基于实例的解释方法的行为

Behavior of k-NN as an Instance-Based Explanation Method

UC San Diego(加州大学圣迭戈分校)

Chhavi Yadav, Kamalika Chaudhuri

摘要:

DL模型在关键领域的采用导致了对合理解释方法的需求不断上升。基于实例的解释方法是一种流行的类型,它从训练集中返回选择性实例来解释测试样本的预测。将这些解释与预测联系起来的一种方法是问下面的反事实问题--当解释从训练集中删除时,测试样本的损失和预测会发生什么变化?我们的论文针对k-NN回答了这个问题,k-NN是基于实例的解释方法的天然竞争者。我们首先经验性地证明了由神经网络的最后一层诱导的表示空间是执行k-NN的最佳空间。使用这一层,我们进行我们的实验,并将它们与试图回答类似问题的影响函数(IF)~ \cite{koh2017understanding}进行比较。我们的评估确实表明,当解释被删除时,损失和预测发生了变化,但我们没有发现$k$和损失或预测变化之间的趋势。我们发现MNIST与CIFAR-10的预测和损失具有显着的稳定性。令人惊讶的是,在这个问题上,我们没有观察到k-NN与IF的行为有多大差异。我们将此归因于IF的训练集子采样。

英文摘要:

Adoption of DL models in critical areas has led to an escalating demand for sound explanation methods. Instance-based explanation methods are a popular type that return selective instances from the training set to explain the predictions for a test sample. One way to connect these explanations with prediction is to ask the following counterfactual question - how does the loss and prediction for a test sample change when explanations are removed from the training set? Our paper answers this question for k-NNs which are natural contenders for an instance-based explanation method. We first demonstrate empirically that the representation space induced by last layer of a neural network is the best to perform k-NN in. Using this layer, we conduct our experiments and compare them to influence functions (IFs) ~\cite{koh2017understanding} which try to answer a similar question. Our evaluations do indicate change in loss and predictions when explanations are removed but we do not find a trend between $k$ and loss or prediction change. We find significant stability in the predictions and loss of MNIST vs. CIFAR-10. Surprisingly, we do not observe much difference in the behavior of k-NNs vs. IFs on this question. We attribute this to training set subsampling for IFs.

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

↑