betaFeedback

WorksMathematics

SDDP has polynomial iteration complexity in the horizon

Abstract

Stochastic dual dynamic programming (SDDP) and its variants are run in practice with forward passes that sample the noise at random. Recent iteration-complexity results favour another choice: when the trial points are selected deterministically, for instance along the scenario with the largest gap, the number of iterations is polynomial in the horizon TT, whereas every bound we know of for randomly sampled forward passes is exponential in TT. We show that this is not intrinsic to random sampling, for a broad class of trajectory-following dynamic programming algorithms, which includes SDDP, stochastic dual dynamic integer programming and stochastic Lipschitz dynamic programming. With random sampling, and with Lipschitz constants, diameters and per-stage loss ranges bounded independently of the stage and of the horizon, the expected number of iterations whose policy is not TεT\varepsilon-optimal is O(Tε−(d+1))O(T\varepsilon^{-(d+1)}), where dd is the state dimension: linear in TT, as for deterministic selection rules. The proof needs no particular scenario to be sampled: the gap between the expected cost of the current policy and the current lower bound equals the expected sum of one-step Bellman residuals along the sampled path, and Lipschitz cuts that are tight at the visited states turn the positive residuals into permanent increases of a bounded potential. The results extend to noise without finite support, to backward passes on a sample average approximation, and to stationary and periodic infinite-horizon SDDP with geometric pass lengths.

Introduction

Trajectory-following dynamic programming (TFDP) Forcier and Leclère, [17] solves multistage stochastic programs with stagewise-independent noise by alternating two passes. A forward pass simulates a trajectory of the policy induced by the current (lower) approximations of the cost-to-go functions; a backward pass adds, at each visited state, a cut, affine or not, that tightens the approximation there. Stochastic dual dynamic programming (SDDP) (Pereira and Pinto, 1991), the most widely used instance, has affine Benders cuts and is run in practice with forward passes that sample the noise at random. Almost sure convergence of these methods is classical [21] (Philippot and Guan 2008; Shapiro 2011; Zou et al. 2019). See also the survey of Lan and Shapiro [29] and the review of Füller and Rebennack (2025).

Known bounds. For deterministic selection rules of the trial points, such as the “problem child” rule that sends the forward pass to the scenario with the largest current gap, the number of iterations is polynomial in the horizon TT for a fixed state dimension dd [27, 17, 24] (Zhang and Sun 2022). For randomly sampled forward passes, every bound we know of is exponential in TT [28, 17, 24] (Zhang and Sun 2022), including the dimension-free bounds of Barros and Guigues (2026) under strong convexity. The reason is common to all these proofs. They count saturated points, where the true gap Vt−VtkV_t-V^k_t is certified small, an argument introduced by Lan [27] and extended to nonconvex problems by Zhang and Sun (2022) through Lipschitz regularisation. But saturation at stage tt follows from saturation at stage t+1t+1 only at the point reached by the same sampled path. Each proof therefore bounds from below the probability that the sampled path follows a given chain of scenarios, for instance by ∏t1/Nt\prod_t 1/N_t under uniform sampling on NtN_t atoms, which is exponentially small in TT. Zhang and Sun ask, in their Remark 3, whether a bound polynomial in TT exists in general for the random-sampling version.

Main result. We prove bounds polynomial in TT for TFDP-type algorithms with randomly sampled forward passes. Let πk\pi^k be the policy of iteration kk, greedy for the approximations of iteration k−1k-1, and Gk:=V0πk(x0)−V0k−1(x0)G^k:=V^{\pi^k}_0(x_0)-V^{k-1}_0(x_0) the gap between its expected cost and the lower bound. Assume that, at every stage, the set of states has dimension at most dd and diameter at most DD, that the cuts are LL-Lipschitz on it, and that the initial lower bounds are within ℓˉ\bar{\ell} per remaining stage of the cost-to-go functions (e.g. when the stage losses lie in an interval of width ℓˉ\bar{\ell}, § 3.3). Then the expected number of iterations with Gk>TεG^k>T\varepsilon, an error of ε\varepsilon per stage, is O(Tε−(d+1))O(T\varepsilon^{-(d+1)}), with a constant that depends only on dd, DD, LL and ℓˉ\bar{\ell} (Theorem 3.7). In the discounted case this number does not depend on the horizon (Theorem 3.9). All constants are explicit (Table 1).

settingexpected number of bad iterationsreference
general oracle, volume argument(d+1)ℓˉ(T+1)(4LD)d/εd+1(d+1)\bar{\ell}(T+1)(4LD)^{d}/\varepsilon^{d+1}Theorem 3.7
general oracle, covering (no convexity)Zℓˉ(T+1)(1+8LD/ε)d/εZ\bar{\ell}(T+1)(1+8LD/\varepsilon)^{d}/\varepsilonTheorem 3.10
Zhang–Sun, Algorithm 3ℓˉ(T+1)(1+8LD/ε)d/ε\bar{\ell}(T+1)(1+8LD/\varepsilon)^{d}/\varepsilonTheorem 4.3
SDDiP, binary states2n−1ℓˉ(T+1)/ε2^{n-1}\bar{\ell}(T+1)/\varepsilonTheorem 4.4
discounted, any TT; infinite horizon, geometric length (accuracy ε\varepsilon)2(d+1)ℓˉ(4L^D)d/((1−β)d+2εd+1)2(d+1)\bar{\ell}(4\hat{L}D)^{d}/((1-\beta)^{d+2}\varepsilon^{d+1})Theorems 3.9 and 6.6

Table 1. An iteration kk is bad if Gk>TεG^{k}>T\varepsilon (Gk>εG^{k}>\varepsilon in the discounted row). For Zhang and Sun’s algorithm, the row bounds the index of the first good iteration. ZZ, nn, β\beta and L^\hat{L} are defined with the cited results.

For the same accuracy, and with each state set in a ball of diameter DD (a convention under which our bound also holds), the deterministic problem-child rule needs at most T(1+2LD/ε)dT(1+2LD/\varepsilon)^d iterations (Zhang and Sun, 2022), so random sampling costs a factor of about (d+1)2dℓˉ/ε(d+1)2^d\bar{\ell}/\varepsilon, independent of TT (§ 7.1). Linearity in TT needs Lipschitz constants bounded independently of the stage and of the horizon, as in the inventory model of Theorem 4.2; under extended relatively complete recourse, the Lipschitz constants of Benders cuts are only known to grow like T−tT-t (Theorem 4.1). As for all random-sampling results, GkG^k is not observed: the bounds count bad iterations and do not provide a stopping test (Theorem 2.1).

Proof outline. The proof does not use saturation. It follows the analysis of real-time dynamic programming (RTDP) [7] in reinforcement learning: the SDDP forward pass is exactly the sampling scheme of RTDP, which follows greedy trajectories, drawn from the true transition law, of a policy built on an optimistic value estimate (here a lower bound on costs). Let VtkV^k_t be the approximation of the cost-to-go function VtV_t at time tt after kk iterations, Bt\mathcal{B}_t the Bellman operator between times tt and t+1t+1, (xtk)0≤t≤T(x^k_t)_{0\leq t\leq T}, with x0k=x0x^k_0=x_0, the states visited by the forward pass of iteration kk, and Ak−1A_{k-1} the history of the first k−1k-1 iterations. Besides the gap, two quantities are tracked: the one-step Bellman residual rtk:=Bt(Vt+1k)−Vtk−1r_t^k := B_t(V_{t+1}^k) - V_t^{k-1}, which is local in time, and the volume Φk:=∑t<T∫(Vtk−Vt0) dμt\Phi^k := \sum_{t<T} \int(V_t^k - V_t^0)\,d\mu_t gained by the approximations, for a reference probability measure μt\mu_t on the states at time tt (the normalised Lebesgue measure when the state set is convex).

With exact cuts and an exact forward pass, three facts suffice.

(i) Gap identity (Theorem 3.2), as in Efroni et al. [15] for RTDP. The gap equals the expected sum of the residuals along the path that the algorithm samples, so no particular path needs to be sampled:

Gk=E[∑t<Trtk(xtk) ∣ Ak−1].(1)G^k = \mathbb{E}\left[\left.\sum_{t<T} r_t^k(x_t^k)\,\right|\,A_{k-1}\right]. \tag*{(1)}

(ii) Lift (Theorem 3.3). The backward pass lifts VtkV_t^k by its residual at the trial point; the approximations being Lipschitz, this pointwise lift is a lift on a ball, hence of the integral:

Φk−Φk−1≥ΨT(∑t<Trtk(xtk))(2)\Phi^k-\Phi^{k-1} \ge\Psi_T\left(\sum_{t<T}r_t^k(x_t^k)\right) \tag*{(2)}

for an explicit convex function ΨT\Psi_T.

(iii) Bounded potential. The approximations are nondecreasing and stay below the value functions, so 0≤Φk≤∑t<TMt0 \le\Phi^k \le\sum_{t<T} M_t with Mt≤sup⁡(Vt−Vt0)M_t \le\sup(V_t - V_t^0).

Taking expectations in (ii), using (i) and Jensen’s inequality, and summing over kk with (iii) gives

E∑k≥1ΨT(Gk)≤∑t<TMt(3)\mathbb{E}\sum_{k\ge1}\Psi_T(G^k) \le\sum_{t<T}M_t \tag*{(3)}

(Theorem 3.5), from which all the rates follow. In metric state spaces, Domingues et al. [13] and Sinclair et al. (2020, Lemma 7.3) already accumulate Lipschitz value updates of this kind over a covering and over adaptive partitions. We transfer this residual accounting to a general cut oracle: approximate tightness supplies the local lift, while a fixed upper bound on the cuts bounds the potential. To our knowledge, no earlier paper applies the RTDP analysis to SDDP or to cutting-plane methods.

Organisation. § 2 sets out the problem, the algorithms and the cut oracle, whose cuts need only be Lipschitz, approximately tight at the trial point and below a fixed ceiling, on state sets that may be nonconvex, mixed-integer or finite. § 3 proves the master theorem and derives explicit rates. § 4 applies it to Benders cuts, to the generalised conjugacy cuts of Zhang and Sun, and to stochastic dual dynamic integer programming (SDDiP) on binary states. § 5 treats noise without finite support: valid inexact cuts, backward passes on a sample average approximation (SAA), and sampled cuts. § 6 extends the analysis to stationary and periodic infinite-horizon problems and gives, for SDDP under extended relatively complete recourse, bounds polynomial in the effective horizon 1/(1−β)1/(1-\beta). § 7 compares the results with the SDDP and reinforcement-learning literature, and Section E collects the notation.

Setting

This section fixes the problem, the algorithms and the accuracy measure, the gap GkG^k, and states the two assumptions of the analysis, on the cut oracle (§ 2.3) and on the state sets (§ 2.4).

Problem

We consider a multistage stochastic program with stagewise-independent noise. Stage t∈[T]:={t∈N:1≤t≤T}t \in[T] := \{t \in\mathbb{N} : 1 \le t \le T\} starts at time t−1t-1 in a state xt−1∈Xt−1x_{t-1} \in\mathcal{X}_{t-1}, observes the noise ξt\xi_t, with law Pt\mathbb{P}_t on a measurable space Ξt\Xi_t and independent across stages, chooses the next state xt∈Xt(xt−1,ξt)⊂Xt⊂Rntx_t \in\mathcal{X}_t(x_{t-1}, \xi_t) \subset\mathcal{X}_t \subset\mathbb{R}^{n_t}, and pays the loss ℓt(xt−1,xt,ξt)\ell_t(x_{t-1}, x_t, \xi_t); the initial state is fixed, X0={x0}X_0 = \{x_0\}. We write ξ[t]:=(ξs)s∈[t]\xi_{[t]} := (\xi_s)_{s \in[t]} for the noise history up to stage tt. The loss ℓt\ell_t is Borel and real-valued (infinite losses are encoded in the constraint set Xt\mathcal{X}_t). For t<Tt < T, a bounded Borel function WW on Xt+1X_{t+1} and a probability law P\mathbb{P} on Ξt+1\Xi_{t+1}, let

B˙t(W;x,ξ):=inf⁡y∈Xt+1(x,ξ)ℓt+1(x,y,ξ)+W(y),BtP(W)(x):=∫B˙t(W;x,ξ)P(dξ),x∈Xt.(4)\dot{B}_t(W; x, \xi) := \inf_{y \in\mathcal{X}_{t+1}(x,\xi)} \ell_{t+1}(x,y,\xi) + W(y), \qquad B_t^{\mathbb{P}}(W)(x) := \int\dot{B}_t(W; x,\xi)\mathbb{P}(d\xi), \quad x \in X_t. \tag*{(4)}

We write Bt:=BtPt+1B_t := B_t^{\mathbb{P}_{t+1}} for the Bellman operator of the true law, and set VT:=0V_T := 0 and Vt:=Bt(Vt+1)V_t := B_t(V_{t+1}) for t<Tt < T (backward in tt). The operator BtB_t is monotone (W≤W′W \le W' on Xt+1X_{t+1} implies Bt(W)≤Bt(W′)B_t(W) \le B_t(W') on XtX_t) and commutes with constants. The following mild conditions make the stage problems and the cost of a policy well defined.

Assumption A (Standing assumptions). For every t∈[T]t \in[T]:

References

  1. [1]S. Ahmed, F. G. Cabral, and B. Freitas Paulo da Costa. Stochastic Lipschitz dynamic programming. Mathematical Programming, 191:755–793, 2022.
  2. [2]V. Baldoni, N. Berline, J. A. De Loera, M. Köppe, and M. Vergne. How to integrate a polynomial over a simplex. Mathematics of Computation, 80(273):297–325, 2011.
  3. [3]A. Bansal and S. Küçükayvuz. Normalization of ReLU dual for cut generation in stochastic mixed-integer programs. arXiv:2602.05974, 2026a.
  4. [4]A. Bansal and S. Küçükayvuz. SDDmiP.jl: A software package with a provably convergent Benders algorithm for multi-stage stochastic mixed-integer programming. arXiv:2608.05567, 2026b.
  5. [6]P. Barros, V. Guigues, J. Liang, and R. D. C. Monteiro. Dimension-free complexity guarantees for dual dynamic programming. arXiv:2606.10203v2, 2026.
  6. [7]A. G. Barto, S. J. Bradtke, and S. P. Singh. Learning to act using real-time dynamic programming. Artificial Intelligence, 72(1–2):81–138, 1995.
  7. [8]J. R. Birge and R. J.-B. Wets. Designing approximation schemes for stochastic optimization problems, in particular for stochastic programs with recourse. Mathematical Programming Study, 27:54–102, 1986.
  8. [9]C. Cruz, A. L. Diniz, and L. Bahiense. Backward resampling in stochastic dual dynamic programming: Application to power generation planning. European Journal of Operational Research, 335(1):192–215, 2026. doi: 10.1016/j.ejor.2026.05.011.
  9. [10]C. Dann, T. Lattimore, and E. Brunskill. Unifying PAC and regret: uniform PAC bounds for episodic reinforcement learning. In Advances in Neural Information Processing Systems 30 (NeurIPS 2017), 2017. arXiv:1703.07710.arxiv.org/abs/1703.07710
  10. [11]A. Delage, O. Buffet, J. S. Dibangoye, and A. Saffidine. HSVI can solve zero-sum partially observable stochastic games. Dynamic Games and Applications, 14(4):781–805, 2024.
  11. [12]H. Deng and W. Xie. On the ReLU Lagrangian cuts for stochastic mixed integer programming. arXiv:2411.01229, 2024.
  12. [13]O. D. Domingues, P. Ménard, M. Pirotta, E. Kaufmann, and M. Valko. Kernel-based reinforcement learning: a finite-time analysis. In Proceedings of the 38th International Conference on Machine Learning (ICML 2021), volume 139 of Proceedings of Machine Learning Research, 2021.arxiv.org/abs/2004.05599
  13. [14]O. Dowson. The policy graph decomposition of multi-stage stochastic programming problems. Networks, 76(1):3–23, 2020.
  14. [15]Y. Efroni, N. Merlis, M. Ghavamzadeh, and S. Mannor. Tight regret bounds for model-based reinforcement learning with greedy policies. In Advances in Neural Information Processing Systems 32 (NeurIPS 2019), 2019. arXiv:1905.11527.
  15. [16]M. Forcier and V. Leclère. Generalized adaptive partition-based method for two-stage stochastic linear programs: geometric oracle and analysis. Operations Research Letters, 50(5):552–557, 2022.
  16. [17]M. Forcier and V. Leclère. Trajectory following dynamic programming algorithms without finite support assumptions. Journal of Convex Analysis, 30(3):951–999, 2023.
  17. [18]N. Fournier and A. Guillin. On the rate of convergence in Wasserstein distance of the empirical measure. Probability Theory and Related Fields, 162:707–738, 2015.
  18. [20]C. Füllner, X. A. Sun, and S. Rebennack. On Lipschitz regularization and Lagrangian cuts in multistage stochastic mixed-integer linear programming. Optimization Online preprint, 2024. Updated February 2025.
  19. [21]P. Girardeau, V. Leclère, and A. B. Philpott. On the convergence of decomposition methods for multistage stochastic convex programs. Mathematics of Operations Research, 40(1):130–145, 2015. doi: 10.1287/moor.2014.0664.
  20. [22]V. Guigues. Inexact cuts in stochastic dual dynamic programming. SIAM Journal on Optimization, 30(1):407–438, 2020.
  21. [23]W. Hoeffding. Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association, 58(301):13–30, 1963.
  22. [24]C. Ju and G. Lan. Dual dynamic programming for stochastic programs over an infinite horizon. arXiv:2303.02024v4, 2023. First posted March 2023; version 4, 10 August 2026.
  23. [25]O. Kallenberg. Foundations of Modern Probability. Springer, New York, 2nd edition, 2002.
  24. [26]D. Kuhn. Generalized Bounds for Convex Multistage Stochastic Programs, volume 548 of Lecture Notes in Economics and Mathematical Systems. Springer, Berlin, 2005.
  25. [27]G. Lan. Complexity of stochastic dual dynamic programming. Mathematical Programming, 191:717–754, 2022a.
  26. [28]G. Lan. Correction to: Complexity of stochastic dual dynamic programming. Mathematical Programming, 194:1187–1189, 2022b.
  27. [29]G. Lan and A. Shapiro. Numerical methods for convex multistage stochastic optimization. Foundations and Trends in Optimization, 6(2):63–144, 2024. Remark numbers refer to arXiv:2303.15672.
  28. [30]C. McDiarmid. On the method of bounded differences. In Surveys in Combinatorics, 1989, volume 141 of London Mathematical Society Lecture Note Series, pages 148–188. Cambridge University Press, 1989.
  29. [31]G. Nannicini, E. Traversi, and R. Wolfler Calvo. A Benders squared (B²) framework for infinite-horizon stochastic linear programs. Mathematical Programming Computation, 13(4):645–681, 2021. doi: 10.1007/s12532-020-00195-2.

Paper details

vlnc:W_drknthg5
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 8

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents