Multigrid-Augmented Deep Learning Preconditioners for the Helmholtz Equation

Yael Azulay, Eran Treister · DOI

TL;DR

This paper introduces a hybrid approach to solving the Helmholtz equation by embedding U-Net convolutional neural networks (CNNs) as preconditioners within classical Krylov solvers. By combining the pattern-recognition strengths of deep learning with the mathematical rigor of multigrid methods, the authors achieve significantly faster convergence and better scalability for high-frequency wave simulations than traditional iterative methods.

What Problem Does This Paper Address?

The Helmholtz equation is the mathematical backbone of wave physics, essential for everything from seismic imaging to medical ultrasound. However, solving it numerically at high wavenumbers (high frequencies) is notoriously difficult.

As waves become more oscillatory, the resulting linear systems become massive, indefinite, and ill-conditioned. Classical "Shifted Laplacian" (SL) multigrid methods are the standard tool, but they suffer from a major flaw: their efficiency degrades as the wavenumber increases. This makes large-scale, high-resolution wave simulations computationally prohibitive. The authors seek a "data-driven" way to accelerate these solvers without sacrificing the accuracy of the final solution.

Methods

The core idea is to use a CNN not as a standalone solver, but as a preconditioner inside a Flexible GMRES (FGMRES) solver. This ensures that even if the neural network makes a slight error, the outer Krylov solver will still converge to the mathematically "correct" solution.

Key technical contributions include:

  • U-Net as V-Cycle: The authors exploit the structural similarity between a U-Net (with its downsampling and upsampling layers) and a multigrid V-cycle. They propose two configurations: using the U-Net as a coarse grid solver or as a deflation operator.
  • Encoder-Solver Architecture: To improve efficiency, they split the task. An "Encoder" network processes the physical medium (the "slowness model") once at the start. It passes context vectors to a "Solver" network, which then handles the changing residuals at every iteration.
  • Mini-Retraining: For complex inverse problems where the medium is known, the authors suggest a quick "mini-retraining" phase at solve-time to fine-tune the network weights to that specific environment, further boosting performance.

Datasets

  • CIFAR-10 (Modified): Rather than using these for image classification, the authors used the 50,000 images as a source of complex 2D patterns. They enlarged, smoothed, and normalized these images to create 20,000 synthetic "slowness models" for training.
  • Geophysical Benchmarks: To test generalization to "out-of-distribution" data, the models were evaluated on classic industry benchmarks: the SEG/EAGE salt-dome, Overthrust, and Marmousi models. These contain sharp edges and structures very different from the smoothed CIFAR-10 training set.

Key Insights and Ideas

  • Hybridization is Key: The paper argues against "end-to-end" deep learning for PDEs. By using the CNN as a preconditioner, they combine the speed of AI with the reliability of classical numerical analysis.
  • Structural Synergy: The U-Net is a natural fit for multigrid acceleration because its hierarchical feature extraction mirrors the way multigrid methods handle different error frequencies across different grid scales.
  • Separation of Concerns: The Encoder-Solver split recognizes a fundamental truth in iterative solving: the physics of the medium stays the same, while the error (residual) changes every step. Processing them separately saves massive amounts of redundant computation.

Key Results

  • Superior Convergence: On a homogeneous model, the U-Net-based preconditioner achieved a convergence factor ($\rho$) of 0.231, compared to 0.88 for standard V-cycles. (Lower is better, indicating fewer iterations needed).
  • Significant Speedups: For a $512 \times 512$ grid, the proposed method reached the target residual in under 3 seconds on an NVIDIA RTX 3090, while the standard Shifted Laplacian V-cycle took over 25 seconds.
  • Generalization: Remarkably, networks trained on small $128 \times 128$ grids were able to generalize and provide effective preconditioning for $512 \times 512$ grids and higher frequencies than they had ever seen during training.

Limitations and Future Work

  • Dimensionality: The study is currently limited to 2D problems. Extending this to 3D is the "holy grail" but faces massive hurdles in terms of GPU memory and the sheer volume of training data required.
  • Offline Cost: While the solver is fast at "test time," the "offline" cost of generating 20,000 training samples and training the CNN is substantial.
  • Architecture Optimization: The authors used a relatively standard U-Net; they note that architectures specifically designed to respect wave physics (like incorporating wave-atom transforms) might yield even better results.

Summary updated

BibTeX
@article{azulay2023multigrid,
  author = {Yael Azulay and Eran Treister},
  title = {{Multigrid-Augmented Deep Learning Preconditioners for the Helmholtz Equation}},
  journal = {SIAM J. Sci. Comput.},
  year = {2023},
  doi = {10.1137/21m1433514},
}
Figure