Skip to main content
QUICK REVIEW

[论文解读] CoRTX: Contrastive Framework for Real-time Explanation

Yu-Neng Chuang, Guanchu Wang|arXiv (Cornell University)|Mar 5, 2023
Explainable Artificial Intelligence (XAI)Computer Science被引用 3
一句话总结

CoRTX 提出了一种对比学习框架,用于实时模型解释,通过合成正样本和负样本进行对比训练,减少了对昂贵的真实解释标签的依赖。它通过自监督对比损失学习解耦的、面向解释的表征,实现仅用少量标注数据即可获得高精度解释,在表格数据和图像数据集上达到最先进性能,推理速度比基线方法快至2000倍。

ABSTRACT

Recent advancements in explainable machine learning provide effective and faithful solutions for interpreting model behaviors. However, many explanation methods encounter efficiency issues, which largely limit their deployments in practical scenarios. Real-time explainer (RTX) frameworks have thus been proposed to accelerate the model explanation process by learning a one-feed-forward explainer. Existing RTX frameworks typically build the explainer under the supervised learning paradigm, which requires large amounts of explanation labels as the ground truth. Considering that accurate explanation labels are usually hard to obtain due to constrained computational resources and limited human efforts, effective explainer training is still challenging in practice. In this work, we propose a COntrastive Real-Time eXplanation (CoRTX) framework to learn the explanation-oriented representation and relieve the intensive dependence of explainer training on explanation labels. Specifically, we design a synthetic strategy to select positive and negative instances for the learning of explanation. Theoretical analysis show that our selection strategy can benefit the contrastive learning process on explanation tasks. Experimental results on three real-world datasets further demonstrate the efficiency and efficacy of our proposed CoRTX framework.

研究动机与目标

  • 解决现有实时解释(RTX)框架依赖大量真实解释标签所导致的高计算成本和可扩展性受限问题。
  • 降低在RTX训练中对昂贵的人工标注或精确计算生成的解释标签的依赖。
  • 开发一种自监督对比框架,学习有效且解耦的解释表征,无需依赖标注解释。
  • 在实际部署场景中实现高效的一次前向传播推理,支持实时模型解释。

提出的方法

  • CoRTX 采用对比学习范式,训练一个编码解释相关特征的表征模型,无需真实解释标签。
  • 设计一种合成采样策略,基于特征扰动和模型预测变化生成正负样本对。
  • 通过最小化对比损失(如 InfoNCE)在潜在空间中拉近相似样本(正样本对),推远不相似样本(负样本对)。
  • 利用少量标注解释对学习到的潜在表征进行微调,通过轻量级解释头完成下游任务(如特征归因或排序)。
  • 方法在训练集上端到端训练,每个样本仅需一次前向传播即可实现实时推理。
  • 该框架适用于表格数据和图像数据,消融实验验证了对比采样策略设计选择的有效性。

实验结果

研究问题

  • RQ1对比学习框架是否能在不依赖昂贵真实解释标签的情况下,有效学习面向解释的表征?
  • RQ2合成的正负样本采样策略如何影响所学解释表征的质量?
  • RQ3与非摊销化和监督型RTX基线相比,CoRTX在解释准确率与推理速度之间存在何种权衡?
  • RQ4CoRTX在不同数据模态(如表格数据和图像数据)之间具有多大程度的泛化能力?
  • RQ5在低样本标签设置下,CoRTX表现如何?能否在极少标注解释下仍保持高忠实度?

主要发现

  • 在 Adult 数据集上,CoRTX 在排除和包含 AUC 任务中均取得 0.7680 ± 0.0031 的排名准确率,优于 L2X(0.0847 ± 0.0011)和 FastSHAP。
  • 在代理模型上,CoRTX 取得排除 AUC 0.372 ± 0.012 和包含 AUC 0.772 ± 0.012,优于非摊销化基线,且与 FastSHAP 竞争力相当。
  • CoRTX 每个样本仅需 0.00015 秒,ℓ₂ 误差为 0.007,而高置换数的 KernelSHAP 每个样本需 1.3089 秒(快过 2000 倍以上)。
  • KernelSHAP 的 ℓ₂ 误差从 2000 次置换时的 0.0038 仅略微下降至 8000 次置换时的 0.0018,表明超过 4000 次置换后收益递减。
  • 理论分析证实,CoRTX 的采样策略可限制解释误差,并提升解释任务的表征学习效果。
  • CoRTX 在表格数据(Adult、German)和图像数据(CIFAR-10)上均表现出强泛化能力,展现出对不同类型数据的鲁棒性。

阅读本论文

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

在 Nubint 中阅读本论文

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