[Paper Review] A Near-Optimal Algorithm for Debiasing Trained Machine Learning Models
This paper proposes a near-optimal post-processing algorithm, Randomized Threshold Optimizer (RTO), for debiasing trained machine learning models—especially deep neural networks—by solving a regularized optimization problem via projected SGD. RTO achieves near-optimal excess Bayes risk and significantly outperforms prior post-processing methods while matching in-processing performance, particularly on large-scale models.
We present a scalable post-processing algorithm for debiasing trained models, including deep neural networks (DNNs), which we prove to be near-optimal by bounding its excess Bayes risk. We empirically validate its advantages on standard benchmark datasets across both classical algorithms as well as modern DNN architectures and demonstrate that it outperforms previous post-processing methods while performing on par with in-processing. In addition, we show that the proposed algorithm is particularly effective for models trained at scale where post-processing is a natural and practical choice.
Motivation & Objective
- To develop a scalable, post-processing debiasing method for trained models, including deep neural networks, that achieves near-optimal fairness with theoretical guarantees.
- To address the challenge of bias in high-stakes ML applications such as credit lending, healthcare, and criminal justice, where fairness is critical but difficult to define universally.
- To demonstrate that post-processing can be as effective as in-processing for debiasing models, especially when models are trained at scale.
- To prove that randomization near decision thresholds is necessary for Bayes risk consistency in debiasing, and to formalize this in a regularized optimization framework.
Proposed method
- Formulates debiasing as a regularized optimization problem to minimize excess Bayes risk under statistical parity constraints.
- Uses projected stochastic gradient descent (SGD) to efficiently solve the optimization problem, enabling scalability to large models.
- Introduces randomized thresholding rules where the width of randomization is controlled by a regularization hyperparameter, ensuring Bayes risk consistency.
- Derives theoretical bounds showing that randomization near thresholds is necessary for consistency under the statistical parity definition.
- Applies the algorithm to both classical models and modern DNNs, including BiT, ResNet, MobileNet, and DenseNet architectures.
- Adapts the method to handle non-binary sensitive attributes and weaker fairness notions via modifications in Appendix D.
Experimental results
Research questions
- RQ1Can a post-processing method achieve near-optimal excess Bayes risk in debiasing trained models, particularly deep neural networks?
- RQ2Is randomization near decision thresholds theoretically necessary for Bayes risk consistency in fair classification under statistical parity?
- RQ3How does the performance of post-processing methods compare to in-processing approaches on large-scale, pre-trained models?
- RQ4Does the effectiveness of debiasing improve with model scale, particularly for overparameterized models pre-trained on large datasets?
- RQ5Can the proposed algorithm be generalized to non-binary sensitive attributes and weaker fairness definitions?
Key findings
- RTO significantly outperforms previous post-processing debiasing methods on standard benchmark datasets, including CelebA and COCO.
- The algorithm performs competitively with in-processing methods, achieving state-of-the-art results among post-processing techniques.
- RTO is particularly effective for models trained at scale—those that are heavily overparameterized and pre-trained on large datasets before fine-tuning.
- Empirical results show that debiasing performance improves with model scale, validating the practicality of post-processing in large-scale ML pipelines.
- Theoretical analysis proves that randomization near thresholds is necessary for Bayes risk consistency, and RTO's design satisfies this condition.
- The method maintains strong performance across diverse architectures, including ResNets, MobileNet, DenseNet, and NASNet, on both vision and attribute prediction tasks.
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.