用于求解机械现实世界模拟扩散方程的代理的深度学习方法
Deep learning approaches to surrogates for solving the diffusion equation for mechanistic real-world simulations
摘要:
在许多机械医学、生物学、物理学和工程时空动力学模型中,偏微分方程(PDE)的数值解会使模拟变得不切实际地慢。生物模型需要同时计算数十种扩散化学物质浓度的空间变化。机器学习代理,即经过训练为此类复杂数值问题提供近似解决方案的神经网络,与直接计算相比,通常可以提供几个数量级的速度提升。PDE替代品能够使用比直接计算可能的更大的模型,并且可以使在实时或近实时工作流中包括这样的模拟变得实用。创建代理需要运行数万次直接计算来生成训练数据,然后训练神经网络,这两者都是计算昂贵的。我们使用卷积神经网络来近似稳态解的扩散方程的情况下,两个等直径,圆形,位于随机位置的二维正方形域中的吸收边界条件的常值源。为了提高训练过程中的收敛性,我们应用了一种训练方法,该方法使用回滚来拒绝增加损失函数的网络随机变化。训练好的神经网络近似比直接计算单个副本的速度快约1e3倍。由于不同的应用对可接受的近似精度有不同的标准,我们讨论了各种损失函数和精度估计,可以帮助为特定应用选择最佳网络。
英文摘要:
In many mechanistic medical, biological, physical and engineered spatiotemporal dynamic models the numerical solution of partial differential equations (PDEs) can make simulations impractically slow. Biological models require the simultaneous calculation of the spatial variation of concentration of dozens of diffusing chemical species. Machine learning surrogates, neural networks trained to provide approximate solutions to such complicated numerical problems, can often provide speed-ups of several orders of magnitude compared to direct calculation. PDE surrogates enable use of larger models than are possible with direct calculation and can make including such simulations in real-time or near-real time workflows practical. Creating a surrogate requires running the direct calculation tens of thousands of times to generate training data and then training the neural network, both of which are computationally expensive. We use a Convolutional Neural Network to approximate the stationary solution to the diffusion equation in the case of two equal-diameter, circular, constant-value sources located at random positions in a two-dimensional square domain with absorbing boundary conditions. To improve convergence during training, we apply a training approach that uses roll-back to reject stochastic changes to the network that increase the loss function. The trained neural network approximation is about 1e3 times faster than the direct calculation for individual replicas. Because different applications will have different criteria for acceptable approximation accuracy, we discuss a variety of loss functions and accuracy estimators that can help select the best network for a particular application.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。