# 预测–校正方法

预测–校正方法是一种求解常微分方程初值问题的数值方法：显式公式（预测器）为新步的解提供初始猜测，较精确的隐式公式（校正器）则通常通过函数迭代对该猜测加以精化。<sup>[1](https://heath.cs.illinois.edu/iem/ode/pcorrect/)</sup> 这一思想是使隐式多步方法变得实用的一条途径：当 \( f \) 以复杂方式依赖于 \( y \) 时，如何从 \( f_{n+k} = f((n+k)h, y_{n+k}) \) 中解出 \( y_{n+k} \) 并不显然，而预测–校正的组合无需完整求解非线性方程即可化解这一隐式性。<sup>[2](https://www.mub.eps.manchester.ac.uk/helm/wp-content/uploads/sites/81/2020/09/32_3.pdf)</sup>

| 关键事实 | 数值 |
|---|---|
| PECE 模式下每步对 \( f \) 的求值次数 | 两次，是纯亚当斯–巴什福斯公式代价的两倍，以此换取稳定性与精度<sup>[3](https://courses.cs.vt.edu/cs4414/alexey/LECTURES/ODE_solvers.2000.pdf)</sup> |
| 三阶亚当斯对的局部截断误差 | \( \tfrac{3}{8} y^{(4)} \cdot h^4 + O(h^5) \)（预测器）对 \( \tfrac{1}{24} y^{(4)} \cdot h^4 + O(h^5) \)（校正器）<sup>[3](https://courses.cs.vt.edu/cs4414/alexey/LECTURES/ODE_solvers.2000.pdf)</sup> |
| 四阶亚当斯对 | 隐式误差常数约为显式误差常数的 \( 1/13 \)；绝对稳定区间约为显式方法的 10 倍<sup>[4](https://sites.math.rutgers.edu/~falk/math573/lecture22.pdf)</sup> |
| 内建误差估计 | 预测值与校正值之差除以 10（截断误差之比为 9:1）<sup>[3](https://courses.cs.vt.edu/cs4414/alexey/LECTURES/ODE_solvers.2000.pdf)</sup> |
| 阶数屏障 | 稳定的 \( k \) 步线性多步方法限于 \( p = k+2 \)（偶数 \( k \)）、\( p = k+1 \)（奇数 \( k \)），显式时 \( p = k \)；广义格式在 \( k \le 4 \) 时可达 \( p = 2k+2 \)<sup>[5](https://dl.acm.org/doi/10.1145/321217.321223)</sup><sup> • </sup><sup>[21](https://tobydriscoll.net/fnc-julia/ivp/zerostability.html)</sup> |
| 旗舰实现 | 尚派恩–戈登变阶、变步长亚当斯–巴什福斯–莫尔顿代码，采用 PECE 迭代，即 Matlab 的 ode113<sup>[4](https://sites.math.rutgers.edu/~falk/math573/lecture22.pdf)</sup> |

## 工作原理

两步使用相同的插值思想，只是取点不同。将多项式拟合到此前在点 \( x_n, x_{n-1}, \ldots, x_{n-p} \) 处算得的导数值并积分，得到显式亚当斯–巴什福斯方法；把新点 \( x_{n+1} \) 也纳入插值点，则得到隐式亚当斯–莫尔顿公式。<sup>[4](https://sites.math.rutgers.edu/~falk/math573/lecture22.pdf)</sup> 预测器将导数的多项式拟合外推到新点并积分；校正器则利用右端的预测值重新做一次积分。<sup>[6](https://www.physics.unlv.edu/~jeffery/astro/computer/numrec/f16-7.pdf)</sup>

预测器以一次额外的 \( f \) 求值为代价发挥两个作用：它免去了应对校正器隐式性的迭代方法，并提供误差估计。<sup>[7](https://www.math.iit.edu/~fass/478578_Chapter_5.pdf)</sup> 由于校正器的截断误差远小于预测器，两个近似之间的差距便衡量了所接受值的误差。<sup>[3](https://courses.cs.vt.edu/cs4414/alexey/LECTURES/ODE_solvers.2000.pdf)</sup> 迭代模式记作 \( P(EC)^m \) 或 \( P(EC)^mE \)，其中 P 为预测，E 在预测值处求 \( f \)，C 为校正；常见做法是 \( m = 1 \) 或 \( m = 2 \)，而单次校正的 PECE 模式最为流行。<sup>[4](https://sites.math.rutgers.edu/~falk/math573/lecture22.pdf)</sup><sup> • </sup><sup>[1](https://heath.cs.illinois.edu/iem/ode/pcorrect/)</sup>

## 实施方法

实践者的工作流程如下。第一步，启动值：多步方法需要此前若干点上的 \( y \) 与 \( f \)，由龙格–库塔法或泰勒级数法生成<sup>[4](https://sites.math.rutgers.edu/~falk/math573/lecture22.pdf)</sup>；为这些先前步做准备是该方法的固有代价。<sup>[6](https://www.physics.unlv.edu/~jeffery/astro/computer/numrec/f16-7.pdf)</sup> 第二步，用显式亚当斯公式预测。第三步，校正：对非刚性问题，一两次函数迭代足矣；对刚性问题，无论预测多么接近，函数迭代若不采用极小步长就不会收敛，因此牛顿迭代通常是刚性多步求解器的必要组成部分。<sup>[6](https://www.physics.unlv.edu/~jeffery/astro/computer/numrec/f16-7.pdf)</sup> 无论如何，把校正器迭代到收敛并不值得，因为该步的精度只限于校正器的有限阶。<sup>[6](https://www.physics.unlv.edu/~jeffery/astro/computer/numrec/f16-7.pdf)</sup>

第四步，误差控制与步长调整。米尔恩技巧以预测近似与校正近似之差除以 10 作为校正公式误差的估计，因为二者的截断误差之比为 9:1。<sup>[3](https://courses.cs.vt.edu/cs4414/alexey/LECTURES/ODE_solvers.2000.pdf)</sup> 在两步亚当斯对中，估计量 \( \kappa = \tfrac{1}{6}|\tilde{y}_{n+2} - y_{n+2}| \) 在相对较大时触发 \( h \leftarrow h/2 \)，较小时则采用步长加倍。<sup>[7](https://www.math.iit.edu/~fass/478578_Chapter_5.pdf)</sup> 现代代码为预测器与校正器选取相同的步数 \( k \)，使校正器的阶 \( k+1 \) 成为整体阶，同时仍用预测–校正之差做步长控制。<sup>[3](https://courses.cs.vt.edu/cs4414/alexey/LECTURES/ODE_solvers.2000.pdf)</sup> 尚派恩–戈登代码从 1 步亚当斯方法起步，继而 2 步方法，如此类推，直到生成全部启动值，并通过插值多项式的差商形式改变步长。<sup>[4](https://sites.math.rutgers.edu/~falk/math573/lecture22.pdf)</sup> 多值实现使变阶与变步长变得容易：选择允许下一步步长最大的阶（从 1 阶开始），各分量按 \( h_{\text{new}}/h_{\text{old}} \) 的幂重新缩放；相比之下，等距步长公式使步长调整变得困难。<sup>[6](https://www.physics.unlv.edu/~jeffery/astro/computer/numrec/f16-7.pdf)</sup>

## 起源

R. W. 哈明（R. W. Hamming）于 1959 年在《美国计算机学会杂志》上报告了常微分方程的稳定预测–校正方法；该文结合了亚当斯–巴什福斯型与亚当斯–莫尔顿型公式，并将预测–校正途径与龙格–库塔法作了对比。<sup>[8](https://doi.org/10.1145/320954.320958)</sup> R. L. 克兰（R. L. Crane）与 R. W. 克洛普芬斯坦（R. W. Klopfenstein）于 1965 年在同一期刊上发表了一种绝对稳定范围更大的预测–校正算法。<sup>[9](https://doi.org/10.1145/321264.321272)</sup> 理论框架是达尔奎斯特（Dahlquist）的阶数屏障：对 \( y' = f(x,y) \) 用稳定 \( k \) 步方法可获得的阶 \( p \) 限于 \( p = k+1 \)，但若在一个非步点上引入导数，广义预测–校正格式便可突破这一限制，对 \( k \le 4 \) 构造出了 \( p = 2k+2 \) 阶的稳定 \( k \) 步格式。<sup>[5](https://dl.acm.org/doi/10.1145/321217.321223)</sup>

## 变体

第一特征多项式为 \( \rho(z) = z^k - z^{k-1} \) 的线性 \( k \) 步方法即亚当斯方法，显式者称亚当斯–巴什福斯，隐式者称亚当斯–莫尔顿；\( \rho(z) = z^k - z^{k-2} \) 给出尼斯特伦方法（显式）与米尔恩–辛普森方法（隐式）；它们都是零稳定的。<sup>[10](https://people.maths.ox.ac.uk/suli/nsodes.pdf)</sup> 亚当斯–巴什福斯–莫尔顿（ABM）对将亚当斯–巴什福斯预测器与匹配的亚当斯–莫尔顿校正器配对。<sup>[4](https://sites.math.rutgers.edu/~falk/math573/lecture22.pdf)</sup> 米尔恩–辛普森方法与哈明方法同为四阶，且共用米尔恩预测器；米尔恩–辛普森方法弱不稳定，因为其特征多项式的一个寄生根落在单位圆上，误差振荡永不衰减，而哈明的校正器把这些寄生根推到圆内，从而治愈了不稳定性。<sup>[11](https://shelvean.github.io/math-tools/ivp.html)</sup> 半显式预测–校正方法比亚当斯–巴什福斯方法稳定性更高，而全部计算均为显式，因而在大规模系统仿真中颇具前景。<sup>[12](https://www.mdpi.com/2227-7390/9/19/2463)</sup>

## 应用

这一经典结构已被复用于扩散模型采样，其中对训练好的网络的每次求值都很昂贵。UniPC（2023）由预测器 UniP 与校正器 UniC 组成，二者共享同一解析形式；UniP 支持任意阶，UniC 可接在现成的快速采样器之后以提升其精度阶，并通过复用缓冲的先前求值，避免经典 ODE 预测–校正方法中使代价翻倍的额外模型求值。<sup>[13](https://arxiv.org/pdf/2302.04867v4)</sup> DPM-Solver-v3（2023）同样应用预测–校正方法在每步精化近似。<sup>[14](https://papers.nips.cc/paper_files/paper/2023/file/ada8de994b46571bdcd7eeff2d3f9cff-Paper-Conference.pdf)</sup> DC-Solver（ECCV 2024）通过动态补偿缓解预测–校正扩散采样框架中的失配，用一个学习到的补偿比 \( \rho^*_i \) 控制新时间步上对先前模型输出的拉格朗日插值。<sup>[15](https://www.ecva.net/papers/eccv_2024/papers_ECCV/papers/01795.pdf)</sup> 在科学机器学习中，统一的预测–校正范式用基于物理的梯形（克兰克–尼科尔森）校正 \( y^{\text{corr}}_{n+1} = y_n + \tfrac{h}{2}\left[f(y_n) + f(\hat{y}_{n+1})\right] \) 对学习到的一步神经预测做后处理，当 \( f \) 刚性或非线性时可选用不动点或牛顿步迭代；基于求解器的校正显著改善了 ODE（洛伦兹-63/96）与二维热方程上的长时程精度。<sup>[16](https://ml4physicalsciences.github.io/2025/files/NeurIPS_ML4PS_2025_319.pdf)</sup>

## 局限与替代方案

校正迭代次数固定的预测–校正方法实质上是一种显式方法：它失去了隐式方法的强稳定性，只应用于非刚性问题。<sup>[6](https://www.physics.unlv.edu/~jeffery/astro/computer/numrec/f16-7.pdf)</sup> 在所分析的方法中，不稳定性一旦出现，便来自特征多项式模大于 1 的复根；在一项比较中，改进的哈明预测–校正法或许最佳，改进的亚当斯法与“二分之一”法几乎同样好。<sup>[17](https://scholarsmine.mst.edu/cgi/viewcontent.cgi?article=3833&context=masters_theses)</sup> 稳定区域 \( S \) 是使一切数值解衰减的复 \( z = h \cdot \lambda \) 的集合；预测–校正亚当斯方法既不像 BDF 公式那样是线性多步方法，也不是隐式龙格–库塔方法。<sup>[18](https://unige.ch/~hairer/preprints/pcam-ode.pdf)</sup><sup> • </sup><sup>[22](https://na.uni-tuebingen.de/~lubich/pcam-ode.pdf)</sup>

代价比较在求值次数上有利于该方法：预测–校正对每步需两次 \( f \) 求值，而四阶龙格–库塔需四次，但启动点是预测–校正方法的弱点，而龙格–库塔更易改变步长。<sup>[19](https://archive.nptel.ac.in/content/storage2/courses/111107063/module2/lecture1/lecture1.pdf)</sup> 已发表的评判对该方法的地位意见不一。《数值方法》（Numerical Recipes）的作者怀疑预测–校正积分器“已风光不再”，主要存续于对右端非常复杂而非常光滑的方程做高精度求解，高精度或昂贵右端宜用布尔利施–施特尔法，便利则用自适应龙格–库塔法。<sup>[6](https://www.physics.unlv.edu/~jeffery/astro/computer/numrec/f16-7.pdf)</sup> 一项 SIAM 比较研究得出了相反结论：克罗的变阶亚当斯实现在受测者中最佳，吉尔方法也很好，龙格–库塔方法除四阶或五阶变体外一般缺乏竞争力。<sup>[20](https://epubs.siam.org/doi/10.1137/0709052)</sup>

## References

1. [Interactive Educational Modules in Scientific Computing: Predictor-Corrector Methods (Heath, UIUC)](https://heath.cs.illinois.edu/iem/ode/pcorrect/)
2. [HELM Workbook 32.3: Predictor-Corrector Methods (University of Manchester)](https://www.mub.eps.manchester.ac.uk/helm/wp-content/uploads/sites/81/2020/09/32_3.pdf)
3. [Numerical Methods for Ordinary Differential Equations: Initial Value Problems (J.C. Butcher, J. Comput. Appl. Math. 125 (2000) 1–29)](https://courses.cs.vt.edu/cs4414/alexey/LECTURES/ODE_solvers.2000.pdf)
4. [Lecture 22: Predictor-Corrector Methods (Math 573, Rutgers, R. Falk)](https://sites.math.rutgers.edu/~falk/math573/lecture22.pdf)
5. [Generalized Multistep Predictor-Corrector Methods (ACM)](https://dl.acm.org/doi/10.1145/321217.321223)
6. [Numerical Recipes §16.7: Multistep, Multivalue, and Predictor-Corrector Methods](https://www.physics.unlv.edu/~jeffery/astro/computer/numrec/f16-7.pdf)
7. [Chapter 5: Multistep Methods (A. Fass, Illinois Institute of Technology)](https://www.math.iit.edu/~fass/478578_Chapter_5.pdf)
8. [R. W. Hamming (1959). Stable Predictor-Corrector Methods for Ordinary Differential Equations. Journal of the ACM.](https://doi.org/10.1145/320954.320958)
9. [R. L. Crane, R. W. Klopfenstein (1965). A Predictor-Corrector Algorithm with an Increased Range of Absolute Stability. Journal of the ACM.](https://doi.org/10.1145/321264.321272)
10. [Numerical Solution of Ordinary Differential Equations (lecture notes, Endre Süli, Oxford)](https://people.maths.ox.ac.uk/suli/nsodes.pdf)
11. [Initial Value Problem Methods (PECE, ABM, Milne–Simpson, Hamming)](https://shelvean.github.io/math-tools/ivp.html)
12. [Stability Analysis and Optimization of Semi-Explicit Predictor–Corrector Methods (Mathematics, 2021)](https://www.mdpi.com/2227-7390/9/19/2463)
13. [UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Models](https://arxiv.org/pdf/2302.04867v4)
14. [DPM-Solver-v3: Improved Diffusion ODE Solver with Empirical Model Statistics (NeurIPS 2023)](https://papers.nips.cc/paper_files/paper/2023/file/ada8de994b46571bdcd7eeff2d3f9cff-Paper-Conference.pdf)
15. [DC-Solver: Improving Predictor-Corrector Diffusion Sampler via Dynamic Compensation (ECCV 2024)](https://www.ecva.net/papers/eccv_2024/papers_ECCV/papers/01795.pdf)
16. [Predictions and Corrections: Neural Predictors with Solver-based Correction for ODEs and PDEs (NeurIPS ML4PS 2025)](https://ml4physicalsciences.github.io/2025/files/NeurIPS_ML4PS_2025_319.pdf)
17. [Stability properties of various predictor corrector methods for solving ordinary differential equations numerically (masters thesis)](https://scholarsmine.mst.edu/cgi/viewcontent.cgi?article=3833&context=masters_theses)
18. [Predictor-Corrector Adams methods for ODEs (E. Hairer, Université de Genève)](https://unige.ch/~hairer/preprints/pcam-ode.pdf)
19. [NPTEL: Numerical Solution of ODEs, Module 2: Multi-step methods](https://archive.nptel.ac.in/content/storage2/courses/111107063/module2/lecture1/lecture1.pdf)
20. [Comparing Numerical Methods for Ordinary Differential Equations (SIAM)](https://epubs.siam.org/doi/10.1137/0709052)
21. [6.8. Zero-stability of multistep methods, Fundamentals of Numerical Computation](https://tobydriscoll.net/fnc-julia/ivp/zerostability.html)
22. [na.uni-tuebingen.de](https://na.uni-tuebingen.de/~lubich/pcam-ode.pdf)

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

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Numerical analysis and computation › Time integration methods

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/predictor-corrector-method

English original: https://www.edgepedia.org/predictor-corrector-method
