arrow
返回

Speeding up and reducing memory usage for scientific machine learning via mixed precision

delete2024-08-01
delete1
delete
OA
AI
J
Joel Hayford
J
Jacob Goldman-Wetzler
E
Eric Wang
L
Lu Lu *
DOI:10.1016/j.cma.2024.117093delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Scientific machine learning (SciML) has emerged as a versatile approach to address complex computational science and engineering problems. Within this field, physics -informed neural networks (PINNs) and deep operator networks (DeepONets) stand out as the leading techniques for solving partial differential equations by incorporating both physical equations and experimental data. However, training PINNs and DeepONets require significant computational resources, including long computational times and large amounts of memory. In search of computational efficiency, training neural networks using half precision (float16) rather than the conventional single (float32) or double (float64) precision has gained substantial interest, given the inherent benefits of reduced computational time and memory consumed. However, we find that float16 cannot be applied to SciML methods, because of gradient divergence at the start of training, weight updates going to zero, and the inability to converge to a local minima. To overcome these limitations, we explore mixed precision, which is an approach that combines the float16 and float32 numerical formats to reduce memory usage and increase computational speed. Our experiments showcase that mixed precision training not only substantially decreases training times and memory demands but also maintains model accuracy. We also reinforce our empirical observations with a theoretical analysis. The research has broad implications for SciML in various computational applications.
Keyword:
Scientific machine learning
Partial differential equations
Physics-informed neural networks
Deep operator networks
Mixed precision
Computational efficiency
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Computer Methods in Applied Mechanics and Engineering 封面图
Computer Methods in Applied Mechanics and Engineering
IF:
7.3
论文数:
1.3W
被引数:
5.6W

机构

Y
Yale University
学者数:
6.5W
论文数: 6.0W
被引数: 10.0W
引用论文

引用论文

Data-driven Modeling of Hemodynamics and its Role on Thrombus Size and Shape in Aortic Dissections
err2018-02-06
err26
errOAAI
errYazdani, Alireza; Li, He; Bersi, Matthew R.; Di Achille, Paolo; Insley, Joseph; Humphrey, Jay D.; Karniadakis, George Em
err分享
err收藏
DeepXDE: A Deep Learning Library for Solving Differential Equations
err2021-02-04
err1.0K
errOAAI
errLu, Lu; Meng, Xuhui; Mao, Zhiping; Karniadakis, George Em
err分享
err收藏
Cu-Ni Thin Films Electrodeposited on Si: Composition and Current Efficiency电沉积在Si上的cu-ni薄膜: 组成和电流效率
err2001-09-01
err0
PREAI
errM.L. Sartorelli; A.Q. Schervenski; R.G. Delatorre; P. Klauss; A.M. Maliska; A.A. Pasa
err分享
err收藏
学者 查看更多内容