arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.04073cs.LGcs.NAcs.NEmath.NA
收藏

为物理信息神经网络学习专门的激活函数

Learning Specialized Activation Functions for Physics-informed Neural Networks

Tsinghua University(清华大学);University of Pennsylvania(宾夕法尼亚大学)

Honghui Wang, Lu Lu, Shiji Song, Gao Huang

AI总结:

本文揭示了PINNs优化困难与激活函数的联系,提出通过学习候选激活函数组合并引入自适应斜率来构建专门的自适应激活函数,有效缓解了优化困难并在多个基准上验证了其可解释性与有效性。

摘要:

物理信息神经网络(PINNs)已知存在优化困难的问题。在这项工作中,我们揭示了PINNs的优化困难与激活函数之间的联系。具体来说,我们展示了PINNs在求解具有不同性质的偏微分方程(PDEs)时对激活函数表现出高敏感性。现有工作通常通过低效的试错来选择激活函数。为了避免低效的手动选择并缓解PINNs的优化困难,我们引入了自适应激活函数,以在求解不同问题时搜索最优函数。我们比较了不同的自适应激活函数,并讨论了它们在PINNs背景下的局限性。此外,我们提出将学习候选激活函数组合的思想应用于PINNs优化,这对学习函数的平滑性和多样性有更高要求。这是通过从候选集中移除无法提供高阶导数的激活函数,并根据我们对当前PDE的先验知识纳入具有不同性质的基本函数来实现的。我们进一步通过自适应斜率增强了搜索空间。所提出的自适应激活函数可以以可解释的方式求解不同的PDE系统。其有效性在一系列基准上得到了验证。代码可在https://github.com/LeapLabTHU/AdaAFforPINNs获取。

英文摘要:

Physics-informed neural networks (PINNs) are known to suffer from optimization difficulty. In this work, we reveal the connection between the optimization difficulty of PINNs and activation functions. Specifically, we show that PINNs exhibit high sensitivity to activation functions when solving PDEs with distinct properties. Existing works usually choose activation functions by inefficient trial-and-error. To avoid the inefficient manual selection and to alleviate the optimization difficulty of PINNs, we introduce adaptive activation functions to search for the optimal function when solving different problems. We compare different adaptive activation functions and discuss their limitations in the context of PINNs. Furthermore, we propose to tailor the idea of learning combinations of candidate activation functions to the PINNs optimization, which has a higher requirement for the smoothness and diversity on learned functions. This is achieved by removing activation functions which cannot provide higher-order derivatives from the candidate set and incorporating elementary functions with different properties according to our prior knowledge about the PDE at hand. We further enhance the search space with adaptive slopes. The proposed adaptive activation function can be used to solve different PDE systems in an interpretable way. Its effectiveness is demonstrated on a series of benchmarks. Code is available at https://github.com/LeapLabTHU/AdaAFforPINNs.

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

↑