Benchmarking Stochastic Approximation Algorithms for Fairness-Constrained Training of Deep Neural Networks

Andrii Kliachkin, Jana Lepšová, Gilles Bareilles, Jakub Mareček
7/5/2025
cs.LGcs.CYmath.OC

Official code: humancompatible/train (4 stars, Apache-2.0, last commit 2026-02-17).

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Fairness-constrained training of machine learning models in TensorFlow, PyTorch, and beyond

42Python, Jupyter NotebookJun 19, 20248 months agoApache-2.0

Similar Papers

Cite this paper

@article{kliachkin2025benchmarking,
  title  = {Benchmarking Stochastic Approximation Algorithms for Fairness-Constrained Training of Deep Neural Networks},
  author = {Andrii Kliachkin and Jana Lepšová and Gilles Bareilles and Jakub Mareček},
  year   = {2025},
  eprint = {2507.04033},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.04033v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.04033.svg)](https://codeofpaper.com/paper/2507.04033)

Discussion