极限学习机的超参数计算:算法及其在计算偏微分方程中的应用,以及与经典和高阶有限元的比较
On Computing the Hyperparameter of Extreme Learning Machines: Algorithm and Application to Computational PDEs, and Comparison with Classical and High-Order Finite Elements
摘要:
我们考虑使用极端学习机(ELM)计算偏微分方程(PDE)。在ELM中,神经网络中的隐藏层系数被分配给在$[-R_m,R_m]$上生成的随机值并被固定,其中$R_m$是用户提供的常数,并且输出层系数通过线性或非线性最小二乘计算来训练。提出了一种基于差分进化算法的计算$R_m$最优值的方法。所提出的方法使我们能够照亮的两种类型的ELM配置的最佳$R_m$的特性:(i)单Rm-ELM,其中一个单一的$R_m$用于生成的随机系数在所有的隐藏层,和(ii)多Rm-ELM,其中多个$R_m$常数涉及每个用于生成不同的隐藏层的随机系数。我们采用了最佳的$R_m$从这种方法,并结合其他改进的ELM实现。特别是,在这里,我们计算所有的微分算子涉及的输出字段的最后一个隐藏层的前向模式的自动微分,而不是反向模式的自动微分在以前的工作。这些改进显著减少了网络训练时间,提高了ELM性能。我们系统地比较了当前改进的ELM的计算性能与有限元方法(FEM),无论是经典的二阶有限元和高阶有限元与拉格朗日元素的次数更高,解决了一些线性和非线性偏微分方程。结果表明,改进的ELM远优于经典有限元法。对于较小的问题规模,其计算性能与高阶有限元相当,对于较大的问题规模,ELM明显优于高阶有限元。
英文摘要:
We consider the use of extreme learning machines (ELM) for computational partial differential equations (PDE). In ELM the hidden-layer coefficients in the neural network are assigned to random values generated on $[-R_m,R_m]$ and fixed, where $R_m$ is a user-provided constant, and the output-layer coefficients are trained by a linear or nonlinear least squares computation. We present a method for computing the optimal value of $R_m$ based on the differential evolution algorithm. The presented method enables us to illuminate the characteristics of the optimal $R_m$ for two types of ELM configurations: (i) Single-Rm-ELM, in which a single $R_m$ is used for generating the random coefficients in all the hidden layers, and (ii) Multi-Rm-ELM, in which multiple $R_m$ constants are involved with each used for generating the random coefficients of a different hidden layer. We adopt the optimal $R_m$ from this method and also incorporate other improvements into the ELM implementation. In particular, here we compute all the differential operators involving the output fields of the last hidden layer by a forward-mode auto-differentiation, as opposed to the reverse-mode auto-differentiation in a previous work. These improvements significantly reduce the network training time and enhance the ELM performance. We systematically compare the computational performance of the current improved ELM with that of the finite element method (FEM), both the classical second-order FEM and the high-order FEM with Lagrange elements of higher degrees, for solving a number of linear and nonlinear PDEs. It is shown that the current improved ELM far outperforms the classical FEM. Its computational performance is comparable to that of the high-order FEM for smaller problem sizes, and for larger problem sizes the ELM markedly outperforms the high-order FEM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。