GParareal: a time-parallel ODE solver using Gaussian process emulation

Kamran Pentland, Massimiliano Tamborrino, Timothy John Sullivan, James Buchanan, Lynton C. Appel

Introduction

Numerical integration of Initial Value Problems (IVPs) is fundamental to scientific computing, spanning fields from meteorology to plasma physics. Traditionally, these problems are solved sequentially, where the solution at time $t$ is required to compute the state at $t + \Delta t$. This sequential dependency creates a significant computational bottleneck when the underlying model's vector field is expensive to evaluate.

The Parareal algorithm was developed to overcome this "causality barrier" using a predictor-corrector framework. It employs a computationally cheap, low-accuracy "coarse" solver serially to provide an initial estimate, followed by an expensive "fine" solver run in parallel across distinct time slices to refine these estimates.

Comparison of serial solving versus the parallelized Parareal algorithm across multiple processors.

However, standard Parareal is "forgetful"—it utilizes only the information from the immediate previous iteration for corrections. If the coarse solver's accuracy is poor, the algorithm may fail to converge or diverge entirely.

The GParareal Method

GParareal enhances the classic algorithm by replacing the simple difference-based correction with a statistical Gaussian Process (GP) emulator. This approach transforms the solver from a memoryless process into one that learns from all available data.

GP Emulation and Data Accumulation

Instead of a basic subtraction (Fine - Coarse), GParareal models the correction term as a Gaussian Process. This allows the algorithm to capture the underlying structure of the error across the state space. Crucially, GParareal accumulates all acquisition data from every preceding iteration to train the GP. As the algorithm progresses, the "corrector" becomes increasingly sophisticated.

Visualization of the iterative refinement process in GParareal, showing trajectories and the probabilistic correction at time intervals.

Legacy Data and Iterative Refinement

A unique advantage of GParareal is its ability to incorporate "legacy data"—results from previous simulations of the same system under different initial conditions or time intervals. This data can pre-train the GP, providing a "warm start" that significantly accelerates convergence. The algorithm proceeds by predicting the state with the coarse solver and refining it using the GP's mean posterior.

Experimental Evaluation

The authors tested GParareal on four ODE systems representing diverse computational challenges:

  • FitzHugh-Nagumo (FHN) Model: Tests convergence across various initial conditions in neuronal excitability modeling.
  • Rössler System: Evaluates the emulator's performance on complex, non-periodic chaotic trajectories.
  • Nonautonomous System: Demonstrates handling of explicit time dependencies.
  • Double Pendulum: A highly nonlinear chaotic system used to benchmark accuracy and speedup limits.

Key Results and Insights

The integration of GP emulation provides several key benefits:

  • Faster Convergence: In FHN model tests, GParareal converged in 5–6 iterations, compared to 10–15 for standard Parareal.
  • Enhanced Speedup: For nonautonomous systems, GParareal achieved a parallel speedup of up to 14x, significantly outperforming the ~3x speedup of standard Parareal at $J=256$ processors.
  • Robustness and Stability: GParareal successfully converged in regions of the state space where standard Parareal diverged.
  • Efficiency via Transfer Learning: Utilizing just 200 legacy data points allowed the solver to converge two iterations earlier, reducing total wall-clock time.

Limitations and Future Directions

While promising, GParareal faces challenges related to the $O(N^3)$ training complexity of standard GPs. As data accumulates over iterations and processors, the training time ($T_{GP}$) may eventually offset the parallelization gains. Furthermore, scaling to high-dimensional systems (e.g., discretized PDEs) remains difficult for standard GPs.

Future research may explore Sparse GPs or Neural Networks to manage larger datasets and higher dimensions. Additionally, developing a "fully probabilistic" version that utilizes the GP's uncertainty estimates, rather than just the mean, could further improve solver reliability.

Summary updated

BibTeX
@article{pentland2023gparareal,
  author = {Kamran Pentland and Massimiliano Tamborrino and Timothy John Sullivan and James Buchanan and Lynton C. Appel},
  title = {{GParareal: a time-parallel ODE solver using Gaussian process emulation}},
  journal = {Stat. Comput.},
  year = {2023},
  doi = {10.1007/s11222-022-10195-y},
}
Figure