Skip to content
BENIBIX Learn

Multilayer Perceptron (MLP)

AI📈 Machine LearningNeural Networks

Also known as MLP, Feedforward Neural Network, Fully Connected Network

The most plain kind of neural network. Each layer links to all of the next.

Think of it like

It is like a row of sieves stacked up. Each one sorts what the last one passed down.

Example

Lucy feeds 12 numbers about a house into an MLP with two hidden layers of 64 neurons. It outputs one number, the guessed price.

Why it matters

It is the building block to learn first. Most network types are this idea plus a twist.

Definition

A multilayer perceptron is the most plain kind of neural network. It has an input layer, hidden layers and an output layer. Every neuron in one layer links to every neuron in the next. Data flows one way, from input to output, with no loops. It works well on rows of numbers, like a spreadsheet. Bigger networks, like transformers, still have MLP parts inside them.
Here each dot links to all the dots in the next row of dots.

Common mistake

Using it on photos or long text. Networks built for those, like CNNs and transformers, do far better.

Key takeaways

  1. 1
    Layers in a row. Input, hidden, then output.
  2. 2
    Fully linked. Each neuron feeds every next one.
  3. 3
    One way. No loops, data flows forward.

Compare

Learn it properly