Final Exam — Batch Norm vs Vanishing Gradients

Answer every question, then click Submit at the bottom. Each question is worth equal weight.

Passing score: 70/100. No state is saved — you can retry as many times as you like.

1. [Module 0] A gradient passes backward through a single sigmoid neuron that happens to be at its steepest possible operating point. By what factor is the gradient scaled?

2. [Module 0] On a balanced binary task, a training-loss curve that flatlines at a specific value tells you the network has learned nothing at all. What is that value, to three decimal places?

3. [Module 0] The network predicts p = 0.9 for an example whose true label is y = 1. What gradient does the loss send to the output logit, and what does its size mean?

4. [Module 1] True or false: the plain network and the batch-norm network in this workshop start from different random weights, so some of the accuracy gap could be initialization luck.

5. [Module 1] A single 16-neuron hidden layer would solve two moons easily. Why does the workshop use four 4-neuron layers instead?

6. [Module 2] For the plain 4-layer network at initialization, roughly what fraction of the backward signal survives each layer crossing, as measured?

7. [Module 2] At initialization, the plain 4-layer network’s first hidden layer receives weight gradients how much smaller than its output layer’s?

8. [Module 2] The plain network’s measured mean sigmoid slopes at initialization are 0.23–0.25. What does this measurement rule out as the cause of its vanishing gradients?

9. [Module 2] The per-layer factor that strangles the plain network is a product of exactly two ingredients. Which pair?

10. [Module 3] A colleague’s deep sigmoid classifier sits at loss 0.693 for 300 epochs. Per this workshop, what is the best first action?

11. [Module 3] True or false: since lr = 5 rescued the plain 4-layer network, a large enough learning rate also rescued the plain 8-layer network in this workshop’s measurements.

12. [Module 3] At lr = 50 the plain network’s final training loss is 5.70 — far above the 0.693 plateau. What happened?

13. [Module 4] Comparing measured mean sigmoid slopes at identical weights: what did adding batch norm do to them, and why does it matter?

14. [Module 4] Mechanically, how does batch norm restore the backward signal?

15. [Module 4] BN standardizes to mean 0, spread 1 — then immediately lets learned γ, β re-scale and re-shift. What did the trained network’s γ = 4.70 on one neuron demonstrate?

16. [Module 5] Which property of ReLU attacks the vanishing-gradient factor?

17. [Module 5] A deployed BN model aces offline evaluation (one large batch) but gives erratic, batch-size-dependent predictions on live traffic arriving in ones and twos. What is the diagnosis?