The Smallest Eight Percent

Deep Learning in the Real WorldMedium+20 XP+20

The Smallest Eight Percent

A small classifier has three fully connected layers, mapping 80 input features to 65, then to 64, then to the 10 class scores. So the layers hold 80×65=5,20080 \times 65 = 5{,}20080×65=5,200, then 65×64=4,16065 \times 64 = 4{,}16065×64=4,160, then 64×10=64064 \times 10 = 64064×10=640 weights. After training, the team checks the magnitude of every weight:

layernumber of weightsevery weight's magnitude lies between
layer 15,2005{,}2005,2000.050.050.05 and 0.900.900.90
layer 24,1604{,}1604,1600.040.040.04 and 0.600.600.60
layer 3 (the 10 class scores)6406406400.0020.0020.002 and 0.0300.0300.030

Layer 3 receives much larger activations than the other layers do, so its weights settled at a smaller scale.

The team prunes with one rule for the whole network: delete the 8% of weights with the smallest magnitudes, wherever they are, then retrain briefly. Deleted weights stay deleted during the retrain; everything else, including every layer's biases, is free to change.

What does the network do after pruning and the brief retrain?

Hints

Solve it to unlock the solution

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

Select all that apply.