ANN Types: Overview

A map of the common types

Different networks are built for different kinds of data. A table of house prices, a photograph, a sentence, and a recording of speech do not ask for the same architecture. This page is a short map of the types you will meet first. Each one has its own short chapter; two later ideas, GANs and Transformers, already live elsewhere on the wiki, so they are only pointed to from here.

MLTut infographic titled Types of Neural Networks, with rows for feedforward, convolutional, recurrent, LSTM, GRU, autoencoder, GAN, and Transformer networks, each with a short description, a diagram, and an example.

Infographic of eight common neural-network types, each with a small diagram and an example.

Eight common types, each with a sketch and a typical use. We walk through the first six in this section; GANs and Transformers are linked below.

Credit: MLTut

The types, in one card each

Feedforward (FNN / MLP). Information moves one way: input, hidden layers, output. A solid first model for tables of numbers — for example, a house price from size, location and number of rooms.

Convolutional (CNN). Built for grid-like data, especially images. A small filter slides over the picture and looks for local patterns, such as edges, before later layers turn those into a label like “cat” or “dog.”

Recurrent (RNN). Built for sequences. At each step the network sees the new item and a little memory of what came before, which is why it suits a time series or a sentence read word by word.

LSTM and GRU. Richer recurrent networks with gates that decide what to keep and what to forget. They were invented to ease the vanishing-gradient problem of a plain RNN, and they show up in translation, speech, and other sequence work.

Autoencoders. A network that compresses its input and then reconstructs it. The tight middle, the bottleneck, is a compact summary. Useful for compression and for spotting odd examples that will not reconstruct well.

Generative adversarial networks (GANs). Two networks train against each other: a generator that invents examples, and a discriminator that tries to tell fake from real. The full walk-through is Generative adversarial networks, in this section’s Generative models chapter.

Transformers. They use self-attention to let every item in a sequence look at the others, which is why they handle long-range dependencies and sit under most modern language models. That story lives in the LLMs and Transformers section.

Which network for which data?

If your data is… A good first type Why, in one line
A table of numbers (price, size, rooms) Feedforward / MLP Each row is one example; there is no grid or order to exploit.
An image, or another grid CNN Nearby pixels belong together; a sliding filter sees local patterns.
A short sequence (a time series, a short sentence) RNN The present step needs a little memory of the past.
A longer sequence, or a sequence that must remember for a while LSTM or GRU Gates keep useful memory from fading.
“Make a compact summary, then rebuild it” Autoencoder The bottleneck has to keep what matters.
“Invent new examples that look real” GAN The existing GAN chapter is the place for this.
Language, or a long sequence with long-range links Transformer Start from LLMs and Transformers.

These are starting points, not laws. A modern speech model may use a Transformer; a small classroom exercise may use an MLP for almost anything. The chapters below stay short on purpose: they explain the why, then send you on to a fuller page when we already have one.

See also

References

  • [1] MLTut, Types of Neural Networks infographic (feedforward, convolutional, recurrent, LSTM, GRU, autoencoder, GAN, and Transformer). The figure in the margin follows this source. Credit: MLTut.
Back to top