mlsanityData to 7 Oct 2026

Learning with Combinatorial Optimization Layers: a Probabilistic Approach

arXiv 2207.13513 ↗First posted 27 Jul 2022stat.ML cs.LG math.OCcited by 28

Not on the map. Why?

Abstract (arXiv)

Combinatorial optimization (CO) layers in machine learning (ML) pipelines are a powerful tool to tackle data-driven decision tasks, but they come with two main challenges. First, the solution of a CO problem often behaves as a piecewise constant function of its objective parameters. Given that ML pipelines are typically trained using stochastic gradient descent, the absence of slope information is very detrimental. Second, standard ML losses do not work well in combinatorial settings. A growing body of research addresses these challenges through diverse methods. Unfortunately, the lack of well-maintained implementations slows down the adoption of CO layers. In this paper, building upon previous works, we introduce a probabilistic perspective on CO layers, which lends itself naturally to approximate differentiation and the construction of structured losses. We recover many approaches from the literature as special cases, and we also derive new ones. Based on this unifying perspective, we present InferOpt.jl, an open-source Julia package that 1) allows turning any CO oracle with a linear objective into a differentiable layer, and 2) defines adequate losses to train pipelines containing such layers. Our library works with arbitrary optimization algorithms, and it is fully compatible with Julia's ML ecosystem. We demonstrate its abilities using a pathfinding problem on video game maps as guiding example, as well as three other applications from operations research.

Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 29 of its 52 references that are in the map. First posted on arXiv 27 Jul 2022.

Builds on

29 of 52 references.

References · 29

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
  4. 2015Automatic differentiation in machine learning: a surveycited by 846
  5. 2018Machine Learning for Combinatorial Optimization: a Methodological Tour d'Horizoncited by 612
  6. 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 588
  7. 2019Differentiable Convex Optimization Layerscited by 458
  8. 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 337
  9. 2017Smart "Predict, then Optimize"cited by 332
  10. 2019Differentiation of Blackbox Combinatorial Solverscited by 224
  11. 2018Melding the Data-Decisions Pipeline: Decision-Focused Learning for Combinatorial Optimizationcited by 220
  12. 2020Fast Differentiable Sorting and Rankingcited by 196
17 more
  1. 2021End-to-End Constrained Optimization Learning: A Surveycited by 154
  2. 2019Learning with Fenchel-Young Lossescited by 117
  3. 2021Implicit MLE: Backpropagating Through Discrete Exponential Family Distributionscited by 97
  4. 2019MIPaaL: Mixed Integer Program as a Layercited by 93
  5. 2019Smart Predict-and-Optimize for Hard Combinatorial Optimization Problemscited by 88
  6. 2020Interior Point Solving for LP-based prediction+optimisationcited by 83
  7. 2020Learning with Differentiable Perturbed Optimizerscited by 81
  8. 2022Theseus: A Library for Differentiable Nonlinear Optimizationcited by 64
  9. 2018SparseMAP: Differentiable Sparse Structured Inferencecited by 62
  10. 2021Decision-Focused Learning: Through the Lens of Learning to Rankcited by 61
  11. 2020Contrastive Losses and Solution Caching for Predict-and-Optimizecited by 52
  12. 2021CombOptNet: Fit the Right NP-Hard Problem by Learning Integer Programming Constraintscited by 49
  13. 2022PyEPO: A PyTorch-based End-to-End Predict-then-Optimize Library for Linear and Integer Programmingcited by 32
  14. 2022Flexible Differentiable Optimization via Model Transformationscited by 16
  15. 2021FrankWolfe.jl: a high-performance and flexible toolbox for Frank-Wolfe algorithms and Conditional Gradientscited by 8
  16. 2021Learning to solve the single machine scheduling problem with release times and sum of completion timescited by 4
  17. 2015Algorithms for Non-Linear and Stochastic Resource Constrained Shortest Pathscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 11; 2024: 7; 2025: 6; 2026: 3.

28 papers.

Sort:

  1. 2023Decision-Focused Learning: Foundations, State of the Art, Benchmark and Future Opportunitiescited by 129
  2. 2023A Survey of Contextual Optimization Methods for Decision Making under Uncertaintycited by 81
  3. 2023Learning-based Online Optimization for Autonomous Mobility-on-Demand Fleet Controlcited by 14
  4. 2023Differentiating Through Integer Linear Programs with Quadratic Regularization and Davis-Yin Splittingcited by 11
  5. 2023Combinatorial Optimization enriched Machine Learning to solve the Dynamic Vehicle Routing Problem with Time Windowscited by 10
  6. 2023CaVE: A Cone-Aligned Approach for Fast Predict-then-optimize with Binary Linear Programscited by 8
  7. 2024Differentiable Distributionally Robust Optimization Layerscited by 8
  8. 2023Explainable Data-Driven Optimization: From Context to Decision and Back Againcited by 7
  9. 2025Structured Reinforcement Learning for Combinatorial Decision-Makingcited by 7
  10. 2024LPGD: A General Framework for Backpropagation through Embedded Optimization Layerscited by 6
  11. 2025Feasibility-Aware Decision-Focused Learning for Predicting Parameters in the Constraintscited by 5
  12. 2025Primal-dual algorithm for contextual stochastic combinatorial optimizationcited by 4
16 more
  1. 2023Differentiable Cutting-plane Layers for Mixed-integer Linear Optimizationcited by 3
  2. 2024Generalization Bounds of Surrogate Policies for Combinatorial Optimization Problemscited by 3
  3. 2024WardropNet: Traffic Flow Predictions via Equilibrium-Augmented Learningcited by 3
  4. 2026Combinatorial Optimization Augmented Machine Learningcited by 3
  5. 2023DFWLayer: Differentiable Frank-Wolfe Optimization Layercited by 2
  6. 2023Everybody Needs a Little HELP: Explaining Graphs via Hierarchical Conceptscited by 2
  7. 2022Learning predictive checklists from continuous medical datacited by 1
  8. 2024DistrictNet: Decision-aware learning for geographical districtingcited by 1
  9. 2025DFF: Decision-Focused Fine-tuning for Smarter Predict-then-Optimize with Limited Datacited by 1
  10. 2025Optimization-Augmented Machine Learning for Vehicle Operations in Emergency Medical Servicescited by 1
  11. 2023Predicting Accurate Lagrangian Multipliers for Mixed Integer Linear Programscited by 0
  12. 2024CF-OPT: Counterfactual Explanations for Structured Predictioncited by 0
  13. 2024The Differentiable Feasibility Pumpcited by 0
  14. 2025Going from a Representative Agent to Counterfactuals in Combinatorial Choicecited by 0
  15. 2026Managing Solution Stability in Decision-Focused Learning with Cost Regularizationcited by 0
  16. 2026Regularized Large Neighborhood Searchcited by 0