AI Glossary / Deep learning / Intermediate
Feedforward neural network
Definition
A feedforward neural network is a neural network whose prediction computation follows directed connections without cycles. Information moves from supplied inputs through intermediate calculations to outputs, without an output feeding back into an earlier stage of that same computation. A multilayer perceptron is a familiar example, but feedforward also describes a broader structural property that can apply to other architectures.
What it means
The network represents a function that transforms a collection of features into a result, such as a numerical estimate or class scores. Hidden layers provide intermediate representations. Feedforward describes the direction and organization of this calculation, rather than the task, data type, number of layers, or guaranteed quality. A network with forward skip connections can still be feedforward because skipping ahead does not create a cycle. Its output may subsequently be used by another system without changing the internal graph's classification.
How it works
In a basic dense network, a layer multiplies its input by learned weights, adds biases, and applies an activation function. Repeating these operations builds a composition of transformations. Nonlinear activations allow this composition to express relationships beyond one affine transformation. Training compares predictions with targets using a loss, computes parameter derivatives through backpropagation, and uses an optimizer to update parameters. The backward gradient calculation is a training procedure; it does not turn the prediction architecture into a recurrent network. Model selection includes choosing layer widths, activations, regularization, and output behavior.
Three practical examples
- Demand estimation: a network maps supplied product, calendar, and recent-sales features to a quantity forecast.
- Document classification: a network maps a prepared document representation to scores for predefined categories.
- Equipment monitoring: a network maps a fixed sensor window, represented as input features, to an anomaly score. The window supplies historical information explicitly rather than through a persistent recurrent state.
Think of it this way
Think of an assembly line where each station processes what earlier stations produced. A package can bypass a station and still move forward, like a skip connection. The analogy stops at physical manufacturing: neural layers perform numerical transformations, may branch or merge, and learn parameters from examples rather than literally assembling objects.
Worked example
Consider a small network with inputs x1 = 2 and x2 = 3. Its two hidden units use the rectified linear activation ReLU(z) = max(0, z). Let h1 = ReLU(x1 minus x2 plus 1), and h2 = ReLU(2 times x1 plus x2 minus 2). The hidden values are h1 = ReLU(0) = 0 and h2 = ReLU(5) = 5. A linear output y = 3 times h1 plus 0.5 times h2 plus 1 gives y = 3.5.
Now supply x1 = 4 while keeping x2 = 3. The hidden values become 2 and 9, giving y = 11.5. This is a second forward calculation using the same parameters, not a feedback update of the first result. The example has six hidden-layer parameters, comprising four weights and two biases, and three output-layer parameters, for nine in total. These hand-chosen values illustrate inference; they were not fitted to data and provide no evidence of useful predictive accuracy.
Illustrative case study
A fictional maintenance team trains a feedforward model using the last twelve readings from each machine as a fixed input window. Staff initially describe it as recurrent because it uses past readings. An architecture review shows that each window passes through dense layers without an internal feedback connection. The team corrects the description and separately tests missing-window handling and chronological validation. Historical input features and recurrent computational structure are different design choices.
Common misconceptions and mistakes
Feedforward does not mean that learning cannot use backward derivatives. Nor does it mean that every unit must connect to every unit in the following layer. Adding layers without nonlinear operations does not by itself create a richer nonlinear function. A model can overfit, extrapolate poorly, or learn leakage despite a valid architecture. Feeding an earlier prediction into the next external input creates an iterative application that should be documented separately from the network's internal structure.
Business use
For business users, this architecture offers a familiar way to combine numerical features and learned representations. Evaluate it against suitable simpler models using the same information and validation split. Include feature preparation, scaling, missing-data handling, inference cost, and monitoring in the comparison. A concise architecture diagram helps distinguish the input information the system receives from the patterns it can actually learn. Added layers should earn their operational cost through measured performance on relevant unseen cases.
People also ask
Is a feedforward network always deep?
No. Feedforward describes the absence of cycles, while depth concerns the number of computational layers.
Can it handle time-related data?
Yes, when historical observations or time features are supplied as inputs, although this differs from maintaining recurrent state.
Is an MLP the only feedforward network?
No. Dense MLPs are a common example; other architectures can also have acyclic prediction graphs.
Check your understanding
A network computes predictions without cycles but uses backpropagation while training. Is it recurrent?
Answer: No. Backpropagation computes derivatives for learning; recurrence refers to feedback or state dependence in the model's prediction computation.
Related terms
- Multilayer perceptron
- Hidden layer
- Activation function
- Forward propagation
- Backpropagation
- Recurrent neural network
- Fully connected layer
- Skip connection
Learn next
draw the computation graph of a small network, label each weight and bias, and calculate one prediction by hand. Then study backpropagation separately to understand how training changes those parameters without changing the graph into a recurrent architecture.
More in Deep learning
- Extension neural network - An extension neural network, or ENN, is a specialized pattern-recognition approach that combines neural-network ideas with extension theory, also called...
- Feed forward (control) - Feedforward control determines a control action from a reference signal, a measured disturbance, or other predictive information, without relying on the...
- Feedback Network - In neural-network terminology, a feedback network contains connections through which information can return to an earlier part of the computation, creating...
- Fixed Effects Model - A fixed effects model is a statistical model that represents specified groups or factor levels with their own parameters.
- Frequency principle/spectral bias - The frequency principle, also called spectral bias in closely related research, describes a tendency of many neural networks and training setups to learn...
- Gating mechanism - A gating mechanism is a component that regulates how information contributes to a neural-network calculation, commonly by multiplying a signal by an...
Sources
Goodfellow, Bengio, and Courville, Deep Learning, Chapter 6: https://www.deeplearningbook.org/contents/mlp.html scikit-learn, supervised neural-network guide: https://scikit-learn.org/1.8/modules/neural_networks_supervised.html
Previous: Feedback neural network Next: FELICS