arXiv · 2509.21254
humancompatible.train: Implementing Optimization Algorithms for Stochastically-Constrained Stochastic Optimization Problems
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Andrii Kliachkin, Jana Lepšová, Gilles Bareilles, Jakub Mareček. 2025-09-25. humancompatible.train: Implementing Optimization Algorithms for Stochastically-Constrained Stochastic Optimization Problems. https://arxiv.org/abs/2509.21254
Cite the original work for its findings. Save a collection to share your selection of sources.