Paper commentary
Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)
Exponential linear units speed up deep network learning and improve accuracy
- Problem ReLU outputs are never negative, so unit means stay above zero, and the resulting bias shift slows learning. Batch normalization fixes this but adds computation.
- Method ELUs pass positive inputs through unchanged but let negative inputs saturate at a negative value, unlike ReLUs, which clip them to zero.
- Results ELU networks learn faster and generalize better than ReLU and LReLU networks with more than 5 layers.
Why non-zero means slow learning
ReLUs are the usual default, because their identity branch for positive inputs keeps gradients from shrinking through layers. That branch has derivative one, so gradients pass through without the contraction that tanh and sigmoid units cause. But ReLU outputs are never negative, so each unit's mean activation stays above zero. A unit with a non-zero mean acts as a bias for the next layer, and when such units are correlated the bias shift grows.
The bias shift is the change in a unit's mean caused by a weight update, and it leads to oscillations that impede learning.
Known fixes exist, but each one carries a cost or leaves a gap. Batch normalization centers activations to counter internal covariate shift, while the authors say ELUs push means toward zero with lower computational complexity. Leaky ReLUs, PReLUs and RReLUs add negative values, but they don't ensure a noise-robust deactivation state. The authors therefore want an activation with negative values, a saturating deactivation, and the identity for positive inputs.
How the ELU changes the activation
The key idea is to keep ReLU's identity for positive inputs and let negative inputs saturate at a negative value. The ELU is defined as \[ f(x) = \begin{cases} x & \text{if } x > 0 \\ \alpha(\exp(x) - 1) & \text{if } x \le 0 \end{cases} \] Here \(\alpha\) is a positive hyperparameter that sets the value at which the function saturates for negative net inputs.
The authors use \(\alpha = 1.0\) in their experiments. The derivative is one for positive inputs and \(f(x) + \alpha\) for negative inputs, so it shrinks toward zero as the input becomes more negative.
Saturation shrinks the variation and information a deactivated unit passes to the next layer, so the exact negative input matters less. The authors argue that this makes ELUs code the presence of a feature without quantitatively modeling its absence. The reasoning for the bias shift runs through Theorem 2, which states that the natural gradient's bias correction amounts to moving the incoming mean toward zero.
Because the full natural gradient is expensive to compute, the authors seek a negative-valued activation that gives a similar effect without it.
Mean activations and autoencoder error on MNIST
The authors trained fully connected networks with eight hidden layers of 128 units, using ELUs, ReLUs and LReLUs. Training ran for 300 epochs with stochastic gradient descent at learning rate 0.01, and each run used different random initializations. The median of the average unit activation stayed smaller for ELU networks throughout training.
The authors also report, in an appendix section, that the median varies much more in ReLU networks, which they read as ReLUs correcting bias shifts from earlier weight updates. The training error of the ELU networks fell much faster than that of the other networks.
A deep autoencoder with encoder layers of 1000, 500, 250 and 30 units was trained on MNIST at four fixed learning rates. The authors note that higher learning rates seemed to perform better, as Desjardins et al. had already observed.
CIFAR-100 activation and batch normalization comparison
The authors compared activations on CIFAR-100 with a CNN of 11 convolutional layers, running each network 10 times. They kept one learning rate schedule for all networks, even though that schedule had been tuned for ReLU networks.
ELUs averaged 28.75(±0.24)% test error, compared to 29.35(±0.29)% for SReLUs, 31.56(±0.37)% for ReLUs and 30.59(±0.29)% for LReLUs. ELUs also reached the lowest training loss, and the gap passed a Wilcoxon signed-rank test with p-value below 0.001.
Batch normalization improved ReLU and LReLU networks but did not improve ELU or SReLU networks. ELU networks without batch normalization still beat ReLU networks with batch normalization, with p-value below 0.001. The authors suggest that ELUs already supply the centering that batch normalization would add.
CIFAR and ImageNet classification results
For the generalization test, the authors built a deeper CNN with 18 convolutional layers and trained it on CIFAR-100 and CIFAR-10. The initial learning rate was 0.01, dropped tenfold after 35k iterations, with a mini-batch size of 100. The ELU-Network reached 24.28% test error on CIFAR-100 and 6.55% on CIFAR-10. The table marks the baselines it lists as augmented, and the ELU row carries no such mark.
The authors call 24.28% the best published CIFAR-100 result, obtained without multi-view evaluation or model averaging.
On ImageNet the authors built a 15-layer CNN with spatial pyramid pooling and trained on 224 by 224 random crops. The ELU network reached 20% top-5 error after 160k iterations, while the ReLU network needed 200k iterations. On a single center crop from a single model, the top-5 validation error was below 10%. Training was 5% slower for ELU nets, at 12.15h versus 11.48h for 10k iterations.
The authors expect faster exponential functions to narrow this gap.
Limitations
The learning rate schedule came from ReLU tuning, and the authors say ELUs may benefit from an adjusted schedule. The CIFAR-100 activation comparison uses one relatively simple CNN, chosen to keep compute reasonable. Batch normalization comparisons appear only on CIFAR-100 in the text. The noise-robustness argument is reasoned in the text, and no experiment there measures it directly.
The ImageNet result comes from one model on a single center crop, and the ELU run is 5% slower.
Paper info
- Authors
- Djork-Arné Clevert, Thomas Unterthiner, Sepp Hochreiter
- Venue
- arXiv · Preprint
- First published
- 2015-11-23
- Added
- 2026-11-11
- Updated
- 2016-2-22
- Version
- v5
- arXiv
- 1511.07289
- Category
- cs.LG
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Djork-Arné Clevert, Thomas Unterthiner, Sepp Hochreiter (2015). Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs). arXiv:1511.07289v5. https://arxiv.org/abs/1511.07289v5
BibTeX
@misc{clevert2015fast,
title = {{Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)}},
author = {Djork-Arné Clevert and Thomas Unterthiner and Sepp Hochreiter},
year = {2015},
eprint = {1511.07289},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1511.07289v5}
}