Skip to main content
QUICK REVIEW

[论文解读] Information-Theoretic Testing and Debugging of Fairness Defects in Deep Neural Networks

Verya Monjezi, Ashutosh Trivedi|arXiv (Cornell University)|Apr 9, 2023
Adversarial Robustness in Machine LearningComputer Science被引用 3
一句话总结

DICE 是一种信息论框架,通过测量决策中使用的受保护信息量(以比特为单位)来量化深度神经网络中的公平性缺陷。它支持基于严重程度的搜索和因果调试,可定位存在偏见的层和神经元,从而在缺陷分类和搜索效率方面优于现有最先进方法。

ABSTRACT

The deep feedforward neural networks (DNNs) are increasingly deployed in socioeconomic critical decision support software systems. DNNs are exceptionally good at finding minimal, sufficient statistical patterns within their training data. Consequently, DNNs may learn to encode decisions -- amplifying existing biases or introducing new ones -- that may disadvantage protected individuals/groups and may stand to violate legal protections. While the existing search based software testing approaches have been effective in discovering fairness defects, they do not supplement these defects with debugging aids -- such as severity and causal explanations -- crucial to help developers triage and decide on the next course of action. Can we measure the severity of fairness defects in DNNs? Are these defects symptomatic of improper training or they merely reflect biases present in the training data? To answer such questions, we present DICE: an information-theoretic testing and debugging framework to discover and localize fairness defects in DNNs. The key goal of DICE is to assist software developers in triaging fairness defects by ordering them by their severity. Towards this goal, we quantify fairness in terms of protected information (in bits) used in decision making. A quantitative view of fairness defects not only helps in ordering these defects, our empirical evaluation shows that it improves the search efficiency due to resulting smoothness of the search space. Guided by the quantitative fairness, we present a causal debugging framework to localize inadequately trained layers and neurons responsible for fairness defects. Our experiments over ten DNNs, developed for socially critical tasks, show that DICE efficiently characterizes the amounts of discrimination, effectively generates discriminatory instances, and localizes layers/neurons with significant biases.

研究动机与目标

  • 解决现有深度神经网络公平性测试工具在严重程度评估和因果解释方面的不足。
  • 通过测量模型决策中使用的受保护信息量(以比特为单位)来量化公平性缺陷。
  • 利用信息论度量提供的平滑、定量反馈,提升对歧视性输入的搜索效率。
  • 基于 do-演算的因果分析,将公平性缺陷的根源定位到特定层和神经元。
  • 帮助开发者区分模型偏见是源自训练数据中的固有偏差,还是由不当训练过程引入。

提出的方法

  • 将定量个体歧视(QID)定义为模型输出中受保护属性的香农熵或最小熵,以量化公平性违规的严重程度。
  • 将 QID 作为连续且可微的反馈信号,应用于基于搜索的测试中,以引导优化过程聚焦于高严重程度的歧视性输入。
  • 实施两阶段搜索:全局阶段通过 QID 引导的优化寻找多样化的歧视性实例,局部阶段进行邻域精细化调整。
  • 通过 do-演算进行因果推断,模拟对隐藏层和神经元的干预操作,识别对公平性缺陷贡献最大的组件。
  • 将层和神经元的定位结果与反事实参数分析相结合,提出针对性的缓解策略。
  • 将该方法扩展至同时支持多个受保护属性,并适用于社会关键领域中的回归任务。

实验结果

研究问题

  • RQ1RQ1:定量个体歧视(QID)是否能有效按严重程度对公平性缺陷进行排序,从而帮助开发者实现更优的缺陷分类?
  • RQ2RQ2:与二值反馈方法相比,基于 QID 的搜索是否能更有效地发现多样且严重程度高的歧视性实例?
  • RQ3RQ3:因果调试能否将公平性缺陷精确定位到特定层和神经元,从而区分数据固有偏差与训练过程引入的偏差?
  • RQ4RQ4:QID 提供的定量反馈是否带来更平滑的搜索空间,从而提升搜索效率?
  • RQ5RQ5:该框架能否识别出有偏见的神经元,并提出缓解策略,同时保持模型准确性?

主要发现

  • DICE 成功使用以比特为单位的受保护信息量来量化公平性缺陷,实现了对歧视性输入的严重程度优先排序。
  • 基于 QID 的搜索在多样性与严重程度方面均优于最先进的方法(如 ADF 和 EIDIG)。
  • 由 QID 引导的搜索空间表现出更高的平滑性,从而提升了识别公平性缺陷的收敛速度与效率。
  • 因果定位识别出特定层和神经元是偏见的来源,其中内部层缺陷表明偏见源于训练过程而非数据本身。
  • 该框架成功将偏见定位到特定神经元,并提供了反事实参数调整方案,在保持模型准确性的同时降低了歧视性。
  • 在十个用于社会关键任务的 DNN 上的实验验证了 DICE 在检测、量化和调试公平性缺陷方面的有效性,适用于多种模型架构和受保护属性。

阅读本论文

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

在 Nubint 中阅读本论文

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