The short answer
Deep learning does not rely on one type of neural network. It uses several families, and the right one depends on the kind of data and the task. The most common are feedforward networks, convolutional neural networks (CNNs), recurrent neural networks (RNNs) and their gated variants, transformers, and generative models such as autoencoders, GANs and diffusion models.
What makes a network “deep”
Deep learning refers to neural networks with many layers of learned transformations between the input and the output. “Deep” describes how many layers a network has, not one particular design. Any of the architectures below can be deep when it has many layers. A network with only one hidden layer is usually called shallow.
Feedforward networks
A feedforward network passes information in one direction, from input to output, with no loops. The classic form is the multilayer perceptron, built from fully connected layers. These networks work well on tabular data, such as a spreadsheet with one row per customer, and many other architectures build on the same basic idea.
Convolutional neural networks
CNNs use small filters that slide across grid-shaped data, most often images. The same filter is reused across the whole image, so the network can detect a pattern such as an edge or a texture wherever it appears. Many learners ask, “How does a CNN differ from a traditional neural network?” Weight sharing is the main answer. Because the same filter is reused, a CNN needs far fewer parameters for image data than a fully connected network would. CNNs power many image classification and object detection systems.
Recurrent neural networks
RNNs process sequences one step at a time and keep a hidden state that carries information forward. Their gated variants, the LSTM and the GRU, handle longer sequences more reliably than a simple RNN. Recurrent networks have been used for speech recognition, language modeling and time-series forecasting. In many of these areas, newer systems now often use transformers instead.
Transformers
Transformers use attention, which lets each element of a sequence weigh every other element directly, rather than passing information step by step. They were introduced in 2017 and underpin most large language models today. Transformers are also used for images and audio, and they can be trained in parallel more easily than RNNs.
Generative models
Some deep learning networks are built to create new data, not only to predict labels.
- Autoencoders learn a compressed representation of their input and try to reconstruct the input from it.
- Generative adversarial networks (GANs) train a generator and a discriminator against each other.
- Diffusion models learn to remove noise step by step and are widely used for image generation.
Choosing an architecture
Match the architecture to the data. Images often call for CNNs or vision transformers. Text, audio and other sequences often call for transformers or RNNs. Tables are often handled well by feedforward networks or by simpler methods that are not neural networks at all. Start simple, measure results on held-out data, and add complexity only when a simpler model falls short.