arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.15872cs.LGphysics.comp-ph
收藏

一种自动化并加速 h/p-multigrid 求解器的强化学习策略

A reinforcement learning strategy to automate and accelerate h/p-multigrid solvers

Universidad Politécnica de Madrid(马德里理工大学);Center for Computational Simulation(计算模拟中心);School of Aeronautics(航空学院)

David Huergo, Laura Alonso, Saumitra Joshi, Adrian Juanicoteca, Gonzalo Rubio, Esteban Ferrer

AI总结:

本文提出利用近端策略优化算法自动调整 h/p-multigrid 方法的数值参数,从而提升高阶求解器的稳定性与效率,并在一维对流扩散和非线性 Burgers 方程的稳态模拟中验证了其加速效果和鲁棒性。

摘要:

我们探索了一种强化学习策略,以自动化并加速高阶求解器中的 h/p-multigrid 方法。Multigrid 方法非常高效,但需要对数值参数进行微调,例如每个级别的平滑扫描次数和修正分数(即从粗网格转移到细网格的修正解的比例)。本文的目标是使用近端策略优化算法自动调整 multigrid 参数,从而提高 h/p-multigrid 策略的稳定性和效率。我们的研究结果表明,在使用高阶 h/p 方法对均匀和非均匀网格进行离散化时,所提出的强化学习 h/p-multigrid 方法显著加速并提高了稳态模拟的鲁棒性,适用于一维对流扩散和非线性 Burgers 方程。

英文摘要:

We explore a reinforcement learning strategy to automate and accelerate h/p-multigrid methods in high-order solvers. Multigrid methods are very efficient but require fine-tuning of numerical parameters, such as the number of smoothing sweeps per level and the correction fraction (i.e., proportion of the corrected solution that is transferred from a coarser grid to a finer grid). The objective of this paper is to use a proximal policy optimization algorithm to automatically tune the multigrid parameters and, by doing so, improve stability and efficiency of the h/p-multigrid strategy. Our findings reveal that the proposed reinforcement learning h/p-multigrid approach significantly accelerates and improves the robustness of steady-state simulations for one dimensional advection-diffusion and nonlinear Burgers' equations, when discretized using high-order h/p methods, on uniform and nonuniform grids.

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

↑