Skip to main content
QUICK REVIEW

[Paper Review] Score Function Gradient Estimation to Widen the Applicability of Decision-Focused Learning

Mattia Silvestri, Senne Berden|arXiv (Cornell University)|Jul 11, 2023
Explainable Artificial Intelligence (XAI)Computer Science3 citations
TL;DR

This paper proposes a decision-focused learning framework using score function gradient estimation (SFGE) to train predictive models for optimization problems with parameters in both objective and constraints, even in non-linear and stochastic settings. By predicting parameter distributions and leveraging SFGE, the method overcomes the zero-gradient problem in combinatorial optimization, achieving lower regret and infeasibility than prediction-focused learning on knapsack and multi-cover problems.

ABSTRACT

Many real-world optimization problems contain parameters that are unknown before deployment time, either due to stochasticity or to lack of information (e.g., demand or travel times in delivery problems). A common strategy in such cases is to estimate said parameters via machine learning (ML) models trained to minimize the prediction error, which however is not necessarily aligned with the downstream task-level error. The decision-focused learning (DFL) paradigm overcomes this limitation by training to directly minimize a task loss, e.g. regret. Since the latter has non-informative gradients for combinatorial problems, state-of-the-art DFL methods introduce surrogates and approximations that enable training. But these methods exploit specific assumptions about the problem structures (e.g., convex or linear problems, unknown parameters only in the objective function). We propose an alternative method that makes no such assumptions, it combines stochastic smoothing with score function gradient estimation which works on any task loss. This opens up the use of DFL methods to nonlinear objectives, uncertain parameters in the problem constraints, and even two-stage stochastic optimization. Experiments show that it typically requires more epochs, but that it is on par with specialized methods and performs especially well for the difficult case of problems with uncertainty in the constraints, in terms of solution quality, scalability, or both.

Motivation & Objective

  • To overcome the limitations of existing decision-focused learning (DFL) methods that assume linear objectives and only allow parameter prediction in the objective function.
  • To extend DFL to problems where uncertain parameters appear in both objective and constraint functions, including non-linear and combinatorial optimization problems.
  • To enable effective training of predictive models in stochastic optimization settings, such as two-stage problems with recourse actions and penalty costs.
  • To address the zero-gradient problem in combinatorial optimization by using distributional predictions and score function gradient estimation (SFGE).
  • To demonstrate that SFGE-based DFL outperforms traditional prediction-focused learning (PFL) in terms of decision quality and feasibility, especially under high penalty regimes.

Proposed method

  • Predicts a distribution over unknown parameters using a neural network, rather than point estimates, to enable gradient-based optimization.
  • Employs score function gradient estimation (REINFORCE) to compute gradients of the task loss with respect to the predictive model parameters, even when the optimization solution is non-differentiable.
  • Uses the post-hoc regret loss as the task objective, which accounts for suboptimality in decisions due to prediction errors, even when parameters affect constraints.
  • Applies the method to both deterministic problems (e.g., knapsack with uncertain weights) and stochastic problems (e.g., weighted multi-cover with stochastic demands and recourse costs).
  • Trains the predictive model end-to-end via backpropagation through the optimization procedure using SFGE, enabling joint optimization of prediction and decision quality.
  • For stochastic problems, uses a probabilistic model (multivariate Gaussian) to predict demand distributions and integrates with the SAA method for comparison.

Experimental results

Research questions

  • RQ1Can score function gradient estimation enable decision-focused learning in optimization problems where parameters appear in both the objective and constraint functions?
  • RQ2Can SFGE-based DFL effectively handle non-linear and combinatorial optimization problems, where traditional implicit differentiation fails?
  • RQ3Does SFGE-based DFL outperform prediction-focused learning in terms of decision quality and feasibility in stochastic optimization settings?
  • RQ4How does the method scale with increasing uncertainty or penalty costs in two-stage stochastic problems?
  • RQ5Can SFGE-based DFL generalize to problems where the ground-truth parameters are not only in the objective but also influence feasibility through constraints?

Key findings

  • On the knapsack problem with uncertain weights, SFGE reduced relative post-hoc regret from 1.18±0.62 (PFL) to 0.850±0.264, with a 12% improvement in feasibility.
  • On the weighted multi-cover problem with ρ=10, SFGE achieved a relative post-hoc regret of 3.47±1.73, significantly lower than PFL’s 17.8±13.3.
  • For ρ=10, SFGE reduced the infeasibility ratio from 0.63±0.11 (PFL) to 0.12±0.06, demonstrating improved constraint satisfaction.
  • Even with 100 sampled scenarios, PFL+SAA did not outperform SFGE in regret, while incurring at least 10x higher inference-time computational cost.
  • The performance gap between SFGE and PFL widened as penalty coefficients increased, showing SFGE’s robustness under high-cost uncertainty.
  • SFGE enabled effective training in problems previously infeasible for DFL, such as those with constraint-dependent parameters and non-linear objectives.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.