Unsupervised Machine Learning Hybrid Approach Integrating Linear Programming in Loss Function: A Robust Optimization Technique
Andrew Kiruluta, Andreas Lemos
TL;DR
The paper tackles enforcing linear-programming feasibility inside unsupervised representation learning by embedding LP constraints and objectives into the loss of an autoencoder. It introduces LP--AE, a differentiable, penalty-based framework that propagates constraint violations through a squared-hinge barrier, enabling end-to-end training without inner solvers or labelled optimal solutions. The authors prove coercivity, asymptotic feasibility, and an LP-gap bound, and demonstrate a 3× inference speedup and substantial throughput gains on real hospital scheduling data with high feasibility and small objective gaps. Empirically, LP--AE shows robustness to noise and missing features, and ablation studies illustrate the importance of penalty scheduling and latent dimensionality. The approach offers a practical, scalable, solver-free alternative for constraint-aware learning applicable to logistics, healthcare, and energy domains, with reproducible code and data provided.
Abstract
This paper presents a novel hybrid approach that integrates linear programming (LP) within the loss function of an unsupervised machine learning model. By leveraging the strengths of both optimization techniques and machine learning, this method introduces a robust framework for solving complex optimization problems where traditional methods may fall short. The proposed approach encapsulates the constraints and objectives of a linear programming problem directly into the loss function, guiding the learning process to adhere to these constraints while optimizing the desired outcomes. This technique not only preserves the interpretability of linear programming but also benefits from the flexibility and adaptability of machine learning, making it particularly well-suited for unsupervised or semi-supervised learning scenarios.
