ELU is one of the functions proposed to fix the inactivation on negative inputs (vanishing gradient problem) of ReLU-based activation functions.

The parameter α is usually set to α=1, but it can also be made a learnable parameter.

Like ReLU, it is cheaper to compute than the sigmoid function or Tanh, and can be expected to speed up training.

Some studies suggest that ELU does not always give good results when combined with batch normalization.

  • Experimental evaluation of ELU
  1. On image classification tasks such as MNIST, it outperforms other activation functions such as ReLU, Leaky ReLU, and SELU.
  2. On speech recognition tasks with sufficiently large datasets, it also tends to give better results than ReLU.
  3. It converges faster than ReLU and Leaky ReLU.
  4. In lightweight networks such as MobileNet, other activation functions such as Softplus and CELU may be better suited than ELU.
  5. In networks with residual connections (such as ResNet), ELU performs well, along with ReLU, LReLU, GELU, CELU, AB-ReLU, PDELU, and others.
ELU(x)={xif x≥0α(ex−1)if x<0\text{ELU}(x) = \begin{cases} x & \text{if } x \geq 0 \\\\ \alpha (e^x - 1) & \text{if } x < 0 \end{cases}

The output range is:

−α<ELU(x)<∞-α < \text{ELU}(x) < ∞

Reference: Activation Functions in Deep Learning: A Comprehensive Survey and Benchmark(2022)