What is a multilayer perceptron?

A multilayer perceptron is a feed-forward neural network with one or more hidden layers between input and output, each fully connected to the next and using non-linear activations in the hidden layers.

It is also called an MLP or feed-forward network. It differs from a single-layer perceptron in its hidden layers: a single perceptron learns only linearly separable patterns, while hidden layers let it learn non-linear relationships. Unlike a convolutional network, every neuron connects to the whole previous layer.

Topic
Machine learning, models and training
Also known as
MLP, feed-forward neural network
Origin
1986, training by backpropagation popularised by Rumelhart, Hinton and Williams

How a multilayer perceptron works

  1. Each element of the input vector connects to every neuron in the first hidden layer with its own weight; each neuron computes a weighted sum and adds a bias.
  2. An activation function is applied and the result passes to the next layer.
  3. The signal moves through successive hidden layers to the output, a class probability or numeric prediction.
  4. Weights are updated by backpropagation and gradient descent to reduce loss.

In more detail

The universal approximation theorem and the role of depth

By the universal approximation theorem, an MLP with even a single sufficiently wide hidden layer and a non-linear activation can approximate any continuous function on a bounded domain to any desired accuracy. In practice deeper architectures often reach comparable expressiveness with fewer parameters; the theorem only says a suitable network exists, not that training will find it.

Commonly confused terms

TermHow it differs
Feed-forward neural networkFeed-forward neural network is a broader umbrella covering any network without recurrent cycles (including CNNs and MLPs), whereas an MLP specifically refers to fully connected (dense) feed-forward layers.

Why a multilayer perceptron matters for on-premises AI

For tabular company data an MLP is a small, fast option for classification and prediction, trainable and runnable even on a CPU. It also lives inside large language models: the feed-forward block in every Transformer layer is an MLP holding most of the model's parameters. That is why quantisation and pruning methods target these layers in particular.

ON-PREMISES EXAMPLE

An energy distributor forecasts the next day's load with a small MLP taking hourly consumption readings and weather data as input; the model trains on the company's own server without a GPU.

Common questions

Is a multilayer perceptron the same as deep learning?

An MLP is one of the most basic deep learning architectures. Deep learning also covers others such as convolutional, recurrent and Transformer networks.

Is an MLP the best choice for every kind of data?

No. Convolutional networks do better on images and Transformers on sequences, while tree methods such as gradient boosting are often stronger on tabular data.

Sources

In the glossary: Glossary, M to Q

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.