# 近似动态规划

近似动态规划（ADP）是一类计算方法，用于近似大规模动态决策问题的价值函数与策略，而精确动态规划（DP）对这些问题难以处理。它把贝尔曼（Bellman）方程（通过最优下一决策递归定义最优值的方程）中的真实价值函数替换为参数化近似，并从模拟或观测到的系统轨迹中学习该近似，而不是枚举所有状态。<sup>[1](https://castle.princeton.edu/Papers/Powell-NRLWhat%20you%20should%20know%20about%20approximate%20dynamic%20programming.pdf)</sup> 同一方法论在不同领域以不同名称出现：控制理论中的神经动态规划、计算机科学中的强化学习，以及运筹学中的近似动态规划。<sup>[1](https://castle.princeton.edu/Papers/Powell-NRLWhat%20you%20should%20know%20about%20approximate%20dynamic%20programming.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 核心机制 | 将贝尔曼方程中的 \( V_{t}(S_{t}) \) 替换为近似 \( \bar{V}_{t}(S_{t}) \)，并沿模拟样本路径随时间向前推进，而不是反向遍历所有状态。<sup>[1](https://castle.princeton.edu/Papers/Powell-NRLWhat%20you%20should%20know%20about%20approximate%20dynamic%20programming.pdf)</sup> |
| 维数灾难 | 最多三种：状态空间、结果空间（随机性）和动作空间。<sup>[2](https://onlinelibrary.wiley.com/doi/book/10.1002/9781118029176)</sup> |
| 可处理性阈值 | 即使只有四五个状态维度的问题，对精确 DP 也可能在计算上难以处理。<sup>[3](https://www.informs-sim.org/wsc08papers/022.pdf)</sup> |
| 决策后状态 | 在决策之后、新信息到达之前的状态处评估价值函数，可消除更新中一个难以处理的内嵌期望。<sup>[1](https://castle.princeton.edu/Papers/Powell-NRLWhat%20you%20should%20know%20about%20approximate%20dynamic%20programming.pdf)</sup> |
| 策略迭代界 | 在评估误差为 \( \delta \)、改进误差为 \( \epsilon \) 时，\( \limsup_{k} \| J^{\mu_{k}} - J^{*} \| \le (\epsilon + 2\alpha\delta)/(1-\alpha)^{2} \)。<sup>[4](https://ocw.mit.edu/courses/6-231-dynamic-programming-and-stochastic-control-fall-2015/bb07e6775d7c84caf39b619ecdb340a2_MIT6_231F15_lec02_short.pdf)</sup> |
| 步长陷阱 | 使用标准 \( 1/n \) 步长时，对于大于 0.85 的折扣因子，近似价值迭代需要超过 \( 10^{12} \) 次迭代才能将与最优值的相对误差降至 1%。<sup>[5](https://people.orie.cornell.edu/pfrazier/pub/stepsizes.pdf)</sup> |
| 工业规模 | ADP 策略已被证明可用于情景树无法处理、包含数百或数千个时间段的问题。<sup>[6](https://www.sciencedirect.com/science/article/pii/S2192437620600048)</sup> |

## 工作原理

精确动态规划建立在[贝尔曼方程](https://www.edgepedia.org/zh/bellman-equation) \( J^{*} = TJ^{*} \) 之上，其中 \( T \) 是贝尔曼算子；价值迭代和策略迭代是求解该方程的两大主要算法，而对于有限状态空间，策略迭代会有限终止。<sup>[4](https://ocw.mit.edu/courses/6-231-dynamic-programming-and-stochastic-control-fall-2015/bb07e6775d7c84caf39b619ecdb340a2_MIT6_231F15_lec02_short.pdf)</sup> ADP 保留这种不动点结构，但只在采样得到的状态子集上应用贝尔曼算子，并对计算出的值拟合函数近似，从而推广表格型 DP。<sup>[7](https://web.stanford.edu/class/cme241/lecture_slides/Tour-ADP.pdf)</sup> 只要方程需要，近似 \( \bar{V}_{t+1}(S_{t+1}) \) 就替代真实价值函数。<sup>[3](https://www.informs-sim.org/wsc08papers/022.pdf)</sup>

有两个障碍促成了这种替换。第一，维数灾难：现实中的状态变量是向量值或连续的，即使只有四五个维度，精确 DP 也会变得难以处理。<sup>[3](https://www.informs-sim.org/wsc08papers/022.pdf)</sup> 鲍威尔（Powell）的框架最多计入三种灾难：状态空间、结果空间和动作空间。<sup>[2](https://onlinelibrary.wiley.com/doi/book/10.1002/9781118029176)</sup> 第二，建模灾难：不需要显式的系统模型，可以改用模拟器。<sup>[8](http://www.athenasc.com/ndppreface.html)</sup> 一种常用手段是引入决策后状态，即决策之后、新信息到达之前的状态；它是决策前状态与决策的确定性函数，在该状态处评估近似可避免对下一个随机结果的内嵌期望。<sup>[1](https://castle.princeton.edu/Papers/Powell-NRLWhat%20you%20should%20know%20about%20approximate%20dynamic%20programming.pdf)</sup>

## 如何实施

一个基本的 ADP 算法沿模拟样本路径随时间向前推进。在每次决策时，它选择

\[ x^{\pi}(S_{t}) = \arg\min_{x_{t}} \left( C(S_{t}, x_{t}) + \bar{V}_{t}^{x}(S_{t}^{x}) \right), \]

其中 \( S_{t}^{x} \) 是决策后状态，然后观测转移，并围绕该决策后状态更新近似。<sup>[6](https://www.sciencedirect.com/science/article/pii/S2192437620600048)</sup><sup> • </sup><sup>[3](https://www.informs-sim.org/wsc08papers/022.pdf)</sup> 更一般地，实践者在通过动态规划改进采样状态处的价值估计与在这些状态处重新拟合参数化近似之间交替进行。<sup>[9](https://algorithmsbook.com/files/chapter-8.pdf)</sup>

**近似架构**分为局部方法（最近邻、核平滑、线性插值与单纯形插值）和全局方法（线性回归、神经网络回归）；两者都可写成线性近似 \( U_{\theta}(s) = \theta^{\top}\beta(s) \)。<sup>[9](https://algorithmsbook.com/files/chapter-8.pdf)</sup> 主力线性形式是 \( \bar{V}(s \mid \theta) = \sum_{f} \theta_{f} \phi_{f}(s) \)，其中 \( \phi_{f}(s) \) 是一个特征，即状态的任意函数。<sup>[6](https://www.sciencedirect.com/science/article/pii/S2192437620600048)</sup> 拟合可以表述为最大似然，等价于最小化交叉熵损失，并采用增量梯度更新；表格型预测是线性近似以指示函数为特征的特例。<sup>[7](https://web.stanford.edu/class/cme241/lecture_slides/Tour-ADP.pdf)</sup> [插值](https://www.edgepedia.org/zh/interpolation)细节很重要：多线性插值在 \( d \) 维中需要 \( 2^{d} \) 个点，而单纯形插值每个单元只需要 \( d+1 \) 个点。<sup>[9](https://algorithmsbook.com/files/chapter-8.pdf)</sup>

主要算法族包括近似价值迭代、近似策略迭代，以及求解投影贝尔曼方程 \( \Phi r = \Pi T(\Phi r) \) 的时序差分方法，包括 TD(λ)、LSTD(λ) 和 LSPE(λ)。<sup>[10](https://www.mit.edu/~dimitrib/Approx_Value_Iteration.pdf)</sup> 对于线性架构，TD(λ) 在实践中通常不如最小二乘方法 LSTD(λ) 和 LSPE(λ)。<sup>[11](https://web.mit.edu/dimitrib/www/dpchapter.pdf)</sup>

## 起源

用统计近似替代价值函数的想法，最早在贝尔曼和德雷福斯（Dreyfus）1959 年发表于《计算数学》（Mathematics of Computation）的论文《函数近似与动态规划》（Functional Approximations and Dynamic Programming）中得到检验。<sup>[12](https://doi.org/10.1090/s0025-5718-1959-0107376-8)</sup> 价值函数近似研究的现代时期可追溯到施韦策（Schweitzer）和赛德曼（Seidmann）1985 年发表于《数学分析与应用杂志》（Journal of Mathematical Analysis and Applications）的关于马尔可夫决策过程中广义多项式近似的工作。<sup>[13](https://doi.org/10.1016/0022-247x%2885%2990317-8)</sup> 《神经动态规划》（Neuro-Dynamic Programming）一书系统化了这一方法论；作者在序言中说明，他们选择“神经动态规划”这一名称，是因为它比旧术语“强化学习”更能描述该主题，而该书的方法使用神经网络近似来克服维数灾难和建模灾难。<sup>[14](http://athenasc.com/ndpbook.html)</sup><sup> • </sup><sup>[8](http://www.athenasc.com/ndppreface.html)</sup> 在运筹学中，鲍威尔的教科书《近似动态规划：求解维数灾难》（Approximate Dynamic Programming: Solving the Curses of Dimensionality）（2007 年，第二版 2011 年）整合了马尔可夫决策过程、数学规划、仿真和统计学。<sup>[2](https://onlinelibrary.wiley.com/doi/book/10.1002/9781118029176)</sup> 齐齐克利斯（Tsitsiklis）和范罗伊（Van Roy）1997 年发表于《IEEE 自动控制汇刊》（IEEE Transactions on Automatic Control）的分析，确立了当策略保持固定时带函数近似的时序差分学习的收敛性。<sup>[15](https://doi.org/10.1109/9.580874)</sup> 计算机科学中还有一条并行的强化学习路线。<sup>[16](https://castle.princeton.edu/Papers/Powell-Perspectives%20of%20Approximate%20Dynamic%20Programming_AnnalsOR2012.pdf)</sup>

## 变体

鲍威尔的框架把策略分为四类：短视策略、前瞻策略、策略函数近似和基于价值函数近似的策略。<sup>[2](https://onlinelibrary.wiley.com/doi/book/10.1002/9781118029176)</sup> 前瞻策略对应于运筹学中的滚动时域方法、计算机科学中的滚动时域过程，以及控制理论中的模型预测控制（MPC）。<sup>[6](https://www.sciencedirect.com/science/article/pii/S2192437620600048)</sup> Rollout 方法使用基启发式的模拟成本作为价值近似，并且是一步策略迭代。<sup>[10](https://www.mit.edu/~dimitrib/Approx_Value_Iteration.pdf)</sup> 乐观策略迭代在价值迭代（每次改进做一次评估）与策略迭代（完整评估）之间插值，通常比两者都更高效；近似 [SARSA](https://www.edgepedia.org/zh/sarsa) 实际上就是一种乐观策略迭代。<sup>[4](https://ocw.mit.edu/courses/6-231-dynamic-programming-and-stochastic-control-fall-2015/bb07e6775d7c84caf39b619ecdb340a2_MIT6_231F15_lec02_short.pdf)</sup><sup> • </sup><sup>[17](https://link.springer.com/chapter/10.1007/978-3-642-11688-9_1)</sup>

在自适应控制文献中，该方法后来被称为自适应评判设计，并分为启发式动态规划（HDP）、对偶启发式规划（DHP）和全局化 DHP（GDHP）；动作依赖形式 ADHDP 也称为 [Q学习](https://www.edgepedia.org/zh/q-learning)，而迭代 ADP 算法将用于策略评估的评判网络与用于策略改进的行动者网络配对。<sup>[18](http://www.derongliu.org/adp/adp-cdrom/refs/liu20210142.pdf)</sup> 近似线性规划（ALP）方法通过求解一个线性规划，将预先选定的基函数的线性组合拟合到未来成本函数。<sup>[19](https://proceedings.neurips.cc/paper_files/paper/2001/file/cd4bb35c75ba84b4f39e547b1416fd35-Paper.pdf)</sup><sup> • </sup><sup>[20](https://pubsonline.informs.org/doi/10.1287/opre.51.6.850.24925)</sup>

## 应用

在一个八维排队网络实验中，ALP 策略优于 FIFO、LBFS 和 LONG 启发式，相比 LBFS 带来超过 10% 的改进。<sup>[19](https://proceedings.neurips.cc/paper_files/paper/2001/file/cd4bb35c75ba84b4f39e547b1416fd35-Paper.pdf)</sup> 西芒（Simão）及其同事于 2008 年在《运输科学》（Transportation Science）上发表了用于大规模卡车运输的车队管理 ADP 算法。<sup>[21](https://doi.org/10.1287/trsc.1080.0238)</sup> 资源分配应用包括运输、供应链、投资组合、疫苗分发和应急响应。<sup>[1](https://castle.princeton.edu/Papers/Powell-NRLWhat%20you%20should%20know%20about%20approximate%20dynamic%20programming.pdf)</sup>

## 局限与替代方法

对于具有一致有界 \( L_{\infty} \) 误差 \( \epsilon \) 的近似价值迭代，贪婪策略损失的经典界是 \( \| V^{*} - V^{\pi_{n}} \|_{\infty} \le 2\gamma\epsilon/(1-\gamma)^{2} \)；这要求所有状态上的一致低误差，而在大规模下很难保证。<sup>[22](https://chercheurs.lille.inria.fr/~munos/papers/files/AAAI05-159.pdf)</sup> 对于近似策略迭代，\( \limsup_{k} \| J^{\mu_{k}} - J^{*} \| \le (\epsilon + 2\alpha\delta)/(1-\alpha)^{2} \)。<sup>[4](https://ocw.mit.edu/courses/6-231-dynamic-programming-and-stochastic-control-fall-2015/bb07e6775d7c84caf39b619ecdb340a2_MIT6_231F15_lec02_short.pdf)</sup>

**失效模式已有充分记录。** 使用线性基函数的近似价值迭代即使从真实最优解出发也可能发散。<sup>[16](https://castle.princeton.edu/Papers/Powell-Perspectives%20of%20Approximate%20Dynamic%20Programming_AnnalsOR2012.pdf)</sup> 乐观策略迭代可能表现出抖动，即参数序列收敛而策略序列振荡。<sup>[11](https://web.mit.edu/dimitrib/www/dpchapter.pdf)</sup> 在固定策略下探索不足会使未来成本估计产生偏差，当系统是确定性的或随机性很小时尤为严重；补救措施包括频繁重启、偶尔随机控制和双马尔可夫链。<sup>[11](https://web.mit.edu/dimitrib/www/dpchapter.pdf)</sup><sup> • </sup><sup>[23](https://ocw.mit.edu/courses/6-231-dynamic-programming-and-stochastic-control-fall-2015/99f96fbd7ff4047d84ef269974f7e78b_MIT6_231F15_Lec19.pdf)</sup> 错误的步长会毁掉算法：下降过快看似收敛，实则远离正确解；步长过大则产生不稳定。<sup>[1](https://castle.princeton.edu/Papers/Powell-NRLWhat%20you%20should%20know%20about%20approximate%20dynamic%20programming.pdf)</sup> 标准 \( 1/n \) 步长满足 Robbins-Monro 条件，却以指数级缓慢速度收敛；对于大于 0.85 的折扣因子，需要超过 \( 10^{12} \) 次迭代才能将与最优值的相对误差降至 1%。<sup>[5](https://people.orie.cornell.edu/pfrazier/pub/stepsizes.pdf)</sup>

将函数近似器代入价值迭代或策略迭代时会出现两个误差来源：自举与跨状态泛化结合得很差，而由取最大值操作引起的策略变化会产生分布偏移，从而放大近似误差。贝尔曼残差技术要稳定得多，理论也更丰富，但在实践中往往表现更差，而且近似策略迭代并不比近似价值迭代更稳定。<sup>[24](https://macrl-book.github.io/assets/pdf/8_macrl.pdf)</sup> 当状态-控制对太多而无法更新时，Q学习往往不切实际。<sup>[11](https://web.mit.edu/dimitrib/www/dpchapter.pdf)</sup> 对于凸随机动态规划，基于 K近似集的完全多项式时间近似方案可以计算价值函数的 \( (1+\epsilon) \)-近似，不需要基函数，并具有先验保证。<sup>[25](https://dspace.mit.edu/bitstream/handle/1721.1/116205/13094774x.pdf)</sup> 与模型预测控制相比，已发表的比较包括恩斯特（Ernst）及其同事（2008 年）关于电力系统问题上强化学习与 MPC 的研究。<sup>[26](https://doi.org/10.1109/tsmcb.2008.2007630)</sup> 在基于仿真的方法中，策略空间近似（直接优化参数化策略）与价值空间近似（近似价值迭代、近似策略迭代、Q学习、近似线性规划）并列。<sup>[23](https://ocw.mit.edu/courses/6-231-dynamic-programming-and-stochastic-control-fall-2015/99f96fbd7ff4047d84ef269974f7e78b_MIT6_231F15_Lec19.pdf)</sup>

## References

1. [What you should know about approximate dynamic programming (Powell, Naval Research Logistics 56(3):239-249, 2009)](https://castle.princeton.edu/Papers/Powell-NRLWhat%20you%20should%20know%20about%20approximate%20dynamic%20programming.pdf)
2. [Approximate Dynamic Programming: Solving the Curses of Dimensionality, 2nd Edition (Powell, Wiley, 2011)](https://onlinelibrary.wiley.com/doi/book/10.1002/9781118029176)
3. [Approximate Dynamic Programming: Lessons from the Field (Powell, WSC 2008)](https://www.informs-sim.org/wsc08papers/022.pdf)
4. [MIT 6.231 Fall 2015 Lecture 2: Discounted DP, VI/PI, Q-learning, Abstract DP (Bertsekas)](https://ocw.mit.edu/courses/6-231-dynamic-programming-and-stochastic-control-fall-2015/bb07e6775d7c84caf39b619ecdb340a2_MIT6_231F15_lec02_short.pdf)
5. [Approximate Value Iteration Converges Slowly When Smoothed with a 1/n Stepsize (Frazier & Powell)](https://people.orie.cornell.edu/pfrazier/pub/stepsizes.pdf)
6. [Approximate dynamic programming in transportation and logistics: a unified framework (tutorial)](https://www.sciencedirect.com/science/article/pii/S2192437620600048)
7. [A Guided Tour of Chapter 6: Function Approximation and Approximate DP (Rao, Stanford CME 241)](https://web.stanford.edu/class/cme241/lecture_slides/Tour-ADP.pdf)
8. [Preface: Neuro-Dynamic Programming](http://www.athenasc.com/ndppreface.html)
9. [Algorithms for Decision Making, Chapter 8: Approximate Value Functions (Kochenderfer et al.)](https://algorithmsbook.com/files/chapter-8.pdf)
10. [Approximate Dynamic Programming Based on Value and Policy Iteration (Bertsekas, MIT lecture/slides)](https://www.mit.edu/~dimitrib/Approx_Value_Iteration.pdf)
11. [Dynamic Programming and Optimal Control, Vol. II (approximation chapter), Dimitri P. Bertsekas](https://web.mit.edu/dimitrib/www/dpchapter.pdf)
12. [Richard Bellman, Stuart Dreyfus (1959). Functional approximations and dynamic programming. Mathematics of Computation.](https://doi.org/10.1090/s0025-5718-1959-0107376-8)
13. [Generalized polynomial approximations in Markovian decision processes (Journal of Mathematical Analysis and Applications, 1985)](https://doi.org/10.1016/0022-247x%2885%2990317-8)
14. [Neuro-Dynamic Programming (Bertsekas & Tsitsiklis, Athena Scientific, 1996)](http://athenasc.com/ndpbook.html)
15. [J.N. Tsitsiklis, B. Van Roy (1997). An analysis of temporal-difference learning with function approximation. IEEE Transactions on Automatic Control.](https://doi.org/10.1109/9.580874)
16. [Perspectives of Approximate Dynamic Programming (Powell, Annals of Operations Research, 2012)](https://castle.princeton.edu/Papers/Powell-Perspectives%20of%20Approximate%20Dynamic%20Programming_AnnalsOR2012.pdf)
17. [Approximate Dynamic Programming and Reinforcement Learning (Buşoniu et al., Springer chapter)](https://link.springer.com/chapter/10.1007/978-3-642-11688-9_1)
18. [Adaptive Dynamic Programming for Control: A Survey and Recent Advances (Liu et al., IEEE TSMC)](http://www.derongliu.org/adp/adp-cdrom/refs/liu20210142.pdf)
19. [Approximate Dynamic Programming via Linear Programming (de Farias & Van Roy, NeurIPS 2001)](https://proceedings.neurips.cc/paper_files/paper/2001/file/cd4bb35c75ba84b4f39e547b1416fd35-Paper.pdf)
20. [The Linear Programming Approach to Approximate Dynamic Programming (de Farias & Van Roy, Operations Research)](https://pubsonline.informs.org/doi/10.1287/opre.51.6.850.24925)
21. [Hugo P. Simão and colleagues (2008). An Approximate Dynamic Programming Algorithm for Large-Scale Fleet Management: A Case Application. Transportation Science.](https://doi.org/10.1287/trsc.1080.0238)
22. [Error Bounds for Approximate Value Iteration (Munos, AAAI 2005)](https://chercheurs.lille.inria.fr/~munos/papers/files/AAAI05-159.pdf)
23. [MIT 6.231 Fall 2015 Lecture 19: Introduction to Approximate Dynamic Programming (Bertsekas)](https://ocw.mit.edu/courses/6-231-dynamic-programming-and-stochastic-control-fall-2015/99f96fbd7ff4047d84ef269974f7e78b_MIT6_231F15_Lec19.pdf)
24. [Modern Adaptive Control and Reinforcement Learning (draft lecture notes, chapter 8)](https://macrl-book.github.io/assets/pdf/8_macrl.pdf)
25. [A fully polynomial-time approximation scheme for convex stochastic dynamic programs](https://dspace.mit.edu/bitstream/handle/1721.1/116205/13094774x.pdf)
26. [D. Ernst and colleagues (2008). Reinforcement Learning Versus Model Predictive Control: A Comparison on a Power System Problem. IEEE Transactions on Systems Man and Cybernetics Part B (Cybernetics).](https://doi.org/10.1109/tsmcb.2008.2007630)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Algorithms and computational methods › Optimization and dynamic programming › Dynamic programming and sequential optimization

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/approximate-dynamic-programming

English original: https://www.edgepedia.org/approximate-dynamic-programming
