Abstract: parallel training algorithms through the project
Introduction
Training deep neural networks and solving PDE-constrained optimization (PDEOpt) problems are traditionally limited by serial "forward-then-backward" computations. These systems involve "evolutionary constraints," where the state at one moment depends strictly on the preceding state. Standard optimization requires solving the system forward in time (or through layers) and then solving an "adjoint" system backward to calculate gradients. This inherent serialization prevents researchers from simply adding more hardware to speed up training for deeper models or finer simulations. This research aims to unlock parallelism in this "time" or depth dimension.
Methodology
To break this temporal dependency, the researchers introduced Layer-Parallel algorithms using several sophisticated numerical techniques:
- Multigrid Reduction in Time (MGRIT): Instead of sequential layer processing, MGRIT uses a hierarchy of temporal grids to solve all layers simultaneously in an iterative fashion.
- Spatial Coarsening: To further boost efficiency, spatial resolution is reduced on coarser temporal levels of the multigrid hierarchy, moving information between layers by interpolating between different image sizes.
- Domain Decomposition: Using Schur-complement methods, the time domain is broken into chunks that can be processed in parallel, effectively treating the system as "elliptic in time."
- Biased SGD Theory: The authors developed a mathematical framework proving that Stochastic Gradient Descent (SGD) converges even when using the "inexact" gradients generated by parallel solvers, provided the statistical bias is bounded.
Key Results and Scaling
The methods were evaluated using benchmarks such as MNIST, Tiny ImageNet, and physical simulations like the Burgers and Heat equations.
The Layer-Parallel approach demonstrated strong scaling, effectively utilizing multiple GPUs to reduce training time without sacrificing accuracy. For instance, on Tiny ImageNet, the parallel models achieved accuracy levels comparable to traditional serial training. In PDE contexts, such as the Burgers equation, the multigrid-in-time approach achieved nearly constant iteration counts regardless of problem size, a hallmark of an optimal numerical solver.
Conclusion and Future Work
By viewing neural network depth as a time dimension, this research applies decades of numerical differential equation expertise to deep learning. While the results are promising, future work under the SEA-CROGS project will focus on testing these theories across a wider variety of architectures, such as Transformers and Graph Neural Networks (GNNs). A primary consideration for practitioners remains the "crossover point," where the overhead of the multigrid hierarchy is offset by the depth and complexity of the model.
Summary updated