Differentiable programming for online training of a neural artificial viscosity function within a staggered grid Lagrangian hydrodynamics scheme
被引:4
作者:
论文数: 引用数:
h-index:
机构:
Melland, Pake
[1
]
Albright, Jason
论文数: 0引用数: 0
h-index: 0
机构:
Los Alamos Natl Lab, Appl Phys, Los Alamos, NM 87544 USAUniv Iowa, Appl Math & Computat Sci, Iowa City, IA 52242 USA
Albright, Jason
[2
]
Urban, Nathan M.
论文数: 0引用数: 0
h-index: 0
机构:
Brookhaven Natl Lab, Appl Math, Upton, NY 11973 USA
Los Alamos Natl Lab, Computat Phys & Methods, Los Alamos, NM 87544 USAUniv Iowa, Appl Math & Computat Sci, Iowa City, IA 52242 USA
Urban, Nathan M.
[3
,4
]
机构:
[1] Univ Iowa, Appl Math & Computat Sci, Iowa City, IA 52242 USA
[2] Los Alamos Natl Lab, Appl Phys, Los Alamos, NM 87544 USA
[3] Brookhaven Natl Lab, Appl Math, Upton, NY 11973 USA
[4] Los Alamos Natl Lab, Computat Phys & Methods, Los Alamos, NM 87544 USA
来源:
MACHINE LEARNING-SCIENCE AND TECHNOLOGY
|
2021年
/
2卷
/
02期
Lagrangian methods to solve the inviscid Euler equations produce numerical oscillations near shock waves. A common approach to reducing these oscillations is to add artificial viscosity (AV) to the discrete equations. The AV term acts as a dissipative mechanism that attenuates oscillations by smearing the shock across a finite number of computational cells. However, AV introduces several control parameters that are not determined by the underlying physical model, and hence, in practice are tuned to the characteristics of a given problem. We seek to improve the standard quadratic-linear AV form by replacing it with a learned neural function that reduces oscillations relative to exact solutions of the Euler equations, resulting in a hybrid numerical-neural hydrodynamic solver. Because AV is an artificial construct that exists solely to improve the numerical properties of a hydrodynamic code, there is no offline 'viscosity data' against which a neural network can be trained before inserting into a numerical simulation, thus requiring online training. We achieve this via differentiable programming, i.e. end-to-end backpropagation or adjoint solution through both the neural and differential equation code, using automatic differentiation of the hybrid code in the Julia programming language to calculate the necessary loss function gradients. A novel offline pre-training step accelerates training by initializing the neural network to the default numerical AV scheme, which can be learned rapidly by space-filling sampling over the AV input space. We find that online training over early time steps of simulation is sufficient to learn a neural AV function that reduces numerical oscillations in long-term hydrodynamic shock simulations. These results offer an early proof-of-principle that online differentiable training of hybrid numerical schemes with novel neural network components can improve certain performance aspects existing in purely numerical schemes.
引用
收藏
页数:17
相关论文
共 50 条
[1]
Abadi M, 2016, PROCEEDINGS OF OSDI'16: 12TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, P265
机构:
Harvard Univ, Sch Engn & Appl Sci, Cambridge, MA 02138 USAHarvard Univ, Sch Engn & Appl Sci, Cambridge, MA 02138 USA
Bar-Sinai, Yohai
Hoyer, Stephan
论文数: 0引用数: 0
h-index: 0
机构:
Google Res, Mountain View, CA 94043 USAHarvard Univ, Sch Engn & Appl Sci, Cambridge, MA 02138 USA
Hoyer, Stephan
Hickey, Jason
论文数: 0引用数: 0
h-index: 0
机构:
Google Res, Mountain View, CA 94043 USAHarvard Univ, Sch Engn & Appl Sci, Cambridge, MA 02138 USA
Hickey, Jason
Brenner, Michael P.
论文数: 0引用数: 0
h-index: 0
机构:
Harvard Univ, Sch Engn & Appl Sci, Cambridge, MA 02138 USA
Google Res, Mountain View, CA 94043 USAHarvard Univ, Sch Engn & Appl Sci, Cambridge, MA 02138 USA
机构:
Harvard Univ, Sch Engn & Appl Sci, Cambridge, MA 02138 USAHarvard Univ, Sch Engn & Appl Sci, Cambridge, MA 02138 USA
Bar-Sinai, Yohai
Hoyer, Stephan
论文数: 0引用数: 0
h-index: 0
机构:
Google Res, Mountain View, CA 94043 USAHarvard Univ, Sch Engn & Appl Sci, Cambridge, MA 02138 USA
Hoyer, Stephan
Hickey, Jason
论文数: 0引用数: 0
h-index: 0
机构:
Google Res, Mountain View, CA 94043 USAHarvard Univ, Sch Engn & Appl Sci, Cambridge, MA 02138 USA
Hickey, Jason
Brenner, Michael P.
论文数: 0引用数: 0
h-index: 0
机构:
Harvard Univ, Sch Engn & Appl Sci, Cambridge, MA 02138 USA
Google Res, Mountain View, CA 94043 USAHarvard Univ, Sch Engn & Appl Sci, Cambridge, MA 02138 USA