- 2072 Asoj · 2+4+4 marks
Neural network, back-propagation, perceptron
Short answer
A neural network is interconnected neurons with weighted links. Back-propagation trains multilayer networks by gradient descent, computing output error and propagating backward. A perceptron is a single neuron with step activation; its rule converges for linearly separable problems like AND but not XOR.
What is a neural network? Explain the back propagation algorithms and perceptron.
Neural network
An artificial neural network is a set of simple processing units (neurons) connected by weighted links, organised in an input layer, hidden layer(s) and an output layer. Each neuron computes y = f(Σ wᵢxᵢ + b). The network learns by adjusting weights from examples.
Back-propagation algorithm
Back-propagation is the supervised gradient-descent method used to train multilayer feed-forward networks.
- Initialise weights with small random values; choose learning rate η.
- Forward pass: compute hidden outputs h_j = f(Σ w_ij x_i + b_j) and output y_k = f(Σ v_jk h_j + b_k), f(z) = 1/(1 + e^(−z)).
- Output error: δ_k = (t_k − y_k) y_k (1 − y_k).
- Hidden error: δ_j = h_j (1 − h_j) Σ_k δ_k v_jk (error sent backwards).
- Update: v_jk ← v_jk + η δ_k h_j; w_ij ← w_ij + η δ_j x_i (biases likewise).
- Repeat for all training patterns (epochs) until the total error ½ Σ (t − y)² is small.
Example (verified): for a 2-2-1 network, input (1,0), target 1, η = 0.5, one update raises the output from 0.7157 to 0.7267.
Perceptron
A perceptron (Rosenblatt) is a single neuron with a step activation: y = 1 if Σ wᵢxᵢ + b > 0, else 0.
x1 --w1-->\
x2 --w2--->( Σ + b )--> step --> y
Learning rule: w_i ← w_i + η (t − y) x_i, b ← b + η (t − y). It converges for linearly separable problems (AND, OR) but cannot learn XOR, which needs a hidden layer trained by back-propagation.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Neural network; back-propagation · Artificial Intelligence, chapter 6
- Role of perceptron in neural network · Artificial Intelligence, chapter 6 · asked 2×
- Perceptron; neural network as OR gate · Artificial Intelligence, chapter 6 · asked 2×
- Perceptron; neural network as XOR gate · Artificial Intelligence, chapter 6 · asked 2×
- Neural network; supervised vs unsupervised · Artificial Intelligence, chapter 6
- Back propagation algorithm · Artificial Intelligence, chapter 6 · asked 3×
- Short note: Neural network, perceptron rule · Data Mining, chapter 3
- ANN and back propagation · Data Mining, chapter 3