Abstract
This study presents a novel parallelization framework for training convolutional neural networks (CNNs) to solve Partial Differential Equations (PDEs). By employing a spatial domain decomposition strategy, the approach assigns independent CNN "local experts" to specific subdomains, enabling communication-free training. Experimental results on linearized Euler equations demonstrate near-perfect strong scaling up to 64 CPU cores and high predictive fidelity for pressure and density fields, offering a scalable alternative to traditional numerical solvers.
Introduction
Partial Differential Equations (PDEs) are fundamental to modeling physical phenomena such as fluid dynamics and aeroacoustics. While classical numerical methods are accurate, they are computationally intensive. Machine learning (ML) has emerged as a promising surrogate, yet standard distributed training techniques often suffer from communication bottlenecks during weight synchronization. This paper addresses the "scaling wall" in ML-based PDE solvers by introducing a domain decomposition approach that eliminates global synchronization during the training phase.
Methodology: Spatial Decomposition
The core innovation lies in treating neural networks as local numerical kernels within a high-performance computing (HPC) framework. The 2D spatial domain is partitioned into subdomains, each managed by an independent CNN.
Training and Inference
During training, each network learns exclusively from its local subdomain data, requiring no inter-processor communication. This "embarrassingly parallel" setup avoids the typical all-reduce overhead found in data-parallel training. For the inference phase, the networks utilize ghost cells and point-to-point MPI communication to exchange boundary information, ensuring spatial connectivity across the global domain.
The architecture consists of a 4-layer CNN utilizing Leaky ReLU activations. The ADAM optimizer was paired with Mean Absolute Percentage Error (MAPE) as the loss function. MAPE was selected over Mean Squared Error (MSE) to better handle the varying orders of magnitude typical in physical simulations.
Experimental Setup and Results
The model was evaluated using synthetic data from the Ateles solver, simulating a Gaussian pressure pulse governed by linearized Euler equations. The dataset comprised a $256 \times 256$ grid over 1,500 time steps, tracking pressure, density, and velocity components.
Scalability
The proposed method achieved exceptional performance, demonstrating near-perfect strong scaling. As the number of CPU cores increased from 1 to 64, the total training time decreased linearly, indicating minimal parallel overhead.
Accuracy
The predictions for pressure and density showed high agreement with ground-truth data. While velocity predictions exhibited minor discrepancies—likely due to padding effects at subdomain boundaries—the overall fidelity remains high.
Conclusion and Future Work
By bridging domain decomposition with deep learning, this work provides a path toward training massive PDE models on HPC resources without communication bottlenecks. Future research will focus on mitigating temporal drift in recursive predictions by incorporating recurrent architectures like Long Short-Term Memory (LSTM) networks, which may better capture long-term temporal dependencies.
Summary updated