Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Activation Functions: Comparison of trends in Practice and Research for Deep Learning

Survey compares activation functions in deep learning practice and research

  • Problem Deep networks suffer vanishing or exploding gradients during training, so the choice of activation function matters. Earlier comparisons of activation functions were written only in Turkish, limiting who could read them.
  • Method This survey compiles the main activation functions used in deep learning, from Sigmoid and tanh to ReLU and Swish. The authors check them against trends in ImageNet-winning architectures such as AlexNet and SeNet.
  • Results ReLU appears in the hidden layers of every listed architecture except NiN, which has no hidden activation. Softmax is the output activation for most of them.

Why activation choice is hard

Deep networks stack many layers, and training gets harder when gradients shrink or blow up as they travel backward. The authors trace this to derivative terms: when they sit below one, repeated multiplication drives the gradient toward zero. When they sit above one, the same multiplication can push the gradient toward infinity instead. The activation function is one of the few levers that keeps these gradients within limits, which is why its choice matters.

The choice is also getting harder, since architectures now serve object classification, translation, speech, weather forecasting and self-driving cars.

The authors note that the only earlier comparison of this kind was written in Turkish, which limits who can read it. That gap is what motivates a survey of activation functions in deep learning, covering both the functions themselves and how practitioners use them.

What an activation function does in a layer

An activation function is the non-linear step placed after each neuron's weighted sum, so that stacked layers don't collapse into one linear map. A layer first computes the weighted sum of its inputs plus a bias, which is linear in the inputs. The activation α is then applied to that sum, giving y = α(w1 x1 + w2 x2 + ... + wn xn + b). Without this step, the output of each layer would be linear by default, however many layers are stacked.

The authors also require the activation to be differentiable, because backpropagation has to pass through it.

Where the function sits depends on the layer: after the hidden layers it makes the mapping non-linear, and at the output it produces the prediction. The output layer's activation is therefore the one that turns the network's scores into class probabilities or other predictions.

The functions by family

The authors start with the Sigmoid family, which is bounded, differentiable and used for probability-style outputs. Sigmoid saturates and converges slowly, and its outputs aren't centred on zero, so gradient updates can point in different directions. Tanh is zero-centred with a range of -1 to 1, and it became the preferred choice over Sigmoid for multi-layer networks.

However, tanh doesn't solve vanishing gradients, and it has a gradient of 1 only at an input of zero, which can produce dead neurons.

ReLU sets negative inputs to zero and passes positive inputs unchanged, which makes it cheap to compute. Its weakness is that a unit can die during training, and that the function overfits more easily than Sigmoid, a risk the authors say dropout reduces. The leaky ReLU answers the dead-unit problem with a small negative slope, such as 0.01, so the gradient never becomes exactly zero.

PReLU makes that negative slope a learnable parameter, and RReLU samples it at random during training. The ELU family is the identity for positive inputs and saturates on the negative side, which pushes mean activation toward zero. The ELU does not centre its values at zero, and this is the gap the parametric ELU was introduced to address.

SELU adds fixed constants, with alpha near 1.6733 and a scale near 1.0507, to aim for self-normalising behaviour across layers.

Maxout is the maximum of two affine functions, so it generalises ReLU and leaky ReLU, but it doubles the parameters in every neuron. Swish multiplies the input by its sigmoid, and the authors report that it outperforms ReLU on deep learning classification tasks.

Which functions the listed architectures use

The authors take winners of the ImageNet competition and related architectures, from AlexNet and ZFNet to ResNeXt and SeNet, and record where each activation sits. Table I shows ReLU in the hidden layers of every listed architecture except NiN, which has no hidden activation. Softmax is the output activation for most of them, and SeNet is the exception, with a Sigmoid output and ReLU in its hidden layers.

The authors read this as ReLU and Softmax being the functions that practical deep learning relies on. The newer functions seemed to outperform the older ones in the cited studies, yet even the latest architectures still rely on ReLU. The authors attribute this to practitioners preferring functions that have been tested and proven over newly developed ones.

Limits of the comparison

The comparison is a review of published architectures and cited results, and the authors ran no new benchmark of the functions. The authors left the comparison of the state-of-the-art functions on award-winning architectures, using standard datasets, as future work. The performance claims for newer functions come from the original papers, each with its own dataset and setup.

Pedamonti's MNIST comparison supports the claim that ELU variants learn faster than ReLU, which is a single cited study. Some ReLU variants lack theoretical justification for their results, according to the authors, so their advantage rests on experiments.

Paper info

Authors
Chigozie Nwankpa, Winifred Ijomah, Anthony Gachagan, Stephen Marshall
Venue
arXiv · Preprint
First published
2018-11-8
Added
2026-11-12
Updated
2018-11-8
Version
v1
arXiv
1811.03378
Category
cs.LG · cs.CV
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

Chigozie Nwankpa, Winifred Ijomah, Anthony Gachagan, Stephen Marshall (2018). Activation Functions: Comparison of trends in Practice and Research for Deep Learning. arXiv:1811.03378v1. https://arxiv.org/abs/1811.03378v1

BibTeX
@misc{nwankpa2018activation,
  title = {{Activation Functions: Comparison of trends in Practice and Research for Deep Learning}},
  author = {Chigozie Nwankpa and Winifred Ijomah and Anthony Gachagan and Stephen Marshall},
  year = {2018},
  eprint = {1811.03378},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.03378v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up