Learning with Combinatorial Optimization Layers: a Probabilistic Approach
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
- 2015Automatic differentiation in machine learning: a surveycited by 846
- 2018Machine Learning for Combinatorial Optimization: a Methodological Tour d'Horizoncited by 612
- 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 588
- 2019Differentiable Convex Optimization Layerscited by 458
- 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 337
- 2017Smart "Predict, then Optimize"cited by 332
- 2019Differentiation of Blackbox Combinatorial Solverscited by 224
- 2018Melding the Data-Decisions Pipeline: Decision-Focused Learning for Combinatorial Optimizationcited by 220
- 2020Fast Differentiable Sorting and Rankingcited by 196
17 more
- 2021End-to-End Constrained Optimization Learning: A Surveycited by 154
- 2019Learning with Fenchel-Young Lossescited by 117
- 2021Implicit MLE: Backpropagating Through Discrete Exponential Family Distributionscited by 97
- 2019MIPaaL: Mixed Integer Program as a Layercited by 93
- 2019Smart Predict-and-Optimize for Hard Combinatorial Optimization Problemscited by 88
- 2020Interior Point Solving for LP-based prediction+optimisationcited by 83
- 2020Learning with Differentiable Perturbed Optimizerscited by 81
- 2022Theseus: A Library for Differentiable Nonlinear Optimizationcited by 64
- 2018SparseMAP: Differentiable Sparse Structured Inferencecited by 62
- 2021Decision-Focused Learning: Through the Lens of Learning to Rankcited by 61
- 2020Contrastive Losses and Solution Caching for Predict-and-Optimizecited by 52
- 2021CombOptNet: Fit the Right NP-Hard Problem by Learning Integer Programming Constraintscited by 49
- 2022PyEPO: A PyTorch-based End-to-End Predict-then-Optimize Library for Linear and Integer Programmingcited by 32
- 2022Flexible Differentiable Optimization via Model Transformationscited by 16
- 2021FrankWolfe.jl: a high-performance and flexible toolbox for Frank-Wolfe algorithms and Conditional Gradientscited by 8
- 2021Learning to solve the single machine scheduling problem with release times and sum of completion timescited by 4
- 2015Algorithms for Non-Linear and Stochastic Resource Constrained Shortest Pathscited by 2
Built on by
Citing papers per year: 2022: 1; 2023: 11; 2024: 7; 2025: 6; 2026: 3.
28 papers.
Sort:
- 2023Decision-Focused Learning: Foundations, State of the Art, Benchmark and Future Opportunitiescited by 129
- 2023A Survey of Contextual Optimization Methods for Decision Making under Uncertaintycited by 81
- 2023Learning-based Online Optimization for Autonomous Mobility-on-Demand Fleet Controlcited by 14
- 2023Differentiating Through Integer Linear Programs with Quadratic Regularization and Davis-Yin Splittingcited by 11
- 2023Combinatorial Optimization enriched Machine Learning to solve the Dynamic Vehicle Routing Problem with Time Windowscited by 10
- 2023CaVE: A Cone-Aligned Approach for Fast Predict-then-optimize with Binary Linear Programscited by 8
- 2024Differentiable Distributionally Robust Optimization Layerscited by 8
- 2023Explainable Data-Driven Optimization: From Context to Decision and Back Againcited by 7
- 2025Structured Reinforcement Learning for Combinatorial Decision-Makingcited by 7
- 2024LPGD: A General Framework for Backpropagation through Embedded Optimization Layerscited by 6
- 2025Feasibility-Aware Decision-Focused Learning for Predicting Parameters in the Constraintscited by 5
- 2025Primal-dual algorithm for contextual stochastic combinatorial optimizationcited by 4
16 more
- 2023Differentiable Cutting-plane Layers for Mixed-integer Linear Optimizationcited by 3
- 2024Generalization Bounds of Surrogate Policies for Combinatorial Optimization Problemscited by 3
- 2024WardropNet: Traffic Flow Predictions via Equilibrium-Augmented Learningcited by 3
- 2026Combinatorial Optimization Augmented Machine Learningcited by 3
- 2023DFWLayer: Differentiable Frank-Wolfe Optimization Layercited by 2
- 2023Everybody Needs a Little HELP: Explaining Graphs via Hierarchical Conceptscited by 2
- 2022Learning predictive checklists from continuous medical datacited by 1
- 2024DistrictNet: Decision-aware learning for geographical districtingcited by 1
- 2025DFF: Decision-Focused Fine-tuning for Smarter Predict-then-Optimize with Limited Datacited by 1
- 2025Optimization-Augmented Machine Learning for Vehicle Operations in Emergency Medical Servicescited by 1
- 2023Predicting Accurate Lagrangian Multipliers for Mixed Integer Linear Programscited by 0
- 2024CF-OPT: Counterfactual Explanations for Structured Predictioncited by 0
- 2024The Differentiable Feasibility Pumpcited by 0
- 2025Going from a Representative Agent to Counterfactuals in Combinatorial Choicecited by 0
- 2026Managing Solution Stability in Decision-Focused Learning with Cost Regularizationcited by 0
- 2026Regularized Large Neighborhood Searchcited by 0
- 2026Regularized Large Neighborhood Search1 Jun 2026
- 2026Managing Solution Stability in Decision-Focused Learning with Cost Regularization29 Jan 2026
- 2026Combinatorial Optimization Augmented Machine Learning15 Jan 2026
- 2025Feasibility-Aware Decision-Focused Learning for Predicting Parameters in the Constraints6 Oct 2025
- 2025Going from a Representative Agent to Counterfactuals in Combinatorial Choice29 May 2025
- 2025Structured Reinforcement Learning for Combinatorial Decision-Making25 May 2025
- 2025Primal-dual algorithm for contextual stochastic combinatorial optimization7 May 2025
- 2025Optimization-Augmented Machine Learning for Vehicle Operations in Emergency Medical Services14 Mar 2025
- 2025DFF: Decision-Focused Fine-tuning for Smarter Predict-then-Optimize with Limited Data3 Jan 2025
- 2024DistrictNet: Decision-aware learning for geographical districting11 Dec 2024
- 2024The Differentiable Feasibility Pump5 Nov 2024
- 2024WardropNet: Traffic Flow Predictions via Equilibrium-Augmented Learning9 Oct 2024
16 more
- 2024Generalization Bounds of Surrogate Policies for Combinatorial Optimization Problems24 Jul 2024
- 2024LPGD: A General Framework for Backpropagation through Embedded Optimization Layers8 Jul 2024
- 2024Differentiable Distributionally Robust Optimization Layers24 Jun 2024
- 2024CF-OPT: Counterfactual Explanations for Structured Prediction28 May 2024
- 2023CaVE: A Cone-Aligned Approach for Fast Predict-then-optimize with Binary Linear Programs12 Dec 2023
- 2023Everybody Needs a Little HELP: Explaining Graphs via Hierarchical Concepts25 Nov 2023
- 2023Differentiable Cutting-plane Layers for Mixed-integer Linear Optimization6 Nov 2023
- 2023Predicting Accurate Lagrangian Multipliers for Mixed Integer Linear Programs23 Oct 2023
- 2023DFWLayer: Differentiable Frank-Wolfe Optimization Layer21 Aug 2023
- 2023Decision-Focused Learning: Foundations, State of the Art, Benchmark and Future Opportunities25 Jul 2023
- 2023A Survey of Contextual Optimization Methods for Decision Making under Uncertainty17 Jun 2023
- 2023Combinatorial Optimization enriched Machine Learning to solve the Dynamic Vehicle Routing Problem with Time Windows3 Apr 2023
- 2023Learning-based Online Optimization for Autonomous Mobility-on-Demand Fleet Control8 Feb 2023
- 2023Differentiating Through Integer Linear Programs with Quadratic Regularization and Davis-Yin Splitting31 Jan 2023
- 2023Explainable Data-Driven Optimization: From Context to Decision and Back Again24 Jan 2023
- 2022Learning predictive checklists from continuous medical data14 Nov 2022
- 2023Decision-Focused Learning: Foundations, State of the Art, Benchmark and Future Opportunitiescited by 129
- 2023A Survey of Contextual Optimization Methods for Decision Making under Uncertaintycited by 81
- 2023Learning-based Online Optimization for Autonomous Mobility-on-Demand Fleet Controlcited by 14
- 2023Differentiating Through Integer Linear Programs with Quadratic Regularization and Davis-Yin Splittingcited by 11
- 2023Combinatorial Optimization enriched Machine Learning to solve the Dynamic Vehicle Routing Problem with Time Windowscited by 10
- 2023CaVE: A Cone-Aligned Approach for Fast Predict-then-optimize with Binary Linear Programscited by 8
- 2024Differentiable Distributionally Robust Optimization Layerscited by 8
- 2023Explainable Data-Driven Optimization: From Context to Decision and Back Againcited by 7
- 2025Structured Reinforcement Learning for Combinatorial Decision-Makingcited by 7
- 2024LPGD: A General Framework for Backpropagation through Embedded Optimization Layerscited by 6
- 2025Feasibility-Aware Decision-Focused Learning for Predicting Parameters in the Constraintscited by 5
- 2025Primal-dual algorithm for contextual stochastic combinatorial optimizationcited by 4
12 most cited of 28 All 28 (JSON)
- 2026Regularized Large Neighborhood Search1 Jun 2026
- 2026Managing Solution Stability in Decision-Focused Learning with Cost Regularization29 Jan 2026
- 2026Combinatorial Optimization Augmented Machine Learning15 Jan 2026
- 2025Feasibility-Aware Decision-Focused Learning for Predicting Parameters in the Constraints6 Oct 2025
- 2025Going from a Representative Agent to Counterfactuals in Combinatorial Choice29 May 2025
- 2025Structured Reinforcement Learning for Combinatorial Decision-Making25 May 2025
- 2025Primal-dual algorithm for contextual stochastic combinatorial optimization7 May 2025
- 2025Optimization-Augmented Machine Learning for Vehicle Operations in Emergency Medical Services14 Mar 2025
- 2025DFF: Decision-Focused Fine-tuning for Smarter Predict-then-Optimize with Limited Data3 Jan 2025
- 2024DistrictNet: Decision-aware learning for geographical districting11 Dec 2024
- 2024The Differentiable Feasibility Pump5 Nov 2024
- 2024WardropNet: Traffic Flow Predictions via Equilibrium-Augmented Learning9 Oct 2024
12 newest of 28 All 28 (JSON)