On computing the hyperparameter of extreme learning machines: Algorithm and application to computational PDEs, and comparison with classical and high-order finite elements
On computing the hyperparameter of extreme learning machines: Algorithm and application to computational PDEs, and comparison with classical and high-order finite elements
复制标题
关于计算极限学习机的超参数:计算偏微分方程的算法和应用,以及与经典和高阶有限元的比较
DOI:
10.1016/j.jcp.2022.111290
复制
发表时间:
2022
影响因子:
4.1
通讯作者:
Yang, Jielin
中科院分区:
文献类型:
--
作者:
Dong, Suchuan;Yang, Jielin
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 or near-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, corresponding to the conventional ELM method in which a single R m is used for generating the random coefficients in all the hidden layers, and (ii) Multi-Rm-ELM, corresponding to a modified ELM method 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.