S.J.P. Pamela , N. Carey , J. Brandstetter , R. Akers , L. Zanisi , J. Buchanan , V. Gopakumar , M. Hoelzl , G. Huijsmans , K. Pentland , T. James , G. Antonucci , JOREK Team
{"title":"Neural-Parareal: Self-improving acceleration of fusion MHD simulations using time-parallelisation and neural operators","authors":"S.J.P. Pamela , N. Carey , J. Brandstetter , R. Akers , L. Zanisi , J. Buchanan , V. Gopakumar , M. Hoelzl , G. Huijsmans , K. Pentland , T. James , G. Antonucci , JOREK Team","doi":"10.1016/j.cpc.2024.109391","DOIUrl":null,"url":null,"abstract":"<div><div>The fusion research facility ITER is currently being assembled to demonstrate that fusion can be used for industrial energy production, while several other programmes across the world are also moving forward, such as EU-DEMO, CFETR, SPARC and STEP. The high engineering complexity of a tokamak makes it an extremely challenging device to optimise, and test-based optimisation would be too slow and too costly. Instead, digital design and optimisation must be favoured, which requires strongly-coupled suites of multi-physics, multi-scale High-Performance Computing calculations. Safety regulation, uncertainty quantification, and optimisation of fusion digital twins is undoubtedly an Exascale grand challenge. In this context, having surrogate models to provide quick estimates with uncertainty quantification is essential to explore and optimise new design options. But there lies the dilemma: accurate surrogate training first requires simulation data. Extensive work has explored solver-in-the-loop solutions to maximise the training of such surrogates. Likewise, innovative methods have been proposed to accelerate conventional HPC solvers using surrogates. Here, a novel approach is designed to do both. By bootstrapping neural operators and HPC methods together, a self-improving framework is achieved. As more simulations are being run within the framework, the surrogate improves, while the HPC simulations get accelerated. This idea is demonstrated on fusion-relevant MHD simulations, where Fourier Neural Operator based surrogates are used to create neural coarse-solver for the Parareal (time-parallelisation) method. Parareal is particularly relevant for large HPC simulations where conventional spatial parallelisation has saturated, and the temporal dimension is thus parallelised as well. This Neural-Parareal framework is a step towards exploiting the convergence of HPC and AI, where scientists and engineers can benefit from automated, self-improving, ever faster simulations. All data/codes developed here are made available to the community.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"307 ","pages":"Article 109391"},"PeriodicalIF":7.2000,"publicationDate":"2024-10-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S001046552400314X","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
The fusion research facility ITER is currently being assembled to demonstrate that fusion can be used for industrial energy production, while several other programmes across the world are also moving forward, such as EU-DEMO, CFETR, SPARC and STEP. The high engineering complexity of a tokamak makes it an extremely challenging device to optimise, and test-based optimisation would be too slow and too costly. Instead, digital design and optimisation must be favoured, which requires strongly-coupled suites of multi-physics, multi-scale High-Performance Computing calculations. Safety regulation, uncertainty quantification, and optimisation of fusion digital twins is undoubtedly an Exascale grand challenge. In this context, having surrogate models to provide quick estimates with uncertainty quantification is essential to explore and optimise new design options. But there lies the dilemma: accurate surrogate training first requires simulation data. Extensive work has explored solver-in-the-loop solutions to maximise the training of such surrogates. Likewise, innovative methods have been proposed to accelerate conventional HPC solvers using surrogates. Here, a novel approach is designed to do both. By bootstrapping neural operators and HPC methods together, a self-improving framework is achieved. As more simulations are being run within the framework, the surrogate improves, while the HPC simulations get accelerated. This idea is demonstrated on fusion-relevant MHD simulations, where Fourier Neural Operator based surrogates are used to create neural coarse-solver for the Parareal (time-parallelisation) method. Parareal is particularly relevant for large HPC simulations where conventional spatial parallelisation has saturated, and the temporal dimension is thus parallelised as well. This Neural-Parareal framework is a step towards exploiting the convergence of HPC and AI, where scientists and engineers can benefit from automated, self-improving, ever faster simulations. All data/codes developed here are made available to the community.
期刊介绍:
The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper.
Computer Programs in Physics (CPiP)
These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged.
Computational Physics Papers (CP)
These are research papers in, but are not limited to, the following themes across computational physics and related disciplines.
mathematical and numerical methods and algorithms;
computational models including those associated with the design, control and analysis of experiments; and
algebraic computation.
Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.