Skip to main contentSkip to navigationSkip to footer
DigiTransact AI Education Centre Start Learning

Level 3 · Module 13 · 10 minutes

The forward pass: how a network makes a guess

What you will learn
  • Describe the order in which values move during a forward pass.
  • Explain why an output score is evidence, not proof.
  • Explain why inference does not change a network's weights.

A forward pass is the trip a network makes from input to answer. You give the network numbers, and the values move through the layers once, in one direction, until the output layer produces a result. Nothing in the weights changes during this trip.

Step by step

The input layer receives the example. In the first hidden layer, every unit combines the numbers it receives using its weights and activation step. Its output becomes an input for the next hidden layer, which does the same. This continues until the output layer produces its result.

For a task that sorts inputs into categories, called classification, the output may be a set of scores, one for each possible label. A higher score means the network found stronger evidence for that label. For a prediction of a number, the output is simply a number. The scores are not proof. A confident-looking score can still be wrong, because it only reflects patterns learned during training.

Same weights, same route

If you give the same input to the same trained network twice, you normally get the same result. The forward pass is a fixed calculation, not a search for knowledge. The network does not look anything up and does not check a fact. It applies the learned weights in order.

Inference, not learning

Running a forward pass to get a result is called inference. Inference uses the weights as they are and never updates them. This is why you should not expect a chat system to learn from your conversation. Reading your message and choosing a reply does not train the model, even if the reply feels personal.

Training is the separate process that set the weights in the first place. It needs many examples and many passes, and it happens before the model is used. Inference is the everyday use, and it is much cheaper.

A teaching picture, not a commercial system

Teaching diagrams often show a small forward pass with a few numbers. That is a simplified picture. A real commercial model performs a very large number of calculations, with many layers and units. The idea of numbers moving forward is the same, but the scale and the amount of training data are far greater.

Common misconception

When a model gives an answer, it is also learning from that answer. An answer is produced by inference, which only applies weights that are already fixed. Training is a separate, deliberate process that changes the weights using many examples. Using a model does not train it unless a provider runs a separate training or memory process.

Guided practice

Trace a forward pass on paper for a simple task: decide whether a short message is a complaint. List three input cues with numbers, note how a first hidden unit might combine them into one value, and say how a later unit might reach a final score. Mark clearly that you chose the weights and that no model is trained.

Knowledge check

1. What happens during a forward pass?

2. A classifier returns a high score for one label. What does that mean?

3. Why does using a trained network not count as training it?

Independent practice

Write a short example from your own work or daily life and decide whether it is AI, ordinary software or a mixture. Then explain why. Save it in your notes; no account is required.

Last reviewed: · Report a problem

Last updated: