wAIpoint
Italiano

Feedforward networks

Level: Beginner

What it is

A feedforward neural network is a stack of layers of simple units. Each unit multiplies its inputs by weights, adds them up and passes the result through a simple function. Information flows one way, from input to output, with no loops.

What it is for

It learns a mapping from inputs to outputs when you have examples: predicting a price from a house's features, deciding whether an email is spam, recognising handwritten digits. It is also a building block inside bigger models, such as the feed-forward layers of a transformer.

How to do it

The process, step by step. Libraries and tools change; these steps stay.

  1. Decide what goes in and what comes out (for example 784 pixel values in, 10 digit scores out).
  2. Choose the shape: how many layers and how many units per layer. Start small.
  3. Prepare examples as pairs of input and correct answer, and split them into a training set and a test set.
  4. Train the network (see Training and backpropagation) until the error on the test set stops improving.
  5. Use it: feed a new input through the layers and read the output.

Timeline

  1. 1958Rosenblatt: the perceptron, a probabilistic model for information storage and organization in the brain. source

Sources