[Paper Review] Leveraging GPU batching for scalable nonlinear programming through massive Lagrangian decomposition
This paper presents ExaTron, a GPU-accelerated trust-region Newton solver for batched bound-constrained nonlinear programming, fully executing on GPUs without CPU-GPU data transfers. By leveraging massive GPU thread batching and efficient kernel design, ExaTron achieves over 35× speedup on 6 GPUs versus 40 CPUs for AC optimal power flow decomposition, demonstrating linear scaling with batch size and GPU count.
We present the implementation of a trust-region Newton algorithm ExaTron for bound-constrained nonlinear programming problems, fully running on multiple GPUs. Without data transfers between CPU and GPU, our implementation has achieved the elimination of a major performance bottleneck under a memory-bound situation, particularly when solving many small problems in batch. We discuss the design principles and implementation details for our kernel function and core operations. Different design choices are justified by numerical experiments. By using the application of distributed control of alternating current optimal power flow, where a large problem is decomposed into many smaller nonlinear programs using a Lagrangian approach, we demonstrate computational performance of ExaTron on the Summit supercomputer at Oak RidgeNational Laboratory. Our numerical results show the linear scaling with respect to the batch size and the number of GPUs and more than 35 times speedup on 6 GPUs than on 40 CPUs available on a single node.
Motivation & Objective
- Address the performance bottleneck in solving large batches of small nonlinear programs by eliminating CPU-GPU data transfers.
- Enable scalable, high-throughput solution of nonlinear programs using massive GPU parallelism in memory-bound scenarios.
- Design a fully GPU-based trust-region Newton algorithm that avoids hybrid CPU-GPU execution and reduces latency from data movement.
- Demonstrate linear scaling of computation time with both batch size and number of GPUs on a supercomputing platform.
- Achieve significant speedup over CPU-based implementations for real-world optimal power flow problems using Lagrangian decomposition.
Proposed method
- Implement a fully GPU-based trust-region Newton algorithm for bound-constrained nonlinear programs, avoiding any CPU-GPU data transfers.
- Design custom GPU kernels optimized for small, sparse, symmetric indefinite KKT systems arising in nonlinear programming.
- Use massive thread batching to exploit GPU-wide parallelism, mapping each problem in a batch to a single thread block.
- Apply Lagrangian decomposition via ADMM to split large AC optimal power flow problems into thousands of smaller subproblems.
- Leverage the Summit supercomputer’s 6 GPUs per node to scale computation across multiple GPUs with efficient inter-GPU communication.
- Optimize memory access patterns and kernel launch configurations to minimize latency and maximize occupancy on the GPU architecture.
Experimental results
Research questions
- RQ1Can a fully GPU-based nonlinear programming solver achieve significant speedup over CPU-based implementations for large batches of small problems?
- RQ2How does the absence of CPU-GPU data transfers affect performance in memory-bound nonlinear programming workloads?
- RQ3To what extent does GPU batching enable linear scaling with both batch size and number of GPUs in nonlinear optimization?
- RQ4What design principles maximize GPU utilization and minimize load imbalance when solving thousands of small, sparse nonlinear programs in parallel?
- RQ5How does the performance of a GPU-based solver compare to a CPU-based MPI-parallelized implementation on a single high-end node?
Key findings
- ExaTron achieved more than 35× speedup on 6 GPUs compared to 40 CPUs on a single Summit node for AC optimal power flow decomposition.
- Computation time scaled linearly with both batch size and number of GPUs, confirming strong parallel efficiency.
- The 19402goc problem showed the best load balance across GPUs, with a mean imbalance metric of only 9.04%, contributing to its superior speedup.
- The 13659pegase problem exhibited significant load imbalance, with two GPUs taking nearly twice the time of others, limiting speedup despite larger problem size.
- The load imbalance was verified via heatmap visualization of ADMM iterations, showing consistent computation time disparities across GPUs.
- The study confirms that eliminating CPU-GPU data transfers is critical for performance in memory-bound, small-problem batch scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.