arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.03626cs.CE
收藏

PINNs-TF2:基于TensorFlow V2的快速易用物理信息神经网络

PINNs-TF2: Fast and User-Friendly Physics-Informed Neural Networks in TensorFlow V2

Reza Akbarian Bafghi, Maziar Raissi

AI总结:

本研究提出基于TensorFlow V2的Python包PINNs-TF2,通过结合XLA编译器提升PINNs性能,在8个示例中实现较TensorFlow V1平均18.12倍加速,且代码开源。

摘要:

物理信息神经网络(PINNs)因能解决符合物理定律的监督学习任务,尤其是非线性偏微分方程(PDEs)相关任务而备受关注。本文提出了基于TensorFlow V2框架构建的Python包“PINNs-TF2”。它不仅加快了PINNs的实现速度,还通过抽象复杂的PDE难题简化了用户交互。我们强调了编译器在PINNs中的关键作用,指出其最高可将性能提升119倍。在8个不同的示例中,集成了XLA编译器的该包展现出灵活性,且相较于TensorFlow V1实现了18.12倍的平均加速。此外,本文还开展了一项真实案例研究,以凸显编译器处理大量可训练参数和大批次规模的潜力。为促进社区参与和未来改进,该包的源代码已公开于:https://github.com/rezaakb/pinns-tf2。

英文摘要:

Physics-informed neural networks (PINNs) have gained prominence for their capability to tackle supervised learning tasks that conform to physical laws, notably nonlinear partial differential equations (PDEs). This paper presents "PINNs-TF2", a Python package built on the TensorFlow V2 framework. It not only accelerates PINNs implementation but also simplifies user interactions by abstracting complex PDE challenges. We underscore the pivotal role of compilers in PINNs, highlighting their ability to boost performance by up to 119x. Across eight diverse examples, our package, integrated with XLA compilers, demonstrated its flexibility and achieved an average speed-up of 18.12 times over TensorFlow V1. Moreover, a real-world case study is implemented to underscore the compilers' potential to handle many trainable parameters and large batch sizes. For community engagement and future enhancements, our package's source code is openly available at: https://github.com/rezaakb/pinns-tf2.

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

↑