Skip to main content
QUICK REVIEW

[论文解读] Learning with Explanation Constraints

Rattana Pukdee, Dylan Sam|arXiv (Cornell University)|Mar 25, 2023
Explainable Artificial Intelligence (XAI)Computer Science被引用 3
一句话总结

本文提出了一种学习理论框架,将先验解释约束(如基于梯度的特征重要性)整合到模型训练中,以提升泛化能力和鲁棒性。通过形式化约束经验风险最小化并使用变分近似,该方法降低了雷电切尔复杂度,在标注数据有限的情况下,其性能和约束满足度优于增广拉格朗日方法。

ABSTRACT

As larger deep learning models are hard to interpret, there has been a recent focus on generating explanations of these black-box models. In contrast, we may have apriori explanations of how models should behave. In this paper, we formalize this notion as learning from explanation constraints and provide a learning theoretic framework to analyze how such explanations can improve the learning of our models. One may naturally ask, "When would these explanations be helpful?" Our first key contribution addresses this question via a class of models that satisfies these explanation constraints in expectation over new data. We provide a characterization of the benefits of these models (in terms of the reduction of their Rademacher complexities) for a canonical class of explanations given by gradient information in the settings of both linear models and two layer neural networks. In addition, we provide an algorithmic solution for our framework, via a variational approximation that achieves better performance and satisfies these constraints more frequently, when compared to simpler augmented Lagrangian methods to incorporate these explanations. We demonstrate the benefits of our approach over a large array of synthetic and real-world experiments.

研究动机与目标

  • 将先验解释约束整合到模型学习中形式化为约束经验风险最小化问题。
  • 利用雷电切尔复杂度分析此类约束在何时以及如何改善泛化能力,适用于线性模型和两层神经网络。
  • 开发一种算法解决方案,其在满足约束和提升性能方面优于标准增广拉格朗日方法。
  • 展示使用更简单的教师模型将解释知识蒸馏到解释约束假设类中的优势。

提出的方法

  • 将解释约束形式化为模型输入和输出上的泛函,定义一类在期望上满足这些约束的模型(CE模型)。
  • 使用变分近似求解约束优化问题,实现比传统增广拉格朗日方法更好的约束满足度和性能。
  • 将该框架应用于基于梯度的解释,表明通过此类约束限制假设类可降低估计误差和标注数据需求。
  • 通过自训练和迭代优化利用未标注数据以提升泛化能力,尤其在低数据环境下表现更优。
  • 引入基于阈值的合页惩罚机制(由 τ 控制),在优化过程中动态强制执行约束。
  • 通过合成数据和真实世界实验验证该方法,包括对数据规模、维度和超参数的消融研究。

实验结果

研究问题

  • RQ1在何种条件下,解释约束能够改善模型泛化能力并降低样本复杂度?
  • RQ2通过解释泛函约束模型时,其在线性模型和两层神经网络设置下的雷电切尔复杂度如何变化?
  • RQ3变分近似能否在满足解释约束的同时优于标准增广拉格朗日方法并提升模型性能?
  • RQ4在不牺牲性能的前提下,多大程度上可以使用更简单的教师模型来蒸馏解释知识?
  • RQ5超参数 τ 和 T 如何影响所提出的变分方法的性能和约束满足度?

主要发现

  • 在多个实验中,所提出的变分方法在约束满足度和测试误差方面均显著优于增广拉格朗日方法。
  • 对于线性模型和两层 ReLU 网络,解释约束均降低了雷电切尔复杂度,从而改善了泛化能力并减少了对标注数据的需求。
  • 更简单的教师模型(例如隐藏层维度为 6–8)可维持与更大教师模型相当的性能,从而实现可扩展的知识蒸馏。
  • 随着未标注数据的增加,性能持续提升,且该方法在数据规模上表现出良好扩展性,其增益与自训练方法相似。
  • τ 值(合页惩罚的阈值)对性能影响极小,而增加 T(迭代次数)则能持续改善结果。
  • 即使解释存在噪声,该方法仍保持鲁棒性,因为约束诱导的偏差减少超过了估计误差的增加,从而带来更好的整体泛化能力。

阅读本论文

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

在 Nubint 中阅读本论文

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