Decision-Focused Forecasting: A Differentiable Multistage Optimisation Architecture
Egon Peršak, Miguel F. Anjos
TL;DR
This work addresses continual multistage decision problems where forecasts influence future decisions. It introduces Decision-Focused Forecasting (DFF), a differentiable recurrent architecture that unrolls multistage optimisation with a planning horizon $h$ and propagates gradients across stages to capture intertemporal effects. The authors derive and analyze a state-path gradient adjustment and intertemporal gradient via KKT differentiations to align forecast models with downstream decisions, demonstrating improvements over single-stage DFL and two-stage baselines in energy storage arbitrage and portfolio optimisation. While showing promise, the approach incurs substantial training cost and presents stability challenges, motivating future work on stability enhancements, multi-scenario extensions, and faster differentiable optimisation techniques.
Abstract
Most decision-focused learning work has focused on single stage problems whereas many real-world decision problems are more appropriately modelled using multistage optimisation. In multistage problems contextual information is revealed over time, decisions have to be taken sequentially, and decisions now have an intertemporal effect on future decisions. Decision-focused forecasting is a recurrent differentiable optimisation architecture that expresses a fully differentiable multistage optimisation approach. This architecture enables us to account for the intertemporal decision effects of forecasts. We show what gradient adjustments are made to account for the state-path caused by forecasting. We apply the model to multistage problems in energy storage arbitrage and portfolio optimisation and report that our model outperforms existing approaches.
