Feed-Forward Network

A neural network whose signals move from input to output through weighted layers without recurrent loops back into earlier layers.

A feed-forward network is a neural network that pushes an input through one or more learned weight matrices and nonlinear steps until it produces an output, without sending the signal backward through cycles during the forward pass.

At a glance

Released

March 1989

Authors

Kurt Hornik, Maxwell Stinchcombe, Halbert White

Optimizes

  • Per Token Capacity

What It Is

A feed-forward network, often shortened to FFN, is a neural network whose computation flows from input to output in one direction. Each layer multiplies the current values by learned weights, usually adds a bias, applies a nonlinear activation, and passes the result onward. The key idea is general: no recurrent loop is needed in the forward path.

Why It Exists

Feed-forward networks exist because a stack of learned weighted transformations can turn raw inputs into more useful internal features and final outputs. Coupled with an activation function, the FFN can express non linear functions and representations. As a consequence the FFN is able to represent complex concepts in real life.

How It Works

An input vector enters the first learned projection, gets transformed into a hidden representation, passes through an activation, and continues toward the output. In a simple dense feed-forward network, every example uses the same hidden layers.

Math Or Compute Schema

This formula shows the standard feed-forward pattern: project the input into hidden computation, apply a nonlinear transformation, then map the result onward.
Standard feed-forward network
FFN(x)=W2 σ(W1x+b1)+b2\mathrm{FFN}(x) = W_2\,\sigma(W_1 x + b_1) + b_2
xx
Input vector.
W1W_1
Projection into the hidden layer.
W2W_2
Projection from the hidden layer toward the output.
σσ
Pointwise activation applied in the hidden computation.

Example Architectures

Feed-forward networks appear across classic multilayer perceptrons, convolutional classifiers, recommendation models, and transformer blocks. In transformers they usually appear as the position-wise dense or sparse sublayer after attention, but that is only one important use case.

Limitations And Tradeoffs

A feed-forward network only applies the transformations its architecture makes available. A plain dense version can be simple and stable, but expensive when hidden layers get large. Gated and sparse variants can be more expressive or more parameter-efficient, but they add routing, balancing, or optimization complexity.

Why It Still Matters

Feed-forward networks remain one of the core building blocks of modern machine learning. Even when a paper introduces a new gated block or sparse expert system, it is often best understood as a new way to organize feed-forward computation rather than as a completely separate idea.

Tags

References

  1. Hornik, Kurt, Maxwell Stinchcombe, and Halbert White. "Multilayer Feedforward Networks are Universal Approximators." Neural Networks, vol. 2, no. 5, 1989, pp. 359-366. https://doi.org/10.1016/0893-6080(89)90020-8.
  2. Vaswani, Ashish, et al. "Attention Is All You Need." arXiv, 2017, https://arxiv.org/abs/1706.03762.