Learn AI Math

Multi-Layer Perceptron (MLP)

What is Multi-Layer Perceptron (MLP)?

In one sentence: A multi-layer perceptron is a basic neural network made of layers of neurons where every neuron connects to every neuron in the next layer.

It is the classic neural network design: input layer, one or more hidden layers, and output layer. In Transformers, the feed-forward network is a small MLP, so people often use the two names for the same part.

What does Multi-Layer Perceptron (MLP) look like?

A simple MLP could take a student's study hours and sleep hours and predict their test score.

Why does Multi-Layer Perceptron (MLP) matter?

MLPs are a basic building block found inside almost every modern AI model.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.