Inverse Optimization Latent Variable Models for Learning Costs Applied to Route Problems
Alan A. Lahoud, Erik Schaffernicht, Johannes Andreas Stork
Abstract
Learning representations for solutions of constrained optimization problems (COPs) with unknown cost functions is challenging, as models like (Variational) Autoencoders struggle to enforce constraints when decoding structured outputs. We propose an Inverse Optimization Latent Variable Model (IO-LVM) that learns a latent space of COP cost functions from observed solutions and reconstructs feasible outputs by solving a COP with a solver in the loop. Our approach leverages estimated gradients of a Fenchel-Young loss through a non-differentiable deterministic solver to shape the latent space. Unlike standard Inverse Optimization or Inverse Reinforcement Learning methods, which typically recover a single or context-specific cost function, IO-LVM captures a distribution over cost functions, enabling the identification of diverse solution behaviors arising from different agents or conditions not available during the training process. We validate our method on real-world datasets of ship and taxi routes, as well as paths in synthetic graphs, demonstrating its ability to reconstruct paths and cycles, predict their distributions, and yield interpretable latent representations. The code is available at
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 a66ea5db-d5ad-476d-9ad8-73336fda6299Builds on4
- Differentiation of Blackbox Combinatorial SolversMarin Vlastelica Pogancic, Anselm Paulus, Vít Musil, Georg Martius et al.ICLR 2020 · 341 citations
- Learning with Differentiable Pertubed OptimizersQuentin Berthet, Mathieu Blondel, Olivier Teboul, Marco Cuturi et al.NeurIPS 2020 · 181 citations
- Learning Linear Programs from Optimal DecisionsYingcong Tan, Daria Terekhov, Andrew DelongNeurIPS 2020 · 37 citations
- Combinatorial Optimization for Panoptic Segmentation: A Fully Differentiable ApproachAhmed Abbas, Paul SwobodaNeurIPS 2021 · 16 citations
Related papers
- Learning Soft Constraints From Constrained Expert DemonstrationsAshish Gaurav, Kasra Rezaee, Guiliang Liu, Pascal PoupartICLR 2023 · 4 citations
- Learning a Latent Search Space for Routing Problems using Variational AutoencodersAndré Hottung, Bhanu Bhandari, Kevin TierneyICLR 2021 · 67 citations
- Inverse Optimization via Learning Feasible RegionsKe Ren, Peyman Mohajerin Esfahani, Angelos GeorghiouICML 2025
- Provably Efficient Exploration in Inverse Constrained Reinforcement LearningBo Yue, Jian Li, Guiliang LiuICML 2025
- Meta-Inverse Reinforcement Learning for Mean Field Games via Probabilistic Context VariablesYang Chen, Xiao Lin, Bo Yan, Libo Zhang et al.AAAI 2024 · 8 citations
