arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.11515cs.LGphysics.flu-dyn
收藏

基于深度强化学习的计算流体动力学中主动流控制的最优并行化策略

Optimal Parallelization Strategies for Active Flow Control in Deep Reinforcement Learning-Based Computational Fluid Dynamics

School of Naval Architecture, Ocean and Civil Engineering, Shanghai Jiao Tong University(上海交通大学船舶海洋与建筑工程学院)

Wang Jia, Hang Xu

AI总结:

针对深度强化学习训练主动流控制模型的计算瓶颈,本研究通过组件基准测试与I/O优化提出高效混合并行化策略,将并行效率提升至78%,训练加速约47倍。

摘要:

深度强化学习(DRL)已成为处理高度动态和非线性主动流控制(AFC)问题的一种有前景的方法。然而,训练DRL模型相关的计算成本构成了一个显著的性能瓶颈。为了应对这一挑战并在高性能计算架构上实现高效扩展,本研究重点优化并行设置下的基于DRL的算法。我们验证了用于AFC问题的现有最先进DRL框架,并讨论了其效率瓶颈。随后,通过解构整体框架并对各个组件进行广泛的可扩展性基准测试,我们研究了各种混合并行化配置并提出了高效的并行化策略。此外,我们改进了多环境DRL训练中的输入/输出(I/O)操作,以解决与数据移动相关的关键开销。最后,我们针对典型的AFC问题展示了优化后的框架,该整体框架可获得近线性的扩展。我们将并行效率从约49%显著提升至约78%,并使用60个中央处理器(CPU)核心将训练过程加速了约47倍。这些发现预计将为基于DRL的AFC研究的进一步发展提供有价值的见解。因此,它将继续成为一个备受关注且被积极研究的重大问题。

英文摘要:

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 insights for further advancements in DRL-based AFC studies. Consequently, it continues to be a prominent and actively studied problem of significant interest.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑