arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.10975physics.comp-phcs.AIcs.LG
收藏

利用深度学习实时加速GMRES

Accelerating GMRES with Deep Learning in Real-Time

The University of Arizona(亚利桑那大学);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室)

Kevin Luna, Katherine Klymko, Johannes P. Blaschke

摘要:

GMRES是一个强大的数值求解器,用于求解超大型线性方程组。这些方程组出现在科学和工程中的许多应用中。在这里,我们展示了一个实时机器学习算法,可用于加速GMRES的求解时间。我们的框架是新颖的,因为它以原位方式集成了深度学习算法:AI加速器逐渐学习如何优化解决方案的时间,而无需用户输入(例如预先训练的数据集)。我们描述了我们的算法如何收集数据和优化GMRES。我们通过在Python中实现加速(MLGMRES)求解器来演示我们的算法。然后,我们使用MLGMRES加速求解泊松方程-一类线性问题,出现在可能的应用程序。由泊松方程的形式解的性质告知,我们测试不同的神经网络的性能。我们的关键结论是,能够学习非局部关系的网络表现良好,而不需要根据输入问题的大小进行缩放,这使得它们成为高性能计算中遇到的超大型问题的良好候选者。对于所研究的输入,我们的方法提供了大约2 $\times$的加速度。

英文摘要:

GMRES is a powerful numerical solver used to find solutions to extremely large systems of linear equations. These systems of equations appear in many applications in science and engineering. Here we demonstrate a real-time machine learning algorithm that can be used to accelerate the time-to-solution for GMRES. Our framework is novel in that is integrates the deep learning algorithm in an in situ fashion: the AI-accelerator gradually learns how to optimizes the time to solution without requiring user input (such as a pre-trained data set). We describe how our algorithm collects data and optimizes GMRES. We demonstrate our algorithm by implementing an accelerated (MLGMRES) solver in Python. We then use MLGMRES to accelerate a solver for the Poisson equation -- a class of linear problems that appears in may applications. Informed by the properties of formal solutions to the Poisson equation, we test the performance of different neural networks. Our key takeaway is that networks which are capable of learning non-local relationships perform well, without needing to be scaled with the input problem size, making them good candidates for the extremely large problems encountered in high-performance computing. For the inputs studied, our method provides a roughly 2$\times$ acceleration.

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

↑