SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Neural networks

An artificial neural network is a function built by composing simple units: each unit forms a weighted sum of its inputs, adds a bias and passes the result through a nonlinear activation function, and layers of such units feed one another. The weights are not written by hand but fitted to data by minimising a loss, almost always with gradients computed by backpropagation.12

The idea began with Warren McCulloch and Walter Pitts's 1943 logical calculus of idealised all-or-none threshold neurons3 and Frank Rosenblatt's 1958 perceptron, a randomly connected system whose connection strengths change with reinforcement so that it can learn to associate responses with stimuli.4 Practical training of networks with hidden layers came with backpropagation, described by Rumelhart, Hinton and Williams in 1986.5 In 1989 Cybenko, and separately Hornik, Stinchcombe and White, proved that a network with one hidden layer can approximate any continuous function on a bounded domain arbitrarily well given enough units; that settles what such networks can represent in principle, but not how large they must be or whether training will find the weights.16

LeCun, Bengio and Hinton's 2015 review in Nature describes deep learning as models composed of multiple processing layers that learn representations of data at multiple levels of abstraction, and credits deep convolutional networks with breakthroughs on images, video, speech and audio and recurrent networks with sequential data such as text and speech.2 Architectural choices encode assumptions about the data: convolution shares weights across positions in an image, recurrent and gated networks carry state through a sequence, residual connections make very deep networks trainable, and attention, the basis of the transformer, lets every position draw directly on every other.

For security the relevant property is that the same smoothness that makes gradient training work lets an attacker compute input gradients and find small perturbations that change a network's output, known as adversarial examples.

Source · Deep learning (opens in a new tab) · Nature (author-hosted copy), doi:10.1038/nature14539

References

  1. Deep Learning, chapter 6: Deep Feedforward Networks (opens in a new tab) · Goodfellow, Bengio and Courville, MIT Press (author-hosted) ↩ ↩
  2. Deep learning (opens in a new tab) · Nature (author-hosted copy), doi:10.1038/nature14539 · May 28, 2015 ↩ ↩
  3. A Logical Calculus of the Ideas Immanent in Nervous Activity (opens in a new tab) · Bulletin of Mathematical Biophysics (1943), course copy of the 1990 reprint ↩
  4. The Perceptron: A Probabilistic Model for Information Storage and Organization in the Brain (opens in a new tab) · Psychological Review (1958), Internet Archive copy ↩
  5. Learning representations by back-propagating errors (opens in a new tab) · Nature · October 9, 1986 ↩
  6. Approximation by Superpositions of a Sigmoidal Function (opens in a new tab) · Mathematics of Control, Signals, and Systems 2:303-314 (hosted copy), doi:10.1007/BF02551274 ↩

Research articles

See what connects to it on the map of ideas →

See also