Decision-Focused Learning with Directional Gradients

Michael Huang, Vishal Gupta
2/3/2026

No official code found. Best implementation: khalil-research/PyEPO (679 stars, MIT, last commit 2026-02-24).

Abstract

We propose a novel family of decision-aware surrogate losses, called Perturbation Gradient (PG) losses, for the predict-then-optimize framework. The key idea is to connect the expected downstream decision loss with the directional derivative of a particular plug-in objective, and then approximate this derivative using zeroth order gradient techniques. Unlike the original decision loss which is typically piecewise constant and discontinuous, our new PG losses is a Lipschitz continuous, difference of concave functions that can be optimized using off-the-shelf gradient-based methods. Most importantly, unlike existing surrogate losses, the approximation error of our PG losses vanishes as the number of samples grows. Hence, optimizing our surrogate loss yields a best-in-class policy asymptotically, even in misspecified settings. This is the first such result in misspecified settings, and we provide numerical evidence confirming our PG losses substantively outperform existing proposals when the underlying model is misspecified.

View on arXivView PDF

Code Implementations(1)

MIT

A PyTorch-based End-to-End Predict-then-Optimize Library for Linear and Integer Programming

67989Python, Jupyter NotebookFeb 12, 20217 months agoMIT

Similar Papers

Cite this paper

@article{huang2026decisionfocused,
  title  = {Decision-Focused Learning with Directional Gradients},
  author = {Michael Huang and Vishal Gupta},
  year   = {2026},
  eprint = {2402.03256},
  archivePrefix = {arXiv},
  doi    = {10.52202/079017-2514},
  url    = {https://arxiv.org/abs/2402.03256},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.03256.svg)](https://codeofpaper.com/paper/2402.03256)

Discussion