Teaching the Old Dog New Tricks: Supervised Learning with Constraints
Fabrizio Detassis, Michele Lombardi, Michela Milano
Abstract
Adding constraint support in Machine Learning has the potential to address outstanding issues in data-driven AI systems, such as safety and fairness. Existing approaches typically apply constrained optimization techniques to ML training, enforce constraint satisfaction by adjusting the model design, or use constraints to correct the output. Here, we investigate a different, complementary, strategy based on "teaching" constraint satisfaction to a supervised ML method via the direct use of a state-of-the-art constraint solver: this enables taking advantage of decades of research on constrained optimization with limited effort. In practice, we use a decomposition scheme alternating master steps (in charge of enforcing the constraints) and learner steps (where any supervised ML model and training algorithm can be employed). The process leads to approximate constraint satisfaction in general, and convergence properties are difficult to establish; despite this fact, we found empirically that even a naive setup of our approach performs well on ML tasks with fairness constraints, and on classical datasets with synthetic constraints.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 369e2b52-a35a-4bd7-ab32-90df13bdce3bCited by top-tier papers4
- Learning Hard Optimization Problems: A Data Generation PerspectiveJames Kotary, Ferdinando Fioretto, Pascal Van HentenryckNeurIPS 2021 · 45 citations
- Fair and Optimal Decision Trees: A Dynamic Programming ApproachJacobus G. M. van der Linden, Mathijs de Weerdt, Emir DemirovicNeurIPS 2022 · 16 citations
- Zero-Regret Performative Prediction Under Inequality ConstraintsWenjing Yan, Xuanyu CaoNeurIPS 2023 · 15 citations
- Generalized Disparate Impact for Configurable Fairness Solutions in MLLuca Giuliani, Eleonora Misino, Michele LombardiICML 2023 · 10 citations
Related papers
- Learning with Statistical Equality ConstraintsAneesh Barthakur, Luiz F. O. ChamonNeurIPS 2025 · 1 citation
- Too Relaxed to Be FairMichael Lohaus, Michaël Perrot, Ulrike von LuxburgICML 2020 · 80 citations
- Calibrated Data-Dependent Constraints with Exact Satisfaction GuaranteesSongkai Xue, Yuekai Sun, Mikhail YurochkinNeurIPS 2022
- Resilient Constrained LearningIgnacio Hounie, Alejandro Ribeiro, Luiz F. O. ChamonNeurIPS 2023 · 20 citations
- Enforcing Hard Linear Constraints in Deep Learning Models with Decision RulesGonzalo E. Constante, Hao Chen, Can LiNeurIPS 2025 · 13 citations
