Deep learning at 15PF: supervised and semi-supervised classification for scientific data

Thorsten Kurth, Jian Zhang, Nadathur Satish, Evan Racah, Ioannis Mitliagkas, Md. Mostofa Ali Patwary, Tareq M. Malas, Narayanan Sundaram, Wahid Bhimji, Mikhail Smorkalov, Jack Deslippe, Mikhail Shiryaev, Srinivas Sridharan, Prabhat, Pradeep Dubey · DOI · OpenReview

This research, a collaboration between Lawrence Berkeley National Laboratory, Stanford, and Intel, marks a significant milestone in High-Performance Computing (HPC). It details the first deep learning system to exceed the 15-PetaFLOP performance barrier, demonstrating that large-scale AI can be effectively applied to massive scientific datasets.

The Challenge: Scaling "Big AI" for "Big Science"

While deep learning has seen massive success in consumer applications, scientific data presents unique challenges. These datasets are often terabytes or petabytes in size and contain dozens of "channels" (variables) compared to the standard three (RGB) in consumer images.

The primary hurdle is scalability. Standard frameworks often struggle when scaled to thousands of nodes due to:

  1. Synchronous Bottlenecks: The system is limited by its slowest node (the "straggler" effect).
  2. Communication Overhead: The time required to move data between nodes can exceed the time spent on actual computation.

Methodology: A Hybrid Communication Strategy

To overcome these barriers on the Cori Phase II supercomputer (Intel Xeon Phi processors), the team developed a novel hybrid communication strategy. Instead of a global synchronous update across all 9,000+ nodes, they organized nodes into compute groups.

The hybrid communication strategy combines synchronous all-reduce within groups and asynchronous parameter server updates between groups.

As shown in the figure above, nodes within a group work synchronously using all-reduce to share updates. Between these groups, communication is asynchronous via a Parameter Server (PS) architecture. This dual-layered approach limits the impact of stragglers and allows the system to scale far beyond the typical synchronous limit.

Additionally, the team implemented Layer-Wise Parameter Servers. By dedicating specific parameter servers to individual trainable layers of the neural network, they prevented the central server from becoming a communication bottleneck.

Scientific Applications and Data

The study applied these methods to two critical scientific domains:

  • High-Energy Physics (HEP): A 7.4TB dataset of 10 million simulated particle collision images from the Large Hadron Collider. The goal was to distinguish rare "signal" events from background noise.
  • Climate Science: A 15TB dataset from the CAM5 climate model. This used a semi-supervised approach to localize and classify extreme weather events like tropical cyclones.

Key Insights: Scientific Data is "Deep"

A major finding was that scientific data requires different optimizations than standard image datasets. Because climate data has 16 channels (vs. 3 in ImageNet), performance varies significantly across different layers of the network.

Performance breakdown (TFLOP/s and time percentage) across different layers for HEP and Climate datasets.

The performance analysis reveals that "tall-skinny" matrix multiplications in specific layers require targeted kernel optimizations. The hybrid approach allowed the team to bypass the "synchronous wall"—where adding more nodes typically stops improving performance—enabling effective scaling to over 1,000 nodes for HEP and nearly 10,000 for climate tasks.

Results and Performance

  • Peak Performance: The system achieved a peak of 15.07 PFLOP/s and a sustained 13.27 PFLOP/s for the climate network on 9,622 nodes.
  • Scientific Accuracy: In the HEP task, the deep learning model achieved a 1.7x improvement in the true-positive rate for signal detection compared to traditional physics-based baselines.
  • Training Efficiency: On 1,024 nodes, the hybrid configuration reached target loss 1.66x faster than the best purely synchronous run.

Conclusion and Future Directions

This work proves that the synchronous limit of deep learning can be broken using hybrid architectures. While the results are landmark, the authors identified I/O throughput as a remaining bottleneck, as loading 15TB of data remains a challenge for current multi-threaded libraries. Future work will focus on handling gradient "staleness" in asynchronous updates and exploring low-precision math to further increase throughput.

Summary updated

BibTeX
@inproceedings{kurth2017deep,
  author = {Thorsten Kurth and Jian Zhang and Nadathur Satish and Evan Racah and Ioannis Mitliagkas and Md. Mostofa Ali Patwary and Tareq M. Malas and Narayanan Sundaram and Wahid Bhimji and Mikhail Smorkalov and Jack Deslippe and Mikhail Shiryaev and Srinivas Sridharan and Prabhat and Pradeep Dubey},
  title = {{Deep learning at 15PF: supervised and semi-supervised classification for scientific data}},
  booktitle = {SC},
  year = {2017},
  doi = {10.1145/3126908.3126916},
}
Figure