[Paper Review] CertiFair: A Framework for Certified Global Fairness of Neural Networks
CertiFair introduces a sound and complete verification framework for certified global individual fairness in ReLU neural networks using a product network approach to check fairness across all similar input pairs. It also proposes a fairness-regularized training method that improves global fairness by up to 96% with minimal accuracy drop, enabling provable fairness guarantees without relying on empirical validation.
We consider the problem of whether a Neural Network (NN) model satisfies global individual fairness. Individual Fairness suggests that similar individuals with respect to a certain task are to be treated similarly by the decision model. In this work, we have two main objectives. The first is to construct a verifier which checks whether the fairness property holds for a given NN in a classification task or provide a counterexample if it is violated, i.e., the model is fair if all similar individuals are classified the same, and unfair if a pair of similar individuals are classified differently. To that end, We construct a sound and complete verifier that verifies global individual fairness properties of ReLU NN classifiers using distance-based similarity metrics. The second objective of this paper is to provide a method for training provably fair NN classifiers from unfair (biased) data. We propose a fairness loss that can be used during training to enforce fair outcomes for similar individuals. We then provide provable bounds on the fairness of the resulting NN. We run experiments on commonly used fairness datasets that are publicly available and we show that global individual fairness can be improved by 96 % without significant drop in test accuracy.
Motivation & Objective
- To address the lack of provable, global fairness guarantees in neural network classifiers, especially in high-stakes decision systems.
- To develop a sound and complete verifier that checks whether all similar input pairs are treated identically under a given fairness metric.
- To design a training procedure that enforces fairness for similar individuals even when training data is biased.
- To provide formal certificates on fairness that are independent of data distribution assumptions or sampling.
- To overcome limitations of local fairness verification by extending to global fairness over the entire input domain.
Proposed method
- Construct a product neural network that takes pairs of inputs (x, x') and independently computes outputs for each, enabling verification of fairness across all such pairs.
- Use relational verification techniques inspired by hyperproperty checking to formally verify that all inputs within a feature-wise distance δi are classified identically.
- Define a fairness loss function based on the upper bound of fairness violation, which acts as a regularizer during training to promote fairness.
- Leverage convex relaxation-based verification techniques to scale the verifier to larger networks while maintaining soundness and completeness.
- Integrate the product network and fairness regularizer into a training pipeline that ensures certified fairness without compromising test accuracy.
- Apply the verifier post-training to validate global fairness, ensuring all similar inputs are treated fairly.
Experimental results
Research questions
- RQ1Can a formal verification framework provide sound and complete certification of global individual fairness in ReLU neural networks?
- RQ2How can fairness be enforced during training to ensure provable fairness even when the training data contains biases?
- RQ3To what extent can fairness be improved without significantly degrading model accuracy in real-world fairness datasets?
- RQ4Can the framework detect global fairness violations that local verification methods miss?
- RQ5How does the proposed fairness regularizer compare to existing fairness mitigation techniques in terms of scalability and provable guarantees?
Key findings
- The proposed verifier achieves sound and complete verification of global individual fairness, ensuring no false negatives or positives in fairness assessment.
- The fairness-regularized training procedure improved global fairness by up to 96% on standard fairness datasets while maintaining high test accuracy.
- With a fairness regularization parameter of 5×10⁻², the framework achieved 100% certified global fairness on tested datasets.
- The method outperforms local fairness verification techniques by capturing fairness violations across the entire input domain, not just around individual inputs.
- The framework maintains high test accuracy (e.g., 74.33% at λf = 1×10⁻⁴) even when fairness is strongly enforced, demonstrating minimal performance cost.
- The integration of product networks and convex relaxation enables scalable and precise fairness verification for large ReLU networks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.