From Inverse Optimization to Feasibility to ERM
Saurabh Mishra, Anant Raj, Sharan Vaswani
TL;DR
The paper introduces contextual inverse linear programming (CILP) by predicting LP costs from context and enforcing that the predicted costs yield the observed optimal decisions. It first recasts CILP as a convex feasibility problem using KKT conditions (SETS $C$ and $F$) and solves it with alternating projections, achieving linear convergence without relying on degeneracy or interpolation assumptions. To scale to large problems, it then reduces CILP to empirical risk minimization on a smooth, convex loss that satisfies the Polyak-Lojasiewicz condition, enabling efficient first-order methods with provable generalization guarantees. The approach is validated on synthetic and real-world tasks (e.g., Warcraft SP, MNIST PM), outperforming several baselines in decision accuracy while remaining computationally competitive. This framework provides a principled, scalable path for learning optimization parameters from contextual data with theoretical convergence and generalization guarantees.
Abstract
Inverse optimization involves inferring unknown parameters of an optimization problem from known solutions and is widely used in fields such as transportation, power systems, and healthcare. We study the contextual inverse optimization setting that utilizes additional contextual information to better predict the unknown problem parameters. We focus on contextual inverse linear programming (CILP), addressing the challenges posed by the non-differentiable nature of LPs. For a linear prediction model, we reduce CILP to a convex feasibility problem allowing the use of standard algorithms such as alternating projections. The resulting algorithm for CILP is equipped with theoretical convergence guarantees without additional assumptions such as degeneracy or interpolation. Next, we reduce CILP to empirical risk minimization (ERM) on a smooth, convex loss that satisfies the Polyak-Lojasiewicz condition. This reduction enables the use of scalable first-order optimization methods to solve large non-convex problems while maintaining theoretical guarantees in the convex setting. Subsequently, we use the reduction to ERM to quantify the generalization performance of the proposed algorithm on previously unseen instances. Finally, we experimentally validate our approach on synthetic and real-world problems and demonstrate improved performance compared to existing methods.
