Putting the Digit Reader on a Diet

Neural Network Building BlocksMedium+20 XP+20

Putting the Digit Reader on a Diet

A small network reads 20×2020 \times 2020×20 greyscale scans of handwritten digits and sorts each one into one of the 101010 digits. Each pixel arrives as one input value, so the input layer is 400400400 numbers wide. Every layer is fully connected to the one above it:

layersize
input400400400 pixel values
hidden layer 1646464 neurons
hidden layer 2323232 neurons
output101010 neurons

Every neuron in the hidden and output layers has one weight for each neuron (or pixel) in the layer directly below it, plus its own bias. Those weights and biases are the network's learnable parameters.

The model has to shrink to fit on a small device, and the team is weighing four changes. Each would be applied on its own to the original network. Anything a change doesn't mention stays exactly as it is.

Which single change removes the most learnable parameters?

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.