1 / 13
THE SCENARIO

The First Layer That Never Learns

You build a 30-layer network and start training. The loss drops a little, then stalls.

You investigate, and find something odd. The last few layers are updating normally. The first few layers have barely changed since the moment you initialised them at random.

Nothing has crashed. No error is printed. The early layers are simply not receiving a usable signal.

The cause is not a bug in your code. It is a direct consequence of the chain rule you learned in the differentiation chapter — and it held deep learning back for years.

A deep stack of layers, with the signal fading at one end.

A deep stack of layers, with the signal fading at one end.