arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.10388cs.LG
收藏

修正循环神经网络结构以消除在构建时间相关的物理信息损失项时的数值导数

Revising the Structure of Recurrent Neural Networks to Eliminate Numerical Derivatives in Forming Physics Informed Loss Terms with Respect to Time

Sharif University of Technology(谢里夫理工大学)

Mahyar Jahani-nasab, Mohamad Ali Bijarchi

AI总结:

本研究提出互区间循环神经网络MI-RNN,通过修改传统RNN结构、重叠时间区间并引入条件隐藏状态与遗忘因子,用反向传播替代数值导数计算时间相关物理信息损失,在三类PDE基准问题上精度显著优于现有RNN模型。

摘要:

使用循环神经网络(RNNs)求解非稳态偏微分方程(PDEs)通常需要在RNN的每个模块之间计算数值导数,以构建物理信息损失函数。然而,这会将数值导数的复杂性引入这些模型的训练过程中。在本研究中,我们提出对传统RNN的结构进行修改,使其能够预测每个模块在一个时间区间内的输出,从而可以使用反向传播算法计算输出关于时间的导数。为实现这一点,我们让这些模块的时间区间相互重叠,并在它们之间定义了一个互损失函数。此外,条件隐藏状态的使用使我们能够为每个模块得到唯一解。我们利用遗忘因子来控制条件隐藏状态对后续模块预测的影响。这个被称为Mutual Interval RNN(MI-RNN,互区间循环神经网络)的新模型被应用于求解三个不同的基准问题:Burgers方程、不规则区域中的非稳态热传导问题以及Green涡旋问题。我们的结果表明,与现有的RNN模型相比,MI-RNN能够更准确地得到精确解。例如,在第二个问题中,与使用数值导数的RNN模型相比,MI-RNN的相对误差降低了一个数量级。

英文摘要:

Solving unsteady partial differential equations (PDEs) using recurrent neural networks (RNNs) typically requires numerical derivatives between each block of the RNN to form the physics informed loss function. However, this introduces the complexities of numerical derivatives into the training process of these models. In this study, we propose modifying the structure of the traditional RNN to enable the prediction of each block over a time interval, making it possible to calculate the derivative of the output with respect to time using the backpropagation algorithm. To achieve this, the time intervals of these blocks are overlapped, defining a mutual loss function between them. Additionally, the employment of conditional hidden states enables us to achieve a unique solution for each block. The forget factor is utilized to control the influence of the conditional hidden state on the prediction of the subsequent block. This new model, termed the Mutual Interval RNN (MI-RNN), is applied to solve three different benchmarks: the Burgers equation, unsteady heat conduction in an irregular domain, and the Green vortex problem. Our results demonstrate that MI-RNN can find the exact solution more accurately compared to existing RNN models. For instance, in the second problem, MI-RNN achieved one order of magnitude less relative error compared to the RNN model with numerical derivatives.

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

↑