Locally adaptive activation functions with slope recovery for deep and physics-informed neural networks

  • Ameya D. Jagtap
    Division of Applied Mathematics, Brown University, 182 George Street, Providence, RI 02912, USA
  • Kenji Kawaguchi
    Massachusetts Institute of Technology, 77 Massachusetts Avenue, Cambridge, MA 02139, USA
  • George Em Karniadakis
    Division of Applied Mathematics, Brown University, 182 George Street, Providence, RI 02912, USA

Description

<jats:p>We propose two approaches of locally adaptive activation functions namely, layer-wise and neuron-wise locally adaptive activation functions, which improve the performance of deep and physics-informed neural networks. The local adaptation of activation function is achieved by introducing a scalable parameter in each layer (layer-wise) and for every neuron (neuron-wise) separately, and then optimizing it using a variant of stochastic gradient descent algorithm. In order to further increase the training speed, an activation slope-based<jats:italic>slope recovery</jats:italic>term is added in the loss function, which further accelerates convergence, thereby reducing the training cost. On the theoretical side, we prove that in the proposed method, the gradient descent algorithms are not attracted to sub-optimal critical points or local minima under practical conditions on the initialization and learning rate, and that the gradient dynamics of the proposed method is not achievable by base methods with any (adaptive) learning rates. We further show that the adaptive activation methods accelerate the convergence by implicitly multiplying conditioning matrices to the gradient of the base method without any explicit computation of the conditioning matrix and the matrix–vector product. The different adaptive activation functions are shown to induce different implicit conditioning matrices. Furthermore, the proposed methods with the slope recovery are shown to accelerate the training process.</jats:p>

Journal

Citations (2)*help

See more

Report a problem

Back to top