Prediction Loss Guided Decision-Focused Learning

Haeun Jeon, Hyunglip Bae, Chanyeong Kim, Yongjae Lee, Woo Chang KimarXiv 2025 · DOI

Decision-Focused Learning (DFL) integrates downstream optimization tasks into the training of predictive models, yet it often suffers from unstable convergence due to complex loss landscapes. This paper presents Prediction Loss Guided Decision-Focused Learning (PLG-DFL), a gradient perturbation framework that dynamically balances prediction and decision gradients. By addressing directional conflicts and magnitude imbalances between these objectives, PLG-DFL achieves superior decision quality and training stability across various stochastic optimization tasks.

Introduction

In many operational contexts, machine learning models are used to predict unknown parameters that serve as inputs to downstream optimization problems. Traditionally, this "Predict-then-Optimize" pipeline is handled via Predict-Focused Learning (PFL), which minimizes prediction error independently of the final task. Decision-Focused Learning (DFL) aims to improve this by optimizing the end-to-end decision quality. However, DFL is notoriously difficult to train, often characterized by "flat-and-sharp" loss landscapes that lead to poor convergence and unstable performance compared to simpler PFL approaches.

The PLG-DFL Framework

To overcome the optimization challenges of DFL, the authors propose Prediction Loss Guided Decision-Focused Learning (PLG-DFL). Rather than relying on complex surrogate models to smooth the objective, PLG-DFL directly manipulates the training gradients through three primary mechanisms:

  1. Directional Guidance: The update direction is computed by bisecting the angle between the prediction loss gradient ($\nabla \mathcal{L}_{pred}$) and the decision loss gradient ($\nabla \mathcal{L}_{dec}$), ensuring the model improves on both objectives simultaneously.
  2. Magnitude Balancing: To prevent the typically larger prediction gradients from drowning out the decision signal, the update is scaled using the geometric mean of the two gradient norms.
  3. Dynamic Scheduling: A sigmoid-like decay parameter, $\alpha$, is used to transition the model's focus from the stable prediction loss in early training to the decision-specific loss during fine-tuning.

Empirical Analysis of Gradient Dynamics

Geometric and spectral analysis of the training process reveals why standard DFL often fails. The authors identify three key structural issues in the loss landscape:

  • Directional Conflict: PFL and DFL gradients are frequently in direct conflict, often exhibiting negative cosine similarity, meaning progress in one objective often harms the other.
  • Scale Imbalance: Prediction gradients are typically 10 to 1,000 times larger than decision gradients, making simple multi-task summation ineffective as the decision signal is lost in the noise.
Analysis of gradient cosine similarity, magnitude ratio, and the proposed update direction.
  • Landscape Flatness: Analysis of Hessian eigenvalues confirms that the decision loss landscape is extremely flat (eigenvalues near zero), which hinders gradient-based optimization by providing little directional information.
Hessian eigenvalue distribution showing the extreme flatness of the DFL loss landscape compared to PFL.

Experimental Evaluation

The PLG-DFL method was evaluated across three distinct domains: the Knapsack Problem (selection under constraints), Budget Allocation (maximizing user clicks), and Portfolio Optimization (risk-adjusted returns using real-world financial data).

Across these tasks, PLG-DFL consistently achieved lower regret and higher stability compared to baselines like PFL, vanilla DFL, and multi-task methods such as PCGrad. Notably, in Portfolio Optimization—a domain where PFL is traditionally dominant—PLG-DFL matched or exceeded its performance, demonstrating the framework's versatility across diverse problem geometries.

Conclusion

PLG-DFL provides a robust alternative to standard end-to-end optimization by using prediction loss to guide the decision-focused training process. While the method currently assumes access to decision loss gradients, it offers a significant step forward in making decision-focused learning practical for real-world applications. Future work may extend this approach to non-differentiable solvers and reinforcement learning environments.

Summary updated

BibTeX
@misc{jeon2025prediction,
  author = {Haeun Jeon and Hyunglip Bae and Chanyeong Kim and Yongjae Lee and Woo Chang Kim},
  title = {{Prediction Loss Guided Decision-Focused Learning}},
  year = {2025},
  eprint = {2509.08359},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.08359},
}
Figure