Deep learning
For the TV series episode, see Deep Learning (South Park).
In machine learning, deep learning (DL) uses neural networks with many layers to do jobs such as classification, regression, and representation learning. The field is inspired by biological neuroscience. It works by stacking artificial neurons into layers and "training" them to handle data. The word "deep" means the network has many layers, from three to hundreds or thousands. Learning can be supervised, semi-supervised, or unsupervised.
Some common deep learning designs include fully connected networks, deep belief networks, recurrent neural networks, convolutional neural networks, generative adversarial networks, transformers, and neural radiance fields. These designs are used in areas such as computer vision, speech recognition, natural language processing, machine translation, bioinformatics, drug design, medical image analysis, climate science, material inspection, and board game programs. In many of these areas, they have done about as well as human experts, and sometimes better.
Early neural networks were inspired by how information moves between nodes in biological systems, especially the human brain. However, today's neural networks are not meant to copy how a living brain works. They are generally seen as not very good models for that purpose.
Overview
Most modern deep learning models are based on networks with many layers, called neural networks. Two common examples are convolutional neural networks and transformers. Some models use propositional formulas or hidden variables arranged in layers. Examples include deep generative models such as deep belief networks and deep Boltzmann machines. Deep learning is a type of machine learning that uses algorithms to pass data through a series of layers. Each layer turns the data into a more abstract form. In an image recognition model, the input is a picture. The picture is stored as a tensor of pixels. The first layer may find simple shapes like lines and circles. The second may join them into edges. The third may find a nose and eyes. The fourth may recognize a face.
In the past, people often had to design feature engineering by hand to prepare data. With deep learning, the model discovers useful features on its own. People still need to adjust some settings, such as the number of layers. The word "deep" refers to how many layers the data passes through. Most researchers agree that a system is deep when it has more than two layers. Deeper models can often find better features. Deep learning can also work with feedforward neural networks and recurrent neural networks. It can be built one layer at a time using a greedy method. Many kinds of data have no labels, so deep learning can also be used for unsupervised learning, as in deep belief networks. The term was brought into machine learning by Rina Dechter in 1986. It was brought into artificial neural networks by Igor Aizenberg and colleagues in 2000, in the context of Boolean threshold neurons.
Interpretations
Deep neural networks are often explained in one of two ways: the universal approximation theorem or probabilistic inference. The classic theorem is about how well feedforward neural networks with one hidden layer of limited size can approximate, or get close to, continuous functions. In 1989, George Cybenko published the first proof for sigmoid activation functions. In 1991, Kurt Hornik extended this idea to networks with many layers. Later work showed that the idea also works for activation functions like Kunihiko Fukushima's rectified linear unit.
For deep neural networks, the theorem looks at networks with a limited width whose depth can grow. Lu et al. proved that with ReLU activation, a network whose width is larger than its input dimension can approximate any Lebesgue integrable function. If the width is smaller or equal, the network is not a universal approximator. The probabilistic view comes from machine learning. It uses ideas of inference and of optimization, including training and testing, which relate to fitting and generalization. This view treats the activation nonlinearity as a cumulative distribution function and led to the use of dropout as a regularizer in neural networks. It was introduced by researchers including Hopfield, Widrow and Narendra, and became popular through surveys such as the one by Bishop.
History
Ideas about networks of artificial neurons appeared long before modern computers. Frank Rosenblatt proposed the perceptron in 1958. In 1965, Alexey Ivakhnenko and Lapa published the first working deep learning method. Researchers such as Shun'ichi Amari and Kunihiko Fukushima took important early steps, including a method called backpropagation, which helps networks learn from their mistakes. In the 1980s and 1990s, Yann LeCun and Jürgen Schmidhuber built networks that could read handwritten numbers and remember information over long sequences. Speech recognition and other tools also improved, but progress was slow because computers were not yet powerful enough.
Deep learning grew quickly in the 2000s and 2010s. Using graphics processing units (GPUs) made it much faster to train large networks. This helped a network called AlexNet win the large ImageNet competition in 2012. Researchers then created new tools, such as word2vec, which helps computers understand words, and the residual neural network, which helps train very deep networks. Other systems learned to create images, and generative adversarial networks became popular. In 2018, Yoshua Bengio, Geoffrey Hinton, and Yann LeCun received the Turing Award for their work on deep neural networks.
Main article: Artificial neural network
Artificial neural networks (ANNs) are computer systems inspired by the biological neural networks in animal brains. They learn to do tasks by studying examples, usually without being given special instructions for each task. For instance, to recognize cats in pictures, an ANN can study example images labeled "cat" or "no cat." Then it can use what it learned to find cats in new images. They are most useful for problems that are hard to solve with rule-based programming. An ANN is built from connected units called artificial neurons, which pass signals to one another. These neurons are usually arranged in layers, and signals travel from the first (input) layer to the last (output) layer. Neural networks are used for many tasks, including computer vision, speech recognition, machine translation, and medical diagnosis.
A deep neural network is a neural network with many layers between its input and output layers. The word "deep" refers to these many layers. At first, the network gives its connections random values, called "weights." When it makes a mistake, the network adjusts these weights so that it improves over time. Deep networks can have problems, such as "overfitting." This happens when a network learns rare details in the training data instead of general patterns. Methods such as dropout, which randomly leaves out some units during training, can help reduce this problem. Training these networks can also take a lot of time and computer power.
Hardware
Since the 2010s, better machine learning methods and computer hardware have made it faster to train deep neural networks with many layers. By 2019, graphics processing units (GPUs), often with AI-specific improvements, had become the main tool for training large AI systems in commercial cloud computing. OpenAI found that the computing power used in some of the biggest deep learning projects grew very quickly between 2012 and 2017.
Special electronic circuits called deep learning processors were designed to speed up deep learning. Examples include neural processing units (NPUs) in Huawei cellphones and cloud computing servers, such as tensor processing units (TPU) in the Google Cloud Platform. Cerebras Systems also built a system called the CS-2 for handling very large deep learning models. It is based on the largest processor in the industry, the second-generation Wafer Scale Engine (WSE-2).
Researchers are exploring new materials and designs to make deep learning hardware use less energy. Some work uses semiconductors that are only a few atoms thick. In 2021, J. Feldmann et al. proposed a light-based hardware accelerator that uses integrated photonics to process data very quickly, which could be useful for AI applications that handle a lot of information.
Applications
Main article: Speech recognition
Main article: Computer vision
Main article: Natural language processing
For more information, see Drug discovery and Toxicology.
Main article: Recommender system
Main article: Bioinformatics
Main article: Epigenetic clock
Deep learning is used in many areas. One of its first big successes was in large-scale speech recognition. Today, most major speech recognition systems use it. Deep learning can also recognize images very well, sometimes better than people. This first happened in 2011 with traffic signs and in 2014 with human faces. It is also used in art, such as finding the style period of a painting. In language, Google Translate uses a large long short-term memory network and works with over one hundred languages. A method called word2vec, which is a type of word embedding, is another important tool in this field.
Deep learning has also been used in science and medicine. AtomNet, a deep learning system, was used to suggest new possible biomolecules for diseases such as the Ebola virus and multiple sclerosis. In bioinformatics, deep neural networks have worked well at predicting protein structure. In 2020, AlphaFold became much more accurate than all earlier computer methods. Deep learning has also been used for fraud detection and to study medical images. In November 2023, researchers at Google DeepMind and Lawrence Berkeley National Laboratory announced GNoME, an AI system that found over 2 million new materials. GraphCast, a deep learning model, can predict weather for up to 10 days ahead.
Relation to human cognitive and brain development
Deep learning is closely related to ideas about how the brain development works, especially the growth of the neocortex. Cognitive neuroscientists proposed these ideas in the early 1990s. People later turned them into computer models, so the ideas came before today's deep learning systems. In these ideas, chemicals such as nerve growth factor help the brain organize itself, a bit like the neural networks used in deep learning. Both work in layers. Each layer takes in information from the layer before it and passes its results on, building a stack of transducers that fit their surroundings.
Scientists have tried many ways to find out whether deep learning models are like the brain. Some researchers changed the backpropagation method so it works more like real brain processes. Others think that learning without labeled examples may be closer to how the brain works. This includes using generative models or deep belief networks. A full comparison between the human brain and deep networks has not been made yet. Still, some similarities have been noticed, such as in how the units in deep learning work and how they represent what they see.
Commercial activity
Facebook's AI lab does jobs such as automatically tagging uploaded pictures with the names of the people in them. Google's DeepMind Technologies created a system that could learn to play Atari video games using only what it could see on the screen. In 2015, they showed their AlphaGo system, which learned the game of Go well enough to beat a professional Go player. Google Translate uses a neural network to translate between more than 100 languages. In 2017, Covariant.ai was started to bring deep learning into factories.
In 2008, researchers at The University of Texas at Austin (UT) created a method called TAMER. It helped robots or computer programs learn tasks by working with a human teacher. In 2018, a newer method called Deep TAMER was introduced. It came from a team-up between the U.S. Army Research Laboratory (ARL) and UT researchers. It used deep learning to help a robot learn new tasks by watching, either through video or by seeing a human do the task in person. The robot then practiced the task with help from its trainer, who gave feedback such as "good job" and "bad job".
Criticism and comment
See also: Explainable artificial intelligence
Some people, including people who are not computer scientists, have criticized deep learning. One main concern is that it is not always clear why some methods work. Common deep learning systems learn in a way that is well understood, but the theory behind other methods, such as contrastive divergence, is less clear.[citation needed] Deep learning is often called a black box, because people can see what goes in and what comes out but not always how it works inside. Most results are checked by testing rather than by theory.
A series of images showing the inside of deep neural networks got a lot of attention. The original research post received well over 1,000 comments. For a time, it was the most viewed article on The Guardian's website. One study used Innovation Diffusion Theory (IDT) and Google Trends data to look at how deep learning spread in BRICS and OECD countries.
Some systems also make mistakes. They may be very sure that an image they cannot recognize belongs to a normal category. They may also get confused by tiny changes to images they had already identified correctly. Goertzel suggested these limits could make it hard to fit such systems into artificial general intelligence (AGI) designs. He also suggested that learning a grammar could help with commonsense reasoning, based on production rules, which is a basic goal of artificial intelligence (AI).
As deep learning is used in the real world, researchers have found that neural networks can be tricked. In an "adversarial attack", the input is changed so the system finds a match that a human would not notice. Examples include edited images, psychedelic glasses that fooled a facial recognition system, stickers on stop signs, and sounds that made Google Now open a web address. One way to check for fake images is a reverse image search with a site such as TinEye. In "data poisoning", false data is secretly added to a training set.
Many training datasets are made or labeled by people. Often this is done through low-paid clickwork, such as on Amazon Mechanical Turk, or through microwork that people may not notice they are doing. The philosopher Rainer Mühlhoff describes five ways human effort is used to make training data. These include gamification; "trapping and tracking", such as CAPTCHAs or click-tracking on search results pages; using social motivations, such as tagging faces on Facebook; information mining from quantified-self devices such as activity trackers; and clickwork.

Quiz time!
4 questions about Deep learning
What does the word "deep" mean in deep learning?
Keep exploring
This article is a child-friendly adaptation of the Wikipedia article on Deep learning, available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.