Physics-Informed Neural Networks (PINNs) have become a kind of attractive machine learning method for obtaining solutions of partial differential equations (PDEs). Training PINNs can be seen as a semi-supervised learning task, in which only exact values of initial and boundary points can be obtained in solving forward problems, and in the whole spatio-temporal domain collocation points are sampled without exact labels, which brings training difficulties. Thus the selection of collocation points and sampling methods are quite crucial in training PINNs. Existing sampling methods include fixed and dynamic types, and in the more popular latter one, sampling is usually controlled by PDE residual loss. We point out that it is not sufficient to only consider the residual loss in adaptive sampling and sampling should obey temporal causality. We further introduce temporal causality into adaptive sampling and propose a novel adaptive causal sampling method to improve the performance and efficiency of PINNs. Numerical experiments of several PDEs with high-order derivatives and strong nonlinearity, including Cahn Hilliard and KdV equations, show that the proposed sampling method can improve the performance of PINNs with few collocation points. We demonstrate that by utilizing such a relatively simple sampling method, prediction performance can be improved up to two orders of magnitude compared with state-of-the-art results with almost no extra computation cost, especially when points are limited.
翻译:物理进化神经网络(PINNs)已成为一种具有吸引力的机械学习方法,以获得部分差异方程式(PDEs)的解决方案。培训PINNs可被视为一种半监督的学习任务,在这种任务中,只有初始点和边界点的确切值才能在解决前期问题时获得,在整个spatio-时空域同地点取样时没有确切的标签,这给培训带来困难。因此,在培训PINNs时选择合用点和取样方法非常关键。现有的取样方法包括固定和动态类型,在较受欢迎的后一种情况下,取样通常由PDE剩余损失控制。我们指出,仅仅考虑适应性取样和取样的剩余损失应当符合时间因果关系是不够的。我们进一步将时间因果关系引入适应性取样,并提出新的适应性因果采样方法,以提高PINNs的性能和效率。一些具有高级衍生物和强非线性(包括Cahn Hilliard和KdV等式)的PD方法的数值实验表明,拟议的采样方法几乎无法通过较简单的测算结果来改进PINN的两点。