English

humancompatible.train: Implementing Optimization Algorithms for Stochastically-Constrained Stochastic Optimization Problems

Machine Learning 2025-09-26 v1 Optimization and Control

Abstract

There has been a considerable interest in constrained training of deep neural networks (DNNs) recently for applications such as fairness and safety. Several toolkits have been proposed for this task, yet there is still no industry standard. We present humancompatible.train (https://github.com/humancompatible/train), an easily-extendable PyTorch-based Python package for training DNNs with stochastic constraints. We implement multiple previously unimplemented algorithms for stochastically constrained stochastic optimization. We demonstrate the toolkit use by comparing two algorithms on a deep learning task with fairness constraints.

Keywords

Cite

@article{arxiv.2509.21254,
  title  = {humancompatible.train: Implementing Optimization Algorithms for Stochastically-Constrained Stochastic Optimization Problems},
  author = {Andrii Kliachkin and Jana Lepšová and Gilles Bareilles and Jakub Mareček},
  journal= {arXiv preprint arXiv:2509.21254},
  year   = {2025}
}

Comments

Accepted at NeurIPS workshop COML 2025

R2 v1 2026-07-01T05:56:27.294Z