דלג לתוכן

Labs · 9618 18.1 · back-propagation

Inside a Neural Network: Back-propagation

Set the weights of a neuron by hand, join neurons to solve XOR, then let back-propagation find the weights itself. Every sum, δ and weight change is shown with its numbers.

5 levelsFree bench

In the exam

Exam questions on what this lab teaches, with the points that gain marks.

9618/31 October/November 2021 · Question 9(a)5 marks

(i) State the reason for having multiple hidden layers in an artificial neural network. (ii) Explain how artificial neural networks enable machine learning.

Points that gain marks

  1. (i) A harder problem needs more layers; more layers allow deep learning and a more accurate result.
  2. (ii) A neural network copies the way a human brain works.
  3. (ii) Each connection between nodes has a weight.
  4. (ii) The data goes in at the input layer and is worked on in each hidden layer; the output layer gives the result.
  5. (ii) Back-propagation of errors corrects the weights, and training repeats this many times to get the best outputs.
  6. (ii) After training it makes decisions without being programmed for each case.

In this lab: Level 2 shows why a hidden layer is needed: one neuron cannot do XOR, but two hidden neurons can. When you train, every round sends the error back (δ) and changes each weight by −η·δ·input.

9618/32 October/November 2025 · Question 9(b)4 marks

Describe the back propagation of errors method in Machine Learning.

Points that gain marks

  1. The first outputs are compared with the expected outputs.
  2. The weights are adjusted to make the difference between actual and expected outputs smaller; calculus is used to find the error gradient.
  3. The results are fed back into the neural network, and the weight of each neuron is adjusted.
  4. The process repeats until the results are accurate enough.

In this lab: Every row of this lab shows these steps with numbers: the output is compared with the target, δ is the error gradient, and each weight changes by −η × δ × input, round after round.

The question as printed in the exam paper

More real experiments

All labs →

היכנס או צור חשבון

IGCSE, A-Level & AP