A Parallel-in-Time Multigrid Preconditioner for Optimal Control

Radoslav Vuchkov, Eric C. Cyr, Denis Ridzal, Ridzal, DenisarXiv 2024 · DOI

Abstract

This paper presents a novel parallel-in-time multigrid preconditioner for the augmented (saddle-point) systems fundamental to numerical optimal control. By introducing virtual interface variables and a specialized block Jacobi smoother, the method enables the simultaneous solution of state and adjoint variables across the entire time domain. Evaluation on the Van der Pol oscillator and Burgers' equation demonstrates logarithmic scaling with respect to time steps and significant reductions in iteration counts, particularly when control variables are appropriately scaled. The approach offers a theoretical parallel speedup of approximately 25x for large-scale problems.

Introduction: The Serial Bottleneck in Optimal Control

In numerical optimization, "optimal control" involves determining the ideal inputs to influence a system governed by differential equations—such as robotic systems or fluid dynamics—to achieve a specific objective. Traditionally, solving these problems is a strictly serial process. Computational solvers must step forward in time to calculate the system's state, and subsequently step backward in time to calculate the "adjoint" variables, which provide the gradient information necessary for optimization.

This "forward-then-backward" sequence creates a massive computational bottleneck. In high-performance computing environments, the serial nature of time-stepping often leaves thousands of processors idle while they wait for previous time steps to complete. This research aims to break this serial chain by developing a method that allows these calculations to occur concurrently across the entire time domain.

Traditional sequential forward and backward (adjoint) coarse propagators.

Methodology: Breaking the Time Barrier

The authors focus on augmented systems, the large-scale linear systems solved during each step of an optimization algorithm like Sequential Quadratic Programming (SQP). Their approach introduces several key technical innovations to enable parallelism:

  1. Virtual Interface Variables: By introducing "virtual" variables at the boundaries between time steps, the researchers effectively "cut" the time domain into independent segments. This allows each segment to be processed concurrently within a domain-decomposition framework.
  2. Time-Major Permutation: The resulting system is reordered into a block-tridiagonal form, a structure significantly more amenable to iterative solvers.
  3. Geometric Multigrid with Block Jacobi Smoothing: The authors apply a standard multigrid V-cycle tailored for time-parallelism. Crucially, they employ a block Jacobi smoother which, thanks to the virtual variables, can be executed in parallel across all time subdomains simultaneously.
  4. Control Scaling ((\gamma)): A scaling factor for control variables is introduced. By "upweighting" the control inner product ((\gamma \gg 1)), the variables are effectively decoupled, which significantly enhances the power of the block Jacobi smoother.

Key Insights: Simultaneous Solving and Scaling

A primary "aha moment" of the research is the observation that while the underlying differential equations may be parabolic or hyperbolic, the optimality system (the Schur complement) behaves like an elliptic equation in time. Multigrid methods are famously effective at solving elliptic problems, making them an ideal choice for this application.

Unlike previous parallel-in-time methods that still solve forward and backward problems in sequence, this bidirectional method solves for the state and the adjoint at the same time. Furthermore, the authors found that simply scaling the control variables ((\gamma)) drastically improves convergence by shrinking the eigenvalue spectrum of the iteration matrix.

The proposed bidirectional coarse propagator for parallel-in-time execution.

Results and Performance

The preconditioner was evaluated using three benchmarks: the Van der Pol oscillator, the viscous Burgers’ equation, and the inviscid Burgers’ equation (which is prone to shocks). Key findings include:

  • Logarithmic Scaling: The number of iterations required to solve the system grows only logarithmically as the number of time steps increases, indicating high scalability for long-duration simulations.
  • Efficiency Gains: In the Van der Pol benchmark, optimized scaling ((\gamma=100)) reduced linear solver iterations by up to 24x compared to standard scaling.
  • Theoretical Speedup: Parallel complexity analysis suggests that for a problem with 2,048 time steps, the method could offer a potential parallel speedup of approximately 25x over a serial baseline.
  • Robustness: The preconditioner remained effective even for the inviscid Burgers' equation, a scenario that often causes other time-parallel schemes to fail.

Conclusion and Future Work

While the block Jacobi smoother is parallel, the multigrid cycle itself still contains sequential steps that may limit efficiency in very deep cycles. Future work will focus on high-performance, massively parallel implementations and extending the preconditioner to handle higher-order time-stepping methods, such as Runge-Kutta schemes. This research marks a significant step toward making complex optimal control problems computationally tractable through time-domain parallelism.

Summary updated

BibTeX
@misc{vuchkov2024parallel,
  author = {Radoslav Vuchkov and Eric C. Cyr and Denis Ridzal and Ridzal, Denis},
  title = {{A Parallel-in-Time Multigrid Preconditioner for Optimal Control}},
  year = {2024},
  eprint = {2405.04808},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.04808},
}
Figure