Activation function design for deep networks: linearity and effective initialisation

Michael Murray, Vinayak Abrol, Jared Tanner
5/17/2021
cs.LG

Official code: Cross-Caps/AFLI (1 star, Jupyter Notebook, GPL-3.0, last commit 2023-05-16).

Abstract

The activation function deployed in a deep neural network has great influence on the performance of the network at initialisation, which in turn has implications for training. In this paper we study how to avoid two problems at initialisation identified in prior works: rapid convergence of pairwise input correlations, and vanishing and exploding gradients.

Show full abstract

We prove that both these problems can be avoided by choosing an activation function possessing a sufficiently large linear region around the origin, relative to the bias variance $σ_b^2$ of the network's random initialisation. We demonstrate empirically that using such activation functions leads to tangible benefits in practice, both in terms test and training accuracy as well as training time. Furthermore, we observe that the shape of the nonlinear activation outside the linear region appears to have a relatively limited impact on training. Finally, our results also allow us to train networks in a new hyperparameter regime, with a much larger bias variance than has previously been possible.

View on arXivView PDF

Code Implementations(1)

Cross-Caps/AFLIOfficial100%
GPL-3.0

Activation function design: Linearity and effective initialization

10Jupyter Notebook, PythonMay 2, 20213 years agoGPL-3.0

Similar Papers

Cite this paper

@article{murray2021activation,
  title  = {Activation function design for deep networks: linearity and effective initialisation},
  author = {Michael Murray and Vinayak Abrol and Jared Tanner},
  year   = {2021},
  eprint = {2105.07741},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.07741}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.07741.svg)](https://codeofpaper.com/paper/2105.07741)

Discussion