Deep neural network (DNN)
A deep neural network is an artificial neural network with several layers between its input and output, each turning the previous layer's output into a more abstract representation.
A neural network passes data through layers of simple units, each layer feeding the next. The layers between input and output are called hidden layers, and a network with more than one of them is deep. Google's glossary uses exactly that definition. There is no agreed threshold for how many layers count as deep; the Wikipedia article on deep learning notes that most researchers count a network as deep when its credit assignment path, the chain of transformations from input to output, has a depth greater than two.
Depth matters because each layer can build on what the previous one found. In image recognition, an early layer may respond to lines and edges, a later one to arrangements of edges, another to parts such as eyes and noses, and a later one still to whole faces. The network learns these intermediate features itself from training data, instead of relying on features designed by hand, which was the main shift deep learning brought.
The ideas are older than the boom. Alexey Ivakhnenko and Lapa published a working method for training multilayer networks in 1965, and Shun'ichi Amari trained a deep multilayer perceptron with stochastic gradient descent in 1967. In 2006 Geoffrey Hinton and colleagues showed how to train deep networks one layer at a time. The turning point came in 2012, when AlexNet, a deep convolutional network, won the ImageNet competition by a wide margin. Yoshua Bengio, Geoffrey Hinton and Yann LeCun received the 2018 Turing Award for the breakthroughs that made deep neural networks a critical part of computing.
Depth has costs. More layers mean more parameters, which need more data and computing power to train, and the training signal has to travel back through every layer, which is why techniques such as better activation functions were needed to make very deep networks trainable. A trained network is also hard to inspect: what it has learned is spread across millions or billions of numbers, which is the problem interpretability research tries to address.
For readers of AI news, almost every system in the headlines, from chatbots to image generators to speech recognisers, is a deep neural network. Despite the name, they are not models of the brain; the Wikipedia article notes they are generally seen as poor models of how brains work.
Having more than one hidden layer between the input and the output. There is no fixed number at which a network becomes deep. The extra layers let the network build up increasingly abstract features from raw data. A deep neural network is the model itself: the layered structure of units and learned weights. Deep learning is the field and the set of methods for training such networks on data. In practice the two terms are closely linked, since deep learning means training deep neural networks. The underlying ideas existed for decades, but large labelled datasets such as ImageNet and fast GPU computing became available at the same time. AlexNet's 2012 ImageNet win showed what deep networks could do with both, and progress followed quickly in vision, speech and language. Largely, yes. What a trained network has learned is spread across a very large number of weights, so it is hard to say exactly why it produced a particular output. Interpretability research is developing tools to look inside, but explaining individual decisions remains difficult.Common questions
What makes a neural network deep?
What is the difference between deep learning and a deep neural network?
Why did deep neural networks take off in the 2010s?
Are deep neural networks black boxes?
Search for "deep neural network explained", "hidden layers" or "history of deep learning" for background. Reliable sources include machine learning courses from universities and Google, textbooks such as those used in university deep learning courses, and well-cited encyclopedia articles. Be careful with articles that describe deep networks as working like the human brain; the resemblance is loose.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.