Robust Data-Driven Dynamic Programming

Grani Adiwena Hanasusanto, Daniel KuhnNeurIPS 2013

TL;DR

Standard data-driven dynamic programming (DP) often suffers from an "optimistic bias," where a model overfits to sparse historical data and performs poorly in the real world. This paper introduces Robust Data-Driven Dynamic Programming (RDDP), which replaces standard expectations with worst-case scenarios over a set of possible distributions. This approach results in more reliable policies while maintaining a computationally tractable framework using conic programming.

What Problem Does This Paper Address?

In stochastic optimal control, the goal is to make the best decisions over time in the face of uncertainty (exogenous noise). Usually, we don't know the true probability distribution of this noise, so we estimate it from historical data using techniques like kernel regression.

However, when data is sparse, two major issues arise:

  1. High Variability: The estimated "cost-to-go" functions fluctuate wildly based on the specific samples in the training set.
  2. Optimistic Bias: Because the DP algorithm minimizes expected costs, it tends to "cherry-pick" actions that look exceptionally good on the specific training samples but fail in out-of-sample tests. This is essentially the reinforcement learning equivalent of overfitting.
Comparison of estimated costs for True Optimal, standard DDP, and RDDP. DDP exhibits a strong optimistic (downward) bias, which RDDP successfully mitigates.

The authors seek a way to mitigate these small-sample effects without sacrificing the computational efficiency required to solve complex, multi-stage problems.

Methods

The authors propose RDDP, a framework that blends robust optimization with approximate dynamic programming.

  • Nadaraya-Watson (NW) Kernel Regression: They use this standard non-parametric method to estimate conditional distributions of future states based on historical trajectories.
  • $\chi^2$-Distance Uncertainty Sets: Instead of blindly trusting the estimated distribution (the "nominal" estimate), they define a set of distributions that are "close" to the estimate based on the $\chi^2$-distance.
  • Min-Max Formulation: In each step of the Bellman recursion, the decision-maker minimizes the cost against a "malicious nature" that chooses the worst-case distribution from the uncertainty set.
  • Conic Programming: A key contribution is proving that if the cost functions are convex and the transitions are affine, these nested min-max problems can be reduced to Second-Order Cone Programs (SOCPs). This means they can be solved efficiently using standard interior-point solvers.

Datasets

The paper evaluates RDDP on three distinct scenarios:

  1. Synthetic Gaussian Process: A stylized 5-dimensional control problem used to illustrate the downward (optimistic) bias of non-robust methods.
  2. Index Tracking: Using historical returns from the S&P 500 and four other major indices (NASDAQ, Russell 2000, etc.) from 1991 to 2013 (5,440 days).
  3. Wind Energy Commitment: Real-world day-ahead electricity prices from the PJM market and wind speed data from North Carolina and Ohio (2002–2011).

Key Insights and Ideas

  • The Overfitting Mechanism: The paper mathematically demonstrates that the minimization step in DP, when applied to estimated expectations, creates a systematic downward bias. By anticipating "nature's" worst-case move, RDDP acts as a form of regularization that counteracts this bias.
  • Tractability via Duality: By using the $\chi^2$-distance, the authors are able to use robust optimization duality to turn a potentially infinite-dimensional maximization problem (over distributions) into a finite-dimensional convex minimization problem.
  • Distributional Robustness vs. Point Robustness: Unlike standard robust optimization that might look at the worst-case value of a random variable, RDDP looks at the worst-case distribution. This is generally less conservative and more effective for stochastic problems.

Key Results

  • Index Tracking: RDDP outperformed standard DDP and Least-Squares Policy Iteration (LSPI) by a factor of 4–5x in terms of mean squared tracking error. It also significantly reduced the "worst-case" error (18.8 vs 157.2 for DDP).
  • Wind Energy: In the North Carolina site test, RDDP was the only method that consistently avoided negative profits (losses). While a simple "persistence" heuristic had lower variance, RDDP achieved much higher mean profits by effectively managing storage devices.
  • Statistical Dominance: In both real-world applications, the cumulative distribution of RDDP's performance "stochastically dominated" the non-robust alternatives, meaning it was better across almost all probability thresholds.
Cumulative distribution of tracking errors for LSPI, DDP, and RDDP. RDDP stochastically dominates the others, achieving lower errors with higher probability.

Limitations and Future Work

  • Convexity Requirements: The proof of computational tractability relies on the cost-to-go function remaining convex. While the authors provide a quadratic approximation architecture to maintain this, it might not capture highly non-convex system dynamics perfectly.
  • Parameter Tuning: The size of the uncertainty set ($\gamma$) must be calibrated (e.g., via cross-validation). The paper suggests a heuristic based on the "envelope" of confidence intervals, but a more automated selection method could be beneficial.
  • Scalability: While SOCPs are efficient, solving them for every sample point in every time step can still be demanding for very large-scale systems with massive datasets. However, the authors note that the sub-problems are independent and can be parallelized.

Summary updated

BibTeX
@inproceedings{hanasusanto2013robust,
  author = {Grani Adiwena Hanasusanto and Daniel Kuhn},
  title = {{Robust Data-Driven Dynamic Programming}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2013},
  url = {https://openreview.net/forum?id=rk4u4vb_-B},
}
Figure