In deep learning, a multilayer perceptron (MLP) is a kind of modern feedforward neural network consisting of fully connected neurons with nonlinear activation functions, organized in layers, notable for being able to distinguish data that is not linearly separable. Modern neural networks are trained using backpropagation and are colloquially referred to as "vanilla" networks. MLPs grew out of an effort to improve on single-layer perceptrons, which could only be applied to linearly separable data. A perceptron traditionally used a Heaviside step function as its nonlinear activation function. However, the backpropagation algorithm requires that modern MLPs use continuous activation functions such as sigmoid or ReLU. Multilayer perceptrons form the basis of deep learning, and are applicable across a vast set of diverse domains.
Terminology The name "multilayer perceptron" is a misnomer, as the network relies on neurons with continuous nonlinear activation functions (such as sigmoid, tanh, or rectified linear unit (ReLU)) rather than the Heaviside step function used in the original perceptron. Nevertheless, the name persists to describe feedforward neural networks with at least one hidden layer of fully connected neurons. In deep learning terminology, MLPs are frequently referred to as deep feedforward networks, feedforward neural networks (FNNs), or simply dense networks. They are also colloquially called "vanilla" neural networks to distinguish them from more specialized architectures. The term "fully connected" distinguishes this architecture, where every neuron in one layer connects to every neuron in the next, from architectures with sparse connectivity such as convolutional neural networks. While the general term "neural network" encompasses all varied architectures (including recurrent and convolutional types), "MLP" specifically denotes the class of feedforward networks with dense connections and no cycles.
Timeline In 1943, Warren McCulloch and Walter Pitts proposed the binary artificial neuron as a logical model of biological neural networks. In 1958, Frank Rosenblatt proposed the multilayered perceptron model, consisting of an input layer, a hidden layer with randomized weights that did not learn, and an output layer with learnable connections. In 1962, Rosenblatt published many variants and experiments on perceptrons in his book Principles of Neurodynamics, including up to 2 trainable layers by "back-propagating errors". However, it was not the backpropagation algorithm, and he did not have a general method for training multiple layers. In 1967, Shun'ichi Amari reported the first multilayered neural network trained by stochastic gradient descent, was able to classify non-linearily separable pattern classes. Amari's student Saito conducted the computer experiments, using a five-layered feedforward network with two learning layers. Backpropagation was independently developed multiple times in early 1970s. The earliest instance was Seppo Linnainmaa's unpublished Finnish master thesis (1970), published in English in 1976. Paul Werbos developed it independently in 1971, but had difficulty publishing it until 1982. David E. Rumelhart developed backpropagation in spring of 1982 independently. In 1986, Rumelhart et al. popularized backpropagation. In 2003, interest in backpropagation networks returned due to the successes of deep learning being applied to language modelling by Yoshua Bengio with co-authors. In 2021, a very simple NN architecture combining two deep MLPs with skip connections and layer normalizations was designed and called MLP-Mixer; its realizations featuring 19 to 431 millions of parameters were shown to be comparable to vision transformers of similar size on ImageNet and similar image classification tasks.
Architecture
A multilayer perceptron is a feedforward neural network, meaning information flows in one direction from input to output with no cycles or loops. Unlike recurrent neural networks, which maintain internal state through feedback connections, or convolutional neural networks, which use sparse local connectivity, MLPs are characterized by full connectivity: every neuron in one layer connects to every neuron in the next layer. This architecture is also called a fully connected network or dense network.
Artificial neuron
Each artificial neuron in an MLP receives multiple inputs, processes them through a weighted sum, and applies a nonlinear activation function to produce an output. The neuron model consists of three main parts:
Input connections: Each input xi is associated with a synaptic weight wi that represents the strength of that connection. These weights are the learnable parameters of the network. Linear combiner: The neuron computes a weighted sum of its inputs, typically including a bias term b: u=∑i=1nwixi+b=𝐰𝖳𝐱+b Activation function: The weighted sum is passed through a nonlinear function g(u) to produce the neuron's output: y=g(u)=g(∑i=1nwixi+b) The bias term can be viewed as an adjustable threshold for neuron activation.
Layer structure
The MLP consists of three or more layers: an input layer, one or more hidden layers, and an output layer. The input layer receives the initial data signal (such as pixels of an image or features of a dataset) and passes it to the first hidden layer. It does not perform any computation. The hidden layers are the computational core of the MLP. Each hidden layer consists of neurons that receive weighted inputs from the previous layer, apply a nonlinear activation function, and pass the result to the next layer. These layers are called "hidden" because their values are not directly observed in the training data, unlike inputs or outputs. Deep networks (those with many hidden layers) can learn hierarchical representations of data: lower layers detect simple features while higher layers represent more abstract concepts. The output layer produces the final prediction. Its structure depends on the specific task:
For regression (predicting a continuous value), it typically has a single neuron with a linear activation function. For binary classification (predicting yes/no), it uses a single neuron with a sigmoid activation. For multi-class classification, it usually has one neuron per class (e.g., 10 neurons for digit recognition), often using the softmax activation to produce a probability distribution.
… excerpt ends here. Continue reading the full article.





