Benchmarking Stochastic Approximation Algorithms for Fairness-Constrained Training of Deep Neural Networks
Andrii Kliachkin, Jana Lepšová, Gilles Bareilles, Jakub Mareček
TL;DR
This work tackles the problem of training deep neural networks under fairness constraints at scale by introducing a real-world benchmark based on Folktables (US Census) and comparing three practical stochastic constrained-ERM algorithms. It frames fairness through independence, separation, and sufficiency constraints and surveys related in-processing approaches, highlighting the lack of standardized tools for fair constrained training. The authors implement and benchmark Stochastic Ghost, SSL-ALM, and Stochastic Switching Subgradient alongside baselines, demonstrating that augmented-Lagrangian–based methods offer favorable trade-offs between objective minimization and constraint satisfaction, with stochastic methods exhibiting varying stability. The study provides a publicly available Python toolbox, enabling reproducible evaluation of new methods on large-scale fairness problems, and offers insights into the practical challenges and hyperparameter sensitivities of fairness-constrained learning in real data.
Abstract
The ability to train Deep Neural Networks (DNNs) with constraints is instrumental in improving the fairness of modern machine-learning models. Many algorithms have been analysed in recent years, and yet there is no standard, widely accepted method for the constrained training of DNNs. In this paper, we provide a challenging benchmark of real-world large-scale fairness-constrained learning tasks, built on top of the US Census (Folktables). We point out the theoretical challenges of such tasks and review the main approaches in stochastic approximation algorithms. Finally, we demonstrate the use of the benchmark by implementing and comparing three recently proposed, but as-of-yet unimplemented, algorithms both in terms of optimization performance, and fairness improvement. We release the code of the benchmark as a Python package at https://github.com/humancompatible/train.
