CG4AI: A Column Generation Framework for Training AI Models Under Constraints

Youcef Magnouche, Abderrahmane Driouch, Sébastien Martin, Pierre Bauguion
8/26/2026
cs.LGcs.AIcs.DM

No confident code implementation found for this paper.

Abstract

Standard machine-learning training minimizes a loss function over a dataset, but does not guarantee that the resulting model will satisfy predefined rules or constraints on its outputs. In many real-world applications, ranging from autonomous systems to network routing, such guarantees are essential.

Show full abstract

We propose CG4AI, a framework that builds a convex combination of AI models while enforcing linear constraints on the combined output. A master linear program (LP) determines the optimal mixture weights, while a pricing subproblem generates new models guided by LP dual variables, focusing attention on the most violated constraints. A cutting-plane procedure extends feasibility guarantees beyond the training set. We apply CG4AI to two problems: (i) digit classification on MNIST, where we demonstrate four distinct uses of constraints, learning from constraints alone, improving adversarial robustness, correcting misclassified examples, and enforcing output relabeling; and (ii) the multi-commodity flow problem, where link capacity constraints are enforced on neural-network routing predictors. Experiments on MNIST and standard SNDLIB benchmark networks show that CG4AI reliably produces feasible predictors while achieving better accuracy than single-model baselines.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{magnouche2026cgai,
  title  = {CG4AI: A Column Generation Framework for Training AI Models Under Constraints},
  author = {Youcef Magnouche and Abderrahmane Driouch and Sébastien Martin and Pierre Bauguion},
  year   = {2026},
  eprint = {2608.26375},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.26375v1}
}

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/2608.26375.svg)](https://codeofpaper.com/paper/2608.26375)

Discussion