In Situ Framework for Coupling Simulation and Machine Learning with Application to CFD
Riccardo Balin, Filippo Simini, Cooper Simpson, Andrew Shao, and Alessandro Rigazzi, Matthew Ellis, Stephen Becker, Alireza, Doostan, John A. Evans, Kenneth E. Jansen

TL;DR
This paper introduces an in situ framework that integrates simulation and machine learning for fluid dynamics, enabling scalable, efficient training and inference directly within simulation workflows on supercomputers.
Contribution
It presents a novel in situ coupling framework using SmartSim for seamless, scalable ML integration with CFD simulations on heterogeneous clusters.
Findings
Achieved perfect scaling efficiency on Polaris supercomputer.
Demonstrated negligible overhead for in situ training and inference.
Successfully trained an autoencoder from turbulent flow data in situ.
Abstract
Recent years have seen many successful applications of machine learning (ML) to facilitate fluid dynamic computations. As simulations grow, generating new training datasets for traditional offline learning creates I/O and storage bottlenecks. Additionally, performing inference at runtime requires non-trivial coupling of ML framework libraries with simulation codes. This work offers a solution to both limitations by simplifying this coupling and enabling in situ training and inference workflows on heterogeneous clusters. Leveraging SmartSim, the presented framework deploys a database to store data and ML models in memory, thus circumventing the file system. On the Polaris supercomputer, we demonstrate perfect scaling efficiency to the full machine size of the data transfer and inference costs thanks to a novel co-located deployment of the database. Moreover, we train an autoencoder in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Data Storage Technologies · Lattice Boltzmann Simulation Studies · Advanced Neural Network Applications
