arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.08649math.NAcs.LGcs.NAstat.ML
收藏

常微分方程组的时间向量化数值积分

Time-vectorized numerical integration for systems of ODEs

Argonne National Laboratory(阿贡国家实验室);University of Shanghai for Science and Technology(上海理工大学)

Mark C. Messner, Tianchen Hu, Tianju Chen

AI总结:

本文提出一种时间向量化数值积分方法,通过同时向量化多个时间序列和连续时间步长,利用并行循环归约加速刚性常微分方程组的求解,实现超过100倍加速,并附带开源实现。

摘要:

刚性常微分方程组和稀疏训练数据在科学问题中很常见。本文描述了用于随时间积分刚性常微分方程组并通过伴随方法计算参数梯度的高效、隐式、向量化方法。主要创新在于将问题在独立时间序列的数量以及一批或“块”的连续时间步长上进行向量化,从而有效地向量化隐式常微分方程组的组装。对于后向欧拉方法,线性化隐式系统的块双对角结构允许使用并行循环归约(PCR)进行进一步向量化。在输入数据的两个轴上进行向量化,为计算设备提供了更高的计算带宽,使得即使是相对稀疏的数据问题也能充分利用现代GPU,与标准的顺序时间积分相比,实现了超过100倍的加速。我们通过几个示例问题展示了隐式、向量化时间积分的优势,这些示例问题来自解析刚性和非刚性常微分方程模型以及神经常微分方程模型。我们还描述并提供了本文所开发方法的免费开源实现。

英文摘要:

Stiff systems of ordinary differential equations (ODEs) and sparse training data are common in scientific problems. This paper describes efficient, implicit, vectorized methods for integrating stiff systems of ordinary differential equations through time and calculating parameter gradients with the adjoint method. The main innovation is to vectorize the problem both over the number of independent times series and over a batch or "chunk" of sequential time steps, effectively vectorizing the assembly of the implicit system of ODEs. The block-bidiagonal structure of the linearized implicit system for the backward Euler method allows for further vectorization using parallel cyclic reduction (PCR). Vectorizing over both axes of the input data provides a higher bandwidth of calculations to the computing device, allowing even problems with comparatively sparse data to fully utilize modern GPUs and achieving speed ups of greater than 100x, compared to standard, sequential time integration. We demonstrate the advantages of implicit, vectorized time integration with several example problems, drawn from both analytical stiff and non-stiff ODE models as well as neural ODE models. We also describe and provide a freely available open-source implementation of the methods developed here.

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

↑