Wang Jia › Publications › 2024

Optimal parallelization strategies for active flow control in deep reinforcement learning-based computational fluid dynamics

Jia, W., & Xu, H. (2024). Physics of Fluids, 36(4), 043623 · Featured Article.

DOI: 10.1063/5.0204237

Publisher version (DOI)Open version (arXiv:2402.11515)PDFAll BibTeX

Abstract

Deep reinforcement learning (DRL) has emerged as a promising approach for handling highly dynamic and nonlinear active flow control (AFC) problems. However, the computational cost associated with training DRL models presents a significant performance bottleneck. To address this challenge and enable efficient scaling on high-performance computing architectures, this study focuses on optimizing DRL-based algorithms in parallel settings. We validate an existing state-of-the-art DRL framework used for AFC problems and discuss its efficiency bottlenecks. Subsequently, by deconstructing the overall framework and conducting extensive scalability benchmarks for individual components, we investigate various hybrid parallelization configurations and propose efficient parallelization strategies. Moreover, we refine input/output (I/O) operations in multi-environment DRL training to tackle critical overhead associated with data movement. Finally, we demonstrate the optimized framework for a typical AFC problem where near-linear scaling can be obtained for the overall framework. We achieve a significant boost in parallel efficiency from around 49% to approximately 78%, and the training process is accelerated by approximately 47 times using 60 central processing unit (CPU) cores. These findings are expected to provide valuable insight for further advancements in DRL-based AFC studies.

Key findings

When to cite this paper

Cite this paper for:

In one paragraph

The engineering foundation of the thesis. Deconstructs the coupled DRL–CFD loop, benchmarks each component, and proposes a hybrid parallelisation over CFD ranks and training environments plus an optimised I/O layer: parallel efficiency 49% → 78%, 47× speed-up on 60 cores.

Keywords

deep reinforcement learningcomputational fluid dynamicsparallel computinghigh-performance computingscalabilityactive flow controlMPIparallel efficiency

Cite this paper

Jia, W., & Xu, H. (2024). Optimal parallelization strategies for active flow control in deep reinforcement learning-based computational fluid dynamics. Physics of Fluids, 36(4), 043623. https://doi.org/10.1063/5.0204237

BibTeX

@article{jia2024parallel,
  author    = {Jia, Wang and Xu, Hang},
  title     = {Optimal parallelization strategies for active flow control in deep reinforcement learning-based computational fluid dynamics},
  journal   = {Physics of Fluids},
  year      = {2024},
  volume    = {36},
  number    = {4},
  pages     = {043623},
  publisher = {AIP Publishing},
  doi       = {10.1063/5.0204237},
  note      = {Featured Article},
  url       = {https://doi.org/10.1063/5.0204237},
  eprint    = {2402.11515},
  archivePrefix = {arXiv}
}

← Robust and adaptive deep reinforcement learning for enhancing flow control around a square cylinder with varying Reynolds numbers  ·  Experimental study on wave characteristics of stilling basin with a negative step →