Sreeram Venkat1, Stefan Henneking1, Milinda Fernando1, Omar Ghattas1
1Oden Institute for Computational Engineering and Sciences, The University of Texas at Austin
WCCM-PANACM 2024 — Vancouver, BC — July 21-26, 2024
Coupled Acoustic-Gravity wave equations:
\[\begin{cases} \rho \frac{ \partial\boldsymbol{u}}{\partial t} + \nabla p = \boldsymbol{0}, \frac{1}{K} \frac{ \partial p}{\partial t} + \nabla \cdot \boldsymbol{u} = 0, & \Omega \times (0,T)\nonumber\\ p = \rho g \eta, \frac{ \partial\eta}{\partial t} = \boldsymbol{u} \cdot \hat{\boldsymbol{n}}, & \Gamma_s \times (0,T) \nonumber\\ \boldsymbol{u} \cdot \hat{\boldsymbol{n}} = -\frac{\partial b}{\partial t}, \text{\textcolor{BF5700}{← parameter}} & \Gamma_b \times (0,T) \nonumber\\ \boldsymbol{u} \cdot \hat{\boldsymbol{n}} = Z^{-1} p, & \Gamma_a \times (0,T)\nonumber \end{cases} \]
Implemented in MFEM
Inferred seafloor motion (mean and uncertainty)
Reconstructed sea bottom pressure
Reconstructed surface gravity wave
Eigenvalues of \(\mathbf{F} \mathbf{F}^*\) for a representative case with ~132M parameters and ~25K data points.
Gaussian Prior with Matérn Covariance:\[m \sim \mathcal{N}(m_{\text{prior}}, \Gamma_{\!\text{prior}}), \quad \Gamma_{\!\text{prior}} \coloneqq \left( \alpha_1 I - \alpha_2 \Delta_{\text{2D}} - \alpha_3 \partial_t^2 \right)^{-2}\]
Likelihood: \(\pi_{\text{like}}(d|m) \propto \exp\left(-\frac{1}{2} \|\mathcal{F}m - d\|_{\Gamma_{\!\text{noise}}^{-1}}^2\right)\)
Observations: \(d = \mathcal{F}m + \nu, \quad \nu \sim \mathcal{N}(0, \Gamma_{\!\text{noise}})\)
Posterior:
\[\begin{align*} \mu_{\text{post}} &= \mathcal{N}(m_{\text{map}}, \Gamma_{\!\text{post}}) \\ \Gamma_{\!\text{post}}&=\left(\mathcal{F}^* \Gamma_{\!\text{noise}}^{-1} \mathcal{F} + \Gamma_{\!\text{prior}}^{-1}\right)^{-1}\\ m_{\text{map}}&=\Gamma_{\!\text{post}}\left(\mathcal{F}^* \Gamma_{\!\text{noise}}^{-1} d + \Gamma_{\!\text{prior}}^{-1} m_{\text{prior}}\right) \end{align*}\]
*Exact up to discretization errors
Phase 1 (Offline): Construct p2o map from adjoint PDE solves
\[ \mathbf{F} = \begin{bmatrix} F_{11} & 0 & 0 & \cdots & 0\\ F_{21} & F_{11} & 0 & \cdots & 0\\ F_{31} & F_{21} & F_{11} & \cdots & 0\\ \vdots & \vdots & \vdots & \ddots & \vdots\\ F_{N_t,1} & F_{N_t-1,1} & F_{N_t-2,1} & \cdots & F_{11} \end{bmatrix}, \quad F_{ij} \in \mathbb{R}^{N_d \times N_m} \]
Phase 2 (Offline): Compute compact representation of \(\Gamma_{\!\text{post}}\) (through Sherman-Morrison-Woodbury formula)
Phase 3 (Online): Compute MAP point in real time
18 Lonestar6 NVIDIA A100 40GB
GPU nodes (3 GPUs/node) vs 2048 Frontera CLX nodes (56
cores/node).
S. V., M. Fernando,
S. Henneking, & O. Ghattas, (2024). Fast and
Scalable FFT-Based GPU-Accelerated Algorithms for Hessian Actions Arising in Linear Inverse
Problems Governed by Autonomous Dynamical Systems. ArXiv. /abs/2407.13066
Left: Single GPU performance; Right: Weak scaling on up to 48 GPUs
Test problem: \(N_m = 263\text{K}, N_d = 49, N_t = 500\) (~132M parameters, ~25K data) running on 8 Lonestar6 nodes (24 GPUs)
\( \mathbf{m}_{\text{map}}=\Gamma_{\!\text{prior}}\left(\mathbf{I} - \mathbf{F}^*\textcolor{BF5700}{\mathbf{K}}^{-1}\mathbf{F}\Gamma_{\!\text{prior}}\right)\mathbf{F}^*\Gamma_{\!\text{noise}}^{-1}\mathbf{d} \)
| Step | Compute Time |
|---|---|
| \(2 \ \mathbf{F}^*\) matvecs | 0.022s |
| \(1 \ \mathbf{F}\) matvec | 0.011s |
| \(1 \ \textcolor{BF5700}{\mathbf{K}}\) solve | 0.024s |
| Total | 0.057s* |
*For priors with spatial correlation only, \(\Gamma_{\!\text{prior}}\mathbf{F}^*\) is also block-triangular Toeplitz.
Sea bottom pressure (no noise)
Observations with 6% relative noise
| Noise Level | Rel. Error |
|---|---|
| 2% | 0.042570 |
| 4% | 0.049777 |
| 6% | 0.061645 |
Parameter Inference Error
| Noise Level | Rel. Error | Rel. Data Misfit |
|---|---|---|
| 2% | 0.019317 | 0.000237 |
| 4% | 0.040089 | 0.000999 |
| 6% | 0.058727 | 0.000396 |
Pressure Reconstruction Error
Left:True total bathymetry change (time-integrated parameter field); Right: Total bathymetry change inferred from synthetic observations with 6% relative additive noise
Left: Sea bottom pressure reconstructed with the parameter field inferred from synthetic observations with 6% relative additive noise; Right: Difference between reconstructed and true pressure field
Left: Surface gravity wave obtained from true parameter field; Right: Surface-gravity wave reconstructed with the parameter field inferred from synthetic observations with 6% relative additive noise