How unit 1 is examined
This unit covers the biological neuron and its artificial models, from the McCulloch-Pitts unit to the perceptron, feed-forward networks and backpropagation. Marks sit in the biological neuron, deep learning basics (ML vs DL, types), the neural network note and McCulloch-Pitts.
Biological Neuron
Medium weight
Definition. Deep Learning is a subset of machine learning that uses multi-layer (deep) neural networks to learn hierarchical features automatically from raw data. A biological neuron is the basic nerve cell of the brain that receives, integrates and transmits electrical signals.
Diagram.
Key points.
- Dendrites are branched fibres that receive signals from other neurons and carry them to the cell body (input reception).
- The soma (cell body) contains the nucleus and sums up the incoming signals (integration).
- If the summed signal crosses a threshold, the neuron fires an electrical impulse (activation).
- The axon is a long fibre that carries the impulse away from the soma, and the myelin sheath around it insulates it and speeds up conduction.
- Synaptic terminals at the axon end pass the signal to the next neuron's dendrites through chemical messengers (output transmission).
- Mapping to the artificial neuron: dendrites are inputs, synapse strength is the weight, soma is the summation plus activation, and axon is the output.
Biological vs artificial neural network.
| Aspect | Biological | Artificial |
|---|---|---|
| Unit | Neuron with dendrites, soma, axon | Node with inputs, weights, activation |
| Speed | Slow (milliseconds), massively parallel | Very fast, but largely sequential |
| Learning | Synaptic plasticity, few examples | Gradient descent, needs large data |
| Energy | About 20 W for the whole brain | Hundreds of watts for large models |
| Robustness | Graceful, generalises to new situations | Brittle outside training data |
| Size | About 86 billion neurons | Millions to billions of parameters |
Limitations of current deep learning against the brain: it needs huge labelled data, it has weak common-sense reasoning, it transfers poorly to new tasks, it is a black box, and it consumes far more energy.
Answer frame. Open with the definition of deep learning; draw the labelled neuron; develop points 1-5 then map to the artificial neuron (point 6); close with "the artificial neuron is a simplified model of this cell". For the comparison, use the table and end with the limitations line.
Asked: [8 marks] (May 2023) What is Deep Learning? Discuss the structure and units of Biological Neuron. Asked: [7 marks] (Jun 2025) Compare biological neural networks with artificial neural networks. What are the limitations of current deep learning models compared to the human brain?
Idea of computational units
Low weight
Definition. A neural network is a computational model of interconnected artificial neurons (computational units) that learns a mapping from input to output by adjusting weights.
Key points.
- Each unit computes a weighted sum of its inputs plus a bias, $z=\sum w_ix_i+b$, and passes it through an activation function, $y=f(z)$.
- Units are arranged in an input layer, one or more hidden layers and an output layer.
- Main types are feed-forward (data flows one way), recurrent (loops for sequences) and convolutional (for images).
- Applications include image recognition, speech recognition, translation and forecasting.
Machine Learning vs Deep Learning.
| Aspect | Machine Learning | Deep Learning |
|---|---|---|
| Features | Hand-crafted by engineers | Learned automatically, layer by layer |
| Data needed | Works with small data | Needs very large data |
| Hardware | CPU is enough | GPU/TPU needed |
| Interpretability | Easier to explain | Black box |
| Performance | Plateaus with more data | Keeps improving with data |
| Examples | Spam filter, decision trees | Image recognition, speech, translation |
Types of Deep Learning. CNN (convolutional networks) for images and video; RNN/LSTM (recurrent) for sequences, text and speech; autoencoders (compress and reconstruct data) for denoising and anomaly detection; GANs (generator versus discriminator) for generating realistic images; plus deep belief networks and transformers.
Answer frame. Open with the definition; list the components (weights, bias, activation), then types and applications; for ML vs DL draw the table and close with when to use each; for types, give one line each on characteristic and application.
Asked: [5 marks] (May 2023) Write a short note on neural network. Asked: [6 marks] (May 2023) Explain the difference between Machine Learning and Deep Learning. Asked: [8 marks] (May 2024) What do you understand by deep learning? Explain the different types of Deep Learning.
McCulloch-Pitts Neural Model
Low weight
Definition. A neuron is the basic processing unit of a neural network. The McCulloch-Pitts (1943) model is a binary threshold neuron: it sums binary inputs and outputs 1 if the sum reaches a threshold $\theta$, otherwise 0.
Diagram.
Formula.
$$y=\begin{cases}1 & \sum_i w_ix_i \ge \theta\\ 0 & \text{otherwise}\end{cases}$$
Key points.
- Inputs and output are binary (0 or 1), and weights are fixed, not learned.
- Excitatory inputs have weight +1, and one active inhibitory input forces the output to 0.
- With $w=(1,1)$: $\theta=2$ gives AND (outputs 0,0,0,1) and $\theta=1$ gives OR (outputs 0,1,1,1); NOT uses weight $-1$ with $\theta=0$.
- Capability: it can build any Boolean function by combining gates.
- Limitation: no learning, no real-valued inputs, and a single unit cannot solve XOR.
Answer frame. Open with defining neuron, then the model; draw the diagram and formula; show AND/OR example; close with limitations.
Asked: [9 marks] (May 2024) Define Neuron. Explain McCulloch-Pitts Neural Model in detail.
Linear Perceptron
Not asked since 2022
Definition. ==A perceptron (Rosenblatt, 1958) is a single-layer neuron that computes a weighted sum plus bias and applies a step function: $y=1$ if $\mathbf{w}\cdot\mathbf{x}+b>0$, else 0.==
Key points.
- Unlike McCulloch-Pitts, its weights are learnable and inputs can be real numbers.
- It is a linear classifier: the boundary $\mathbf{w}\cdot\mathbf{x}+b=0$ is a straight line or hyperplane.
- It solves only linearly separable problems (AND, OR) and fails on XOR.
Perceptron Learning
Not asked since 2022
Definition. The perceptron learning rule corrects the weights after each error: $w_i \leftarrow w_i+\eta\,(t-y)\,x_i$ and $b \leftarrow b+\eta\,(t-y)$.
Key points.
- Here $t$ is the target, $y$ the output and $\eta$ the learning rate; no change is made when the output is correct.
- Example: $w=(0,0)$, $b=0$, $\eta=1$, input $(1,1)$, target 1 gives $y=0$, so the new $w=(1,1)$, $b=1$.
- The rule converges in finite steps if the data are linearly separable.
- It repeats over the training set until no errors remain.
Feed Forward Networks
Not asked since 2022
Definition. A feed-forward network is a neural network whose connections go only from input to output through hidden layers, with no loops.
Key points.
- Each layer computes $\mathbf{h}=f(W\mathbf{x}+\mathbf{b})$ and passes it to the next layer.
- With non-linear activations and hidden layers, it can learn non-linear functions such as XOR.
- The multilayer perceptron (MLP) is the standard example.
Back Propagation Networks
Not asked since 2022
Definition. Backpropagation is the algorithm that trains a multi-layer network by propagating the output error backwards using the chain rule to compute gradients of the loss with respect to every weight.
Key points.
- A forward pass computes the output and the loss $E$.
- A backward pass computes $\partial E/\partial w$ layer by layer using the chain rule.
- Weights are updated by gradient descent: $w \leftarrow w-\eta\,\partial E/\partial w$.
- This is repeated over many epochs until the loss is small.
Last-minute revision
- Deep learning is a subset of ML using multi-layer neural networks that learn features automatically.
- Neuron parts: dendrites (input), soma (sum), axon (output), myelin sheath (insulation), synapse (link).
- A neural unit computes $y=f(\sum w_ix_i+b)$.
- ML needs hand-made features and less data; DL learns features and needs more data and GPUs.
- Types of DL: CNN, RNN/LSTM, autoencoder, GAN.
- McCulloch-Pitts: binary threshold neuron with fixed weights; AND has $\theta=2$, OR has $\theta=1$ for weights (1,1).
- A single perceptron cannot solve XOR.
- Perceptron rule: $w\leftarrow w+\eta(t-y)x$.
- Feed-forward networks have no loops; backpropagation uses the chain rule to get gradients.
Memory hooks
- DASA: Dendrites in, Axon out, Soma sums, Axon-end synapse passes on.
- MP = "Fixed and Fire": fixed weights, fires at threshold.
- CRAG: CNN, RNN, Autoencoder, GAN.
- Forward for the answer, backward for the blame.
Coverage checklist
- Biological Neuron: Q2 (May 2023), Q4 (Jun 2025)
- Idea of computational units: Q6 (May 2023), plus Q5 (May 2023) and Q3 (May 2024)
- McCulloch-Pitts Neural Model: Q1 (May 2024)
- Linear Perceptron: no past questions
- Perceptron Learning: no past questions
- Feed Forward Networks: no past questions
- Back Propagation Networks: no past questions