Diffusion-DFL: Decision-focused Diffusion Models for Stochastic Optimization

Zihao Zhao, Christopher Yeh, Lingkai Kong, Kai Wang
10/13/2025
cs.LGstat.ML

Official code: GT-KOALA/Diffusion_DFL (12 stars, Apache-2.0, last commit 2026-04-22).

Abstract

Decision-focused learning (DFL) integrates predictive modeling and optimization by training predictors to optimize the downstream decision target rather than merely minimizing prediction error. To date, existing DFL methods typically rely on deterministic point predictions, which are often insufficient to capture the intrinsic stochasticity of real-world environments. To address this challenge, we propose the first diffusion-based DFL approach, which trains a diffusion model to represent the distribution of uncertain parameters and optimizes the decision by solving a stochastic optimization with samples drawn from the diffusion model. Our contributions are twofold. First, we formulate diffusion DFL using the reparameterization trick, enabling end-to-end training through diffusion. While effective, it is memory and compute-intensive due to the need to differentiate through the diffusion sampling process. Second, we propose a lightweight score function estimator that uses only several forward diffusion passes and avoids backpropagation through the sampling. This follows from our results that backpropagating through stochastic optimization can be approximated by a weighted score function formulation. We empirically show that our diffusion DFL approach consistently outperforms strong baselines in decision quality. The source code for all experiments is available at the project repository: https://github.com/GT-KOALA/Diffusion_DFL.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official implementation of Diffusion-DFL: Decision-focused Diffusion Models for Stochastic Optimization (ICLR 2026).

122Python, Jupyter NotebookOct 6, 20256 months agoApache-2.0

Similar Papers

Cite this paper

@article{zhao2025diffusiondfl,
  title  = {Diffusion-DFL: Decision-focused Diffusion Models for Stochastic Optimization},
  author = {Zihao Zhao and Christopher Yeh and Lingkai Kong and Kai Wang},
  year   = {2025},
  eprint = {2510.11590},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.11590v1}
}

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/2510.11590.svg)](https://codeofpaper.com/paper/2510.11590)

Discussion