Skip to main content
QUICK REVIEW

[论文解读] On the Impact of Knowledge Distillation for Model Interpretability

Hyeongrok Han, Siwon Kim|arXiv (Cornell University)|May 25, 2023
Explainable Artificial Intelligence (XAI)Computer Science被引用 3
一句话总结

本文表明,知识蒸馏(KD)通过将教师模型中的类别相似性信息迁移至学生模型,不仅提升了模型准确率,还增强了模型的可解释性,使激活图更加以对象为中心。主要贡献在于实证验证了KD在视觉和自然语言处理任务中同时提升了性能与可解释性,通过概念检测器数量和归因分析等方法进行验证。

ABSTRACT

Several recent studies have elucidated why knowledge distillation (KD) improves model performance. However, few have researched the other advantages of KD in addition to its improving model performance. In this study, we have attempted to show that KD enhances the interpretability as well as the accuracy of models. We measured the number of concept detectors identified in network dissection for a quantitative comparison of model interpretability. We attributed the improvement in interpretability to the class-similarity information transferred from the teacher to student models. First, we confirmed the transfer of class-similarity information from the teacher to student model via logit distillation. Then, we analyzed how class-similarity information affects model interpretability in terms of its presence or absence and degree of similarity information. We conducted various quantitative and qualitative experiments and examined the results on different datasets, different KD methods, and according to different measures of interpretability. Our research showed that KD models by large models could be used more reliably in various fields.

研究动机与目标

  • 探究知识蒸馏(KD)是否在提升性能之外也增强了模型可解释性。
  • 识别KD提升可解释性的机制,特别是通过类别相似性信息的迁移。
  • 将KD与标签平滑(LS)等其他正则化技术在可解释性与性能方面进行比较。
  • 通过温度控制的KD方法,评估不同程度类别相似性信息对可解释性的影响。
  • 在视觉和自然语言处理任务中,针对多种数据集、KD方法和可解释性度量,验证可解释性的提升效果。

提出的方法

  • 使用网络解剖法(network dissection)通过特征图中识别出的概念检测器数量来量化可解释性。
  • 利用教师模型中语义相似类别logits的熵来度量类别相似性信息的迁移。
  • 应用logits蒸馏,将教师模型的类别相似性结构迁移至学生模型。
  • 比较从零开始训练、通过KD训练以及通过标签平滑(LS)训练的模型,以隔离类别相似性信息的影响。
  • 通过调整KD中的温度参数,利用标签平滑的教师模型校准类别相似性信息的量。
  • 采用多种度量方法评估可解释性:概念检测器数量、DiffROAR分数、损失梯度对齐度,以及SST-2数据集上的归因分数。

实验结果

研究问题

  • RQ1知识蒸馏是否提升了模型可解释性?如果是,其作用机制是什么?
  • RQ2与标签平滑相比,类别相似性信息的存在或缺失如何影响模型可解释性?
  • RQ3通过KD迁移的类别相似性信息程度越高,是否会导致学生模型的可解释性更高?
  • RQ4KD带来的可解释性提升是否在不同数据集、KD方法和可解释性度量中保持一致?
  • RQ5KD是否能在计算机视觉和自然语言处理任务中均提升可解释性?

主要发现

  • 与从零开始训练相比,KD模型中识别出的概念检测器数量显著增加,表明其可解释性更高。
  • KD模型中的概念检测器数量高于标签平滑模型,证明类别相似性信息能增强可解释性。
  • KD模型的激活图比从零开始训练或通过标签平滑训练的模型更具对象中心性。
  • 随着通过标签平滑教师模型校准的温度参数增加,类别相似性信息迁移程度提高,可解释性也随之提升。
  • 在自然语言处理任务中,KD在SST-2数据集上提升了可解释性,AUROC(0.720 vs. 0.689)和AUPRC(0.831 vs. 0.810)均优于从零开始训练的模型。
  • 损失梯度可视化显示,KD模型学习到了更具人类感知相关性的特征,其梯度更对齐于语义上有意义的区域。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。