Deep neural networks (DNNs) are suffering from ethical issues such as individual discrimination. In response, extensive NN repair techniques have been developed to adjust models and mitigate such undesired behaviors. However, existing fairness repair methods are typically data-centric, which often lack provable guarantees and generalization to unseen samples. To overcome these limitations, we propose ProF, a novel fairness repair framework with provable guarantees. The key intuition of ProF is to leverage interval bound propagation (a widely used NN verification technique) to soundly capture model outputs over the whole set $S(\mathbf{x})$ around a biased sample $\mathbf{x}$. The derived bounds are utilized to guide fairness repair which encourages the model to produce consistent outputs on $S(\mathbf{x})$. Specifically, we integrate fairness constraints and model modifications into a unified constraint-solving formulation, which can be transformed to a Mixed-Integer Linear Programming (MILP) problem solvable by off-the-shelf solvers. The solution to the MILP problem effectively induces a repaired model with guaranteed fairness over the whole set $S(\mathbf{x})$. We evaluate ProF on four widely used benchmark datasets and demonstrate that it achieves provable fairness repair, with generalization of up to 95.93\% on full datasets and 93.16\% on the entire input space. Notably, ProF can be easily configured to support multiple sensitive attributes and more practical fairness definitions, while providing provable repair guarantees and delivering around 90\% fairness improvement. Our code is available at https://github.com/nninjn/ProF.
翻译:深度神经网络(DNN)正面临诸如个体歧视等伦理问题。为此,研究人员开发了大量神经网络修复技术,以调整模型并缓解此类不当行为。然而,现有的公平性修复方法通常以数据为中心,往往缺乏可证明的保障以及对未见样本的泛化能力。为克服这些局限,我们提出ProF——一种具有可证明保障的新型公平性修复框架。ProF的核心思想是利用区间边界传播(一种广泛使用的神经网络验证技术)来可靠地捕捉有偏样本$\mathbf{x}$周围整个集合$S(\mathbf{x})$上的模型输出。所推导出的边界被用于指导公平性修复,促使模型在$S(\mathbf{x})$上产生一致的输出。具体而言,我们将公平性约束和模型修改整合为一个统一的约束求解公式,该公式可转化为可由现成求解器求解的混合整数线性规划(MILP)问题。MILP问题的解能有效诱导出修复后的模型,且该模型在整体集合$S(\mathbf{x})$上具有有保障的公平性。我们在四个广泛使用的基准数据集上评估了ProF,结果表明它实现了可证明的公平性修复,在完整数据集上的泛化能力高达95.93%,在整个输入空间上高达93.16%。值得注意的是,ProF可轻松配置以支持多个敏感属性和更实用的公平性定义,同时提供可证明的修复保障,并实现约90%的公平性提升。我们的代码可在https://github.com/nninjn/ProF获取。