Lune

ICSE2023Top-tier venue

Information-Theoretic Testing and Debugging of Fairness Defects in Deep Neural Networks

Verya Monjezi, Ashutosh Trivedi, Gang Tan, Saeid Tizpaz-Niari

Abstract

The deep feedforward neural networks (DNNs) are increasingly deployed in socioeconomic critical decision support software systems. DNNs are exceptionally good at finding min-imal, 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 quan-titative 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 (vis-a-vis the state-of-the-art techniques), and localizes layers/neurons with significant biases.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

16 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • NeuFair: Neural Network Fairness Repair with Dropout cites Fairway: a way to build fair ML software
  • NeuFair: Neural Network Fairness Repair with Dropout cites White-box fairness testing through adversarial sampling
  • NeuFair: Neural Network Fairness Repair with Dropout cites Bias in machine learning software: why? how? what to do?
  • NeuFair: Neural Network Fairness Repair with Dropout cites "Ignorance and Prejudice" in Software Fairness
  • Fairquant: Certifying and Quantifying Fairness of Deep Neural Networks cites White-box fairness testing through adversarial sampling
  • Causality-Aided Trade-Off Analysis for Machine Learning Fairness cites Fairway: a way to build fair ML software
  • Causality-Aided Trade-Off Analysis for Machine Learning Fairness cites Perfce: Performance Debugging on Databases with Chaos Engineering-Enhanced Causality Analysis
  • Perfce: Performance Debugging on Databases with Chaos Engineering-Enhanced Causality Analysis cites Causality-Aided Trade-Off Analysis for Machine Learning Fairness
  • Causality-Aided Trade-Off Analysis for Machine Learning Fairness cites Bias in machine learning software: why? how? what to do?
  • Causality-Aided Trade-Off Analysis for Machine Learning Fairness cites "Ignorance and Prejudice" in Software Fairness
  • Bias in machine learning software: why? how? what to do? cites Fairway: a way to build fair ML software
  • Bias in machine learning software: why? how? what to do? cites White-box fairness testing through adversarial sampling
  • "Ignorance and Prejudice" in Software Fairness cites Fairway: a way to build fair ML software
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers16

  1. NeuFair: Neural Network Fairness Repair with DropoutVishnu Asutosh Dasu, Ashish Kumar, Saeid Tizpaz-Niari, Gang TanISSTA 2024 · 9 citations
  2. Perfce: Performance Debugging on Databases with Chaos Engineering-Enhanced Causality AnalysisZhenlan Ji, Pingchuan Ma, Shuai WangASE 2023 · 9 citations
  3. Fairquant: Certifying and Quantifying Fairness of Deep Neural NetworksBrian Hyeongseok Kim, Jingbo Wang, Chao WangICSE 2025 · 6 citations
  4. Causality-Aided Trade-Off Analysis for Machine Learning FairnessZhenlan Ji, Pingchuan Ma, Shuai Wang, Yanhui LiASE 2023 · 6 citations
  5. Fairness Testing of Large Language Models in Role-PlayingXinyue Li, Zhenpeng Chen, Jie M. Zhang, Ying Xiao et al.FSE 2026 · 5 citations

Builds on13

  1. Bias in machine learning software: why? how? what to do?Joymallya Chakraborty, Suvodeep Majumder, Tim MenziesFSE 2021 · 186 citations
  2. Fairway: a way to build fair ML softwareJoymallya Chakraborty, Suvodeep Majumder, Zhe Yu, Tim MenziesFSE 2020 · 131 citations
  3. White-box fairness testing through adversarial samplingPeixin Zhang, Jingyi Wang, Jun Sun, Guoliang Dong et al.ICSE 2020 · 127 citations
  4. Audee: Automated Testing for Deep Learning FrameworksQianyu Guo, Xiaofei Xie, Yi Li, Xiaoyu Zhang et al.ASE 2020 · 83 citations
  5. "Ignorance and Prejudice" in Software FairnessJie M. Zhang, Mark HarmanICSE 2021 · 69 citations

Related papers

  1. Fairness-aware Configuration of Machine Learning LibrariesSaeid Tizpaz-Niari, Ashish Kumar, Gang Tan, Ashutosh TrivediICSE 2022 · 44 citations
  2. Efficient white-box fairness testing through gradient searchLingfeng Zhang, Yueling Zhang, Min ZhangISSTA 2021 · 51 citations
  3. NeuronFair: Interpretable White-Box Fairness Testing through Biased Neuron IdentificationHaibin Zheng, Zhiqing Chen, Tianyu Du, Xuhong Zhang et al.ICSE 2022 · 58 citations
  4. Isolation-Based Debugging for Neural NetworksJialuo Chen, Jingyi Wang, Youcheng Sun, Peng Cheng et al.ISSTA 2024 · 2 citations
  5. RULER: discriminative and iterative adversarial training for deep neural network fairnessGuanhong Tao, Weisong Sun, Tingxu Han, Chunrong Fang et al.FSE 2022 · 29 citations
Dusk over the sea between two cliffs drawn in fine vertical lines