Lune

AAAI2021Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Learning Hard Optimization Problems: A Data Generation PerspectiveJames Kotary, Ferdinando Fioretto, Pascal Van HentenryckNeurIPS 2021 · 45 citations
  2. Fair and Optimal Decision Trees: A Dynamic Programming ApproachJacobus G. M. van der Linden, Mathijs de Weerdt, Emir DemirovicNeurIPS 2022 · 16 citations
  3. Zero-Regret Performative Prediction Under Inequality ConstraintsWenjing Yan, Xuanyu CaoNeurIPS 2023 · 15 citations
  4. Generalized Disparate Impact for Configurable Fairness Solutions in MLLuca Giuliani, Eleonora Misino, Michele LombardiICML 2023 · 10 citations

Related papers

  1. Learning with Statistical Equality ConstraintsAneesh Barthakur, Luiz F. O. ChamonNeurIPS 2025 · 1 citation
  2. Calibrated Data-Dependent Constraints with Exact Satisfaction GuaranteesSongkai Xue, Yuekai Sun, Mikhail YurochkinNeurIPS 2022
  3. Too Relaxed to Be FairMichael Lohaus, Michaël Perrot, Ulrike von LuxburgICML 2020 · 80 citations
  4. Resilient Constrained LearningIgnacio Hounie, Alejandro Ribeiro, Luiz F. O. ChamonNeurIPS 2023 · 20 citations
  5. Enforcing Hard Linear Constraints in Deep Learning Models with Decision RulesGonzalo E. Constante, Hao Chen, Can LiNeurIPS 2025 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines