Deep Value Function Networks for Large-Scale Multistage Stochastic Programs

Hyunglip Bae, Jinkyu Lee, Woo Chang Kim, Yongjae LeeAISTATS 2023

Introduction

Multistage Stochastic Programming (MSP) is a critical framework for sequential decision-making under uncertainty, with applications ranging from power grid management to supply chain logistics. However, solving these problems at scale is notoriously difficult due to the "curse of dimensionality": as the number of time stages or potential future scenarios increases, the computational complexity grows exponentially.

Traditional approaches, such as Stochastic Dual Dynamic Programming (SDDP), attempt to manage this by approximating the "value function"—the expected future cost—using a collection of piecewise-linear functions. While robust, SDDP suffers from diminishing returns; as more linear pieces are added to improve accuracy, the sub-problems at each stage become increasingly slow to solve. Alternatively, methods like VFGL use smooth parametric functions, but these require human experts to manually select the correct mathematical form, a process that is often more "art" than science.

Approximating the value function using gradient information.

Methodology: Deep Value Function Networks (DVFN)

This paper introduces Deep Value Function Networks (DVFN), a method that bridges the gap between mathematical optimization and deep learning. DVFN replaces manual function selection and piecewise-linear approximations with a specialized neural network architecture trained to capture the complex geometry of value functions.

1. Input Convex Neural Networks (ICNN)

Standard neural networks are often non-convex, which can lead to instability when used within an optimization loop. DVFN utilizes Input Convex Neural Networks (ICNNs), an architecture that mathematically guarantees the output is a convex function of its inputs. This ensures that the approximated value function maintains the theoretical properties required for stable and convergent optimization.

2. Sobolev Training

Rather than training the network solely to predict the value of future costs, the authors employ Sobolev training. This technique forces the network to match the gradients (the slopes) of the true value function. In optimization, knowing the direction of steepest descent is often more important than knowing the absolute value, as it directly informs the next decision step.

3. Efficient Optimization with BFGS

To solve the decision sub-problems at each stage, the authors use a primal-dual interior point method. Because calculating exact second derivatives (Hessians) for neural networks is computationally expensive, they integrate the BFGS algorithm to approximate these derivatives, maintaining high iteration speeds.

Comparison of SDDP, VFGL, and DVFN methodologies.

Key Insights and Scalability

A primary advantage of DVFN is its constant time complexity. Unlike SDDP, where each iteration becomes progressively slower as the number of linear cuts grows, DVFN’s iteration time remains nearly constant regardless of how many times the network is updated. This makes it uniquely suited for extremely large-scale problems where traditional methods stall.

Furthermore, DVFN transforms the "art" of expert function selection into the "labor" of machine learning hyperparameter tuning. By using a neural network as a universal function approximator, the model can learn the appropriate shape of the value function directly from data, removing the need for domain-specific mathematical guesses.

Experimental Results

The researchers evaluated DVFN against two major benchmarks in Operations Research:

  • Production Optimization: In an 11-stage manufacturing problem, DVFN reached a near-optimal solution in 574 seconds, nearly twice as fast as SDDP (~1,074s) and significantly faster than solving the full MSP oracle (10,215s).
  • Energy Planning: In a 15-stage hydrothermal scheduling task, DVFN achieved an objective value of 769, perfectly matching the benchmark. In contrast, VFGL models with poorly chosen parametric forms performed significantly worse, with costs rising as high as 1168.

Conclusion

Deep Value Function Networks represent a significant step forward in solving large-scale stochastic programs. By enforcing convexity through ICNNs and utilizing gradient information via Sobolev training, DVFN provides a scalable, stable, and highly accurate alternative to traditional decomposition methods. Future work will focus on refining hyperparameter sensitivity and further optimizing second-order derivative approximations to enhance training stability.

Summary updated

BibTeX
@inproceedings{bae2023deep,
  author = {Hyunglip Bae and Jinkyu Lee and Woo Chang Kim and Yongjae Lee},
  title = {{Deep Value Function Networks for Large-Scale Multistage Stochastic Programs}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
}
Figure