Skip to main content
QUICK REVIEW

[Paper Review] Korali: a High-Performance Computing Framework for Stochastic Optimization and Bayesian Uncertainty Quantification.

S. Martín Martín, Daniel Wälchli|arXiv (Cornell University)|May 27, 2020
Gaussian Processes and Bayesian InferenceComputer Science1 references6 citations
TL;DR

Korali is a modular, open-source high-performance computing framework designed for scalable stochastic optimization and Bayesian uncertainty quantification in computationally intensive scientific and engineering models. It enables fault-tolerant, load-balanced execution of massively parallel simulations using distributed computing, demonstrating efficient scaling up to 4096 nodes on the Piz Daint supercomputer with LAMMPS and Mirheo workloads.

ABSTRACT

We present a modular, open-source, high-performance computing framework for data-driven Bayesian uncertainty quantification and stochastic optimization. The proposed framework (Korali) is well suited for the non-intrusive sampling of computationally demanding engineering and scientific models. The framework's distributed-execution engine allows for the efficient execution of massively-parallel computational models while providing fault tolerance and load balancing mechanisms. In this paper, we present our framework's design principles and explain its flexibility in allowing scientists to deploy stochastic methods at scale. We demonstrate the capabilities of Korali for Bayesian inference and optimization studies using existing high-performance software such as LAMMPS (CPU-Based) and Mirheo (GPU-Based) and show scaling efficiently on up to 4096 nodes of the CSCS Piz Daint supercomputer.

Motivation & Objective

  • To address the challenge of efficiently performing Bayesian uncertainty quantification and stochastic optimization in computationally expensive scientific and engineering models.
  • To provide a modular, open-source framework that supports non-intrusive sampling of complex models.
  • To enable fault tolerance and load balancing in distributed high-performance computing environments.
  • To scale stochastic simulations across thousands of compute nodes while maintaining efficiency and reliability.
  • To integrate seamlessly with existing high-performance simulation software such as LAMMPS and Mirheo.

Proposed method

  • The framework employs a distributed-execution engine to manage and coordinate massively parallel computational workloads.
  • It supports non-intrusive sampling, allowing external models to be executed without code modification.
  • Fault tolerance is achieved through checkpointing and task recovery mechanisms during long-running simulations.
  • Load balancing is implemented to distribute computational tasks evenly across available nodes.
  • The framework is designed to interoperate with existing HPC software stacks, including CPU-based (LAMMPS) and GPU-based (Mirheo) simulators.
  • It uses a modular architecture to support flexible deployment of stochastic optimization and Bayesian inference algorithms.

Experimental results

Research questions

  • RQ1How can Bayesian uncertainty quantification be efficiently performed for computationally expensive scientific models?
  • RQ2What architectural patterns enable fault tolerance and load balancing in large-scale stochastic simulations?
  • RQ3To what extent can a modular HPC framework scale across thousands of compute nodes for non-intrusive sampling?
  • RQ4How does Korali integrate with existing high-performance simulation software like LAMMPS and Mirheo?
  • RQ5What performance gains are achievable in stochastic optimization and inference using Korali on modern supercomputers?

Key findings

  • Korali successfully enables scalable Bayesian inference and stochastic optimization on high-performance computing systems.
  • The framework demonstrated efficient scaling on up to 4096 nodes of the CSCS Piz Daint supercomputer.
  • It achieved fault tolerance and load balancing during long-running, compute-intensive simulations.
  • Integration with LAMMPS (CPU-based) and Mirheo (GPU-based) workloads was seamless and effective.
  • The framework supports non-intrusive sampling, preserving the original model interfaces and reducing development overhead.
  • The modular design allows scientists to deploy stochastic methods at scale without modifying their existing simulation codes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.