Learning Everywhere: Pervasive Machine Learning for Effective High-Performance Computation

Geoffrey C. Fox, James A. Glazier, J. C. S. Kadupitiya, Vikram Jadhao, Minje Kim, Judy Qiu, James P. Sluka, Endre T. Somogyi, Madhav V. Marathe, Abhijin Adiga, Jiangzhuo Chen, Oliver Beckstein, Shantenu Jha · DOI

Introduction

High-Performance Computing (HPC) is currently navigating a significant transition. For decades, scientific progress was driven by the predictable growth of hardware capabilities—governed by Moore’s Law and Dennard scaling. However, as these trends plateau, the complexity of the systems researchers aim to simulate—ranging from climate patterns and viral epidemics to quantum chemistry—continues to grow exponentially.

This paper introduces the "Learning Everywhere" paradigm, a strategic shift that advocates for the deep, pervasive integration of Machine Learning (ML) into traditional simulation workflows. By moving beyond a focus on raw hardware throughput (FLOPS), the authors argue for a new metric of success: effective performance. This approach leverages ML to create surrogates and hybrid models that can accelerate scientific discovery by factors of a thousand to a billion, far exceeding the gains possible through hardware optimization alone.

The Shift to Effective Performance

Traditional HPC codes are often monolithic and computationally expensive, requiring massive resources to solve every time step of a physical simulation from first principles. While an Exascale system (capable of 10^18 operations per second) is a feat of engineering, its utility is limited if the simulation still takes weeks to produce a result.

Effective performance measures how quickly a researcher can obtain a reliable, actionable answer. The "Learning Everywhere" framework seeks to maximize this by using ML to "short-circuit" the most expensive parts of a computation. If an ML model can emulate a complex physical process with sufficient accuracy in a fraction of the time, the effective performance of the system is revolutionized, even if the underlying hardware remains the same.

A Taxonomy of ML-HPC Integration

The authors categorize the intersection of these fields into two primary domains:

1. HPCforML

This involves using supercomputing infrastructure to accelerate the training and deployment of massive deep learning models. This is the more traditional view of the relationship, where HPC serves as the engine for ML research.

2. MLforHPC

The core of the "Learning Everywhere" paradigm, this domain focuses on using ML to enhance and accelerate scientific simulations. It includes several distinct strategies:

  • MLaroundHPC (Surrogates): Training ML models on existing simulation data to predict the outcomes of new simulations instantly, effectively bypassing the physics engine.
  • MLautotuning: Utilizing ML to automatically optimize simulation parameters, such as mesh density or time steps, to ensure maximum efficiency without manual intervention.
  • MLControl: Implementing real-time ML surrogates to steer experimental setups or active simulations as data is generated.
  • Hybrid Mechanistic-ML Models: Fusing "bottom-up" mechanistic models (like agent-based models for disease spread) with "top-down" ML to compensate for sparse or noisy observational data.

Case Studies and Results

The paper highlights several applications where this paradigm has already yielded transformative results:

  • Molecular Dynamics (ANI-1): In quantum chemistry, the ANI-1 model uses ML to predict molecular energy surfaces. It achieves accuracy comparable to high-level Density Functional Theory (DFT) calculations but operates at speeds 1,000x to a billion times faster, allowing for the study of much larger molecular systems than previously possible.
  • Epidemic Forecasting (DEFSI): The Deep Learning-based Epidemic Forecasting from Simulation-based Inference (DEFSI) framework combines synthetic data from HPC simulations with real-world CDC influenza data. This hybrid approach allows the model to "fill in the gaps" of sparse observational data, outperforming traditional forecasting methods like EpiFast.
  • Nanosimulations: Researchers utilized a dataset of over 6,800 molecular dynamics runs to train a neural network capable of predicting ionic density profiles. This enables "anytime, anywhere" access to complex structural predictions that would otherwise require millions of CPU hours.

Critical Considerations and Challenges

While the potential of "Learning Everywhere" is vast, the authors identify several hurdles to its widespread adoption:

  • Uncertainty Quantification (UQ): When ML replaces physics-based solvers, it is essential to know when the model is extrapolating beyond its training data. The authors suggest techniques like dropout regularization to create ensembles that provide confidence intervals for ML predictions.
  • Reliability and Ergodicity: There is a risk that ML surrogates may fail to capture rare but critical physical events (the "tail" of the distribution) if those events were not well-represented in the training set.
  • Data-Intensive Scaling: The primary bottleneck in HPC is shifting from computation to data movement. Future infrastructure must support asynchronous communication patterns, allowing data to flow seamlessly between running simulations and learning algorithms across heterogeneous hardware (e.g., CPUs for physics and GPUs for ML).

Conclusion

The "Learning Everywhere" paradigm represents a fundamental shift in how we approach high-performance computation. By treating ML not as a separate tool, but as a pervasive component of the simulation lifecycle, the scientific community can overcome the limitations of current hardware scaling. The goal is a future where the synergy of mechanistic models and machine learning provides the effective performance necessary to solve the world's most complex scientific challenges.

Summary updated

BibTeX
@inproceedings{fox2019learning,
  author = {Geoffrey C. Fox and James A. Glazier and J. C. S. Kadupitiya and Vikram Jadhao and Minje Kim and Judy Qiu and James P. Sluka and Endre T. Somogyi and Madhav V. Marathe and Abhijin Adiga and Jiangzhuo Chen and Oliver Beckstein and Shantenu Jha},
  title = {{Learning Everywhere: Pervasive Machine Learning for Effective High-Performance Computation}},
  booktitle = {Workshops @ IPDPS},
  year = {2019},
  doi = {10.1109/ipdpsw.2019.00081},
}
Figure