mlsanityData to 14 Oct 2026

Analyzing Fairness of Neural Network Prediction via Counterfactual Dataset Generation

arXiv 2602.10457 ↗First posted 11 Feb 2026cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Interpreting the inference-time behavior of deep neural networks remains a challenging problem. Existing approaches to counterfactual explanation typically ask: What is the closest alternative input that would alter the model's prediction in a desired way? In contrast, we explore counterfactual datasets. Rather than perturbing the input, our method efficiently finds the closest alternative training dataset, one that differs from the original dataset by changing a few labels. Training a new model on this altered dataset can then lead to a different prediction of a given test instance. This perspective provides a new way to assess fairness by directly analyzing the influence of label bias on training and inference. Our approach can be characterized as probing whether a given prediction depends on biased labels. Since exhaustively enumerating all possible alternate datasets is infeasible, we develop analysis techniques that trace how bias in the training data may propagate through the learning algorithm to the trained network. Our method heuristically ranks and modifies the labels of a bounded number of training examples to construct a counterfactual dataset, retrains the model, and checks whether its prediction on a chosen test case changes. We evaluate our approach on feedforward neural networks across over 1100 test cases from 7 widely-used fairness datasets. Results show that it modifies only a small subset of training labels, highlighting its ability to pinpoint the critical training examples that drive prediction changes. Finally, we demonstrate how our counterfactual datasets reveal connections between training examples and test cases, offering an interpretable way to probe dataset bias.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 40 of its 72 references that are in the map. First posted on arXiv 11 Feb 2026.

Builds on

40 of 72 references.

References · 40

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  3. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  4. 2013Intriguing properties of neural networkscited by 5,155
  5. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  6. 2017Understanding Black-box Predictions via Influence Functionscited by 1,741
  7. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,089
  8. 2017Counterfactual Fairnesscited by 804
  9. 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
  10. 2014Certifying and removing disparate impactcited by 715
  11. 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 519
  12. 2020Early-Learning Regularization Prevents Memorization of Noisy Labelscited by 416
28 more
  1. 2018Joint Optimization Framework for Learning with Noisy Labelscited by 293
  2. 2020Data and its (dis)contents: A survey of dataset development and use in machine learning researchcited by 260
  3. 2019Probabilistic End-to-end Noise Correction for Learning with Noisy Labelscited by 210
  4. 2017Towards Poisoning of Deep Learning Algorithms with Back-gradient Optimizationcited by 197
  5. 2021A survey on datasets for fairness-aware machine learningcited by 157
  6. 2021Scaling Up Influence Functionscited by 132
  7. 2019Deep Self-Learning From Noisy Labelscited by 122
  8. 2020MetaPoison: Practical General-purpose Clean-label Data Poisoningcited by 120
  9. 2021Counterfactual Explanations Can Be Manipulatedcited by 113
  10. 2020Certified Robustness to Label-Flipping Attacks via Randomized Smoothingcited by 108
  11. 2018Automated Directed Fairness Testingcited by 78
  12. 2020Certified Robustness of Nearest Neighbors against Data Poisoning and Backdoor Attackscited by 60
  13. 2018Probabilistic Verification of Fairness Properties via Concentrationcited by 45
  14. 2020Empirical observation of negligible fairness-accuracy trade-offs in machine learning for public policycited by 44
  15. 2019Perfectly Parallel Fairness Certification of Neural Networkscited by 42
  16. 2020In Pursuit of Interpretable, Fair and Accurate Machine Learning for Criminal Recidivism Predictioncited by 42
  17. 2021NeuronFair: Interpretable White-Box Fairness Testing through Biased Neuron Identificationcited by 42
  18. 2021Leave-one-out Unfairnesscited by 36
  19. 2022Individual Fairness Guarantees for Neural Networkscited by 23
  20. 2022Fairify: Fairness Verification of Neural Networkscited by 22
  21. 2021Certifying Robustness to Programmable Data Bias in Decision Treescited by 21
  22. 2024textttdattri: A Library for Efficient Data Attributioncited by 18
  23. 2022Support Vector Machines under Adversarial Label Contaminationcited by 17
  24. 2023The Dataset Multiplicity Problem: How Unreliable Data Impacts Predictionscited by 17
  25. 2023Information-Theoretic Testing and Debugging of Fairness Defects in Deep Neural Networkscited by 10
  26. 2021BeFair: Addressing Fairness in the Banking Sectorcited by 8
  27. 2023Certifying the Fairness of KNN in the Presence of Dataset Biascited by 7
  28. 2024FairQuant: Certifying and Quantifying Fairness of Deep Neural Networkscited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.