arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.10457cs.LG
收藏

通过反事实数据集生成分析神经网络预测的公平性

Analyzing Fairness of Neural Network Prediction via Counterfactual Dataset Generation

University of Southern California(南加州大学)

Brian Hyeongseok Kim, Jacqueline L. Mitchell, Chao Wang

AI总结:

通过反事实数据集生成分析神经网络预测的公平性,揭示训练数据偏差对模型预测的影响。

摘要:

解释深度神经网络推理时间行为仍是一个具有挑战性的问题。现有的反事实解释方法通常会问:什么是最接近的替代输入会改变模型的预测方式?相反,我们探索反事实数据集。与其扰动输入,我们的方法高效地找到最接近的替代训练数据集,该数据集与原始数据集不同之处在于改变几个标签。在该改变的数据集上训练新的模型,然后可以导致给定测试实例的预测不同。这种视角提供了一种新的方法来通过直接分析标签偏差对训练和推理的影响来评估公平性。我们的方法可以被描述为探测给定预测是否依赖于有偏标签。由于穷举所有可能的替代数据集是不可行的,我们开发了分析技术,追踪训练数据中的偏差如何通过学习算法传播到训练好的网络。我们的方法启发式地对有限数量的训练示例的标签进行排名和修改,以构建反事实数据集,重新训练模型,并检查其在所选测试案例上的预测是否发生变化。我们在超过1100个测试案例上评估了我们的方法,这些测试案例来自7个广泛使用的公平性数据集。结果表明,它只修改了少量的训练标签,突显了其能够定位驱动预测变化的关键训练示例的能力。最后,我们展示了我们的反事实数据集如何揭示训练示例与测试案例之间的联系,提供了一种可解释的方式来探测数据集偏差。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑