# Rectified linear units

Date: 21 June 2010 · Era: III · Statistics and data · Category: theory · Significance: 3/5
People: Vinod Nair, Geoffrey Hinton, Xavier Glorot, Yoshua Bengio
Organisations: University of Toronto, Université de Montréal

Canonical: https://shapeofintelligence.com/timeline/2010-relu/ · Dataset and text CC BY 4.0

> Nair and Hinton replace the sigmoid with max(0, x); the gradient no longer vanishes through active units and deep networks train several times faster.

## What had to happen

13 events back to 1943, oldest first. Direct influences are marked *direct*.

- [1943 · A logical calculus of nervous activity](https://shapeofintelligence.com/md/timeline/1943-mcculloch-pitts-neuron/)
- [1949 · Cells that fire together wire together](https://shapeofintelligence.com/md/timeline/1949-hebb-organization-of-behavior/)
- [1958 · The perceptron learns](https://shapeofintelligence.com/md/timeline/1958-perceptron/)
- [1960 · ADALINE and the least-mean-squares rule](https://shapeofintelligence.com/md/timeline/1960-adaline-lms/)
- [1969 · Perceptrons](https://shapeofintelligence.com/md/timeline/1969-perceptrons-book/)
- [1970 · Reverse-mode automatic differentiation](https://shapeofintelligence.com/md/timeline/1970-linnainmaa-backprop/)
- [1974 · Werbos applies backpropagation to neural networks](https://shapeofintelligence.com/md/timeline/1974-werbos-backprop/)
- [1982 · The Hopfield network](https://shapeofintelligence.com/md/timeline/1982-hopfield-network/)
- [1985 · The Boltzmann machine](https://shapeofintelligence.com/md/timeline/1985-boltzmann-machine/)
- [1986 · Backpropagation](https://shapeofintelligence.com/md/timeline/1986-backpropagation/)
- [1990 · Finding structure in time](https://shapeofintelligence.com/md/timeline/1990-elman-network/)
- [1991 · The vanishing gradient problem](https://shapeofintelligence.com/md/timeline/1991-vanishing-gradient/) *direct*
- [2006 · Deep belief networks and the word 'deep'](https://shapeofintelligence.com/md/timeline/2006-deep-belief-nets/) *direct*

For two decades the standard artificial neuron squashed its input through a sigmoid, a smooth S-curve that saturates at both ends. The saturation is where the gradient dies: a unit that is strongly on or strongly off passes almost no error signal back. Vinod Nair and Geoffrey Hinton's ICML paper in June 2010 tried the simplest possible alternative, output the input if it is positive and zero otherwise, and found that it worked better in restricted Boltzmann machines. Xavier Glorot, Antoine Bordes and Yoshua Bengio showed the next year that it worked better in deep supervised networks too, with no pretraining needed.

The rectifier's derivative is one for any active unit, so the gradient passes through undiminished however deep the network, and half the units are exactly zero at any time, which is cheap and sparse. It is a McCulloch–Pitts threshold with a linear ramp above it, and the field had walked past it for sixty years because it was not differentiable at zero and did not look like a neuron.

AlexNet used it in 2012 and reported training six times faster than with sigmoids. Almost every network since has used it or a close relative. Along with GPUs, data and dropout, it is one of the four ingredients that made 2012 possible.

## What it led to

70 events downstream, through 2026.

Built on it directly:

- [2012 · AlexNet wins ImageNet](https://shapeofintelligence.com/md/timeline/2012-alexnet/)

And, through them, by era:

- IV · Deep learning: 9 events
- V · Transformers: 17 events
- VI · Everyone: 29 events
- VII · Agents: 14 events

## Sources

- [Rectified Linear Units Improve Restricted Boltzmann Machines (ICML, 2010)](https://icml.cc/Conferences/2010/papers/432.pdf) — paper
- [Deep Sparse Rectifier Neural Networks (AISTATS, 2011)](https://proceedings.mlr.press/v15/glorot11a.html) — paper

---

The Shape of Intelligence by Jamie McKaye (https://jamiemckaye.com) · Markdown mirror of https://shapeofintelligence.com/timeline/2010-relu/

Before: [2009 · ImageNet](https://shapeofintelligence.com/md/timeline/2009-imagenet/) · After: [2010 · DeepMind is founded](https://shapeofintelligence.com/md/timeline/2010-deepmind-founded/)
