The same budget, two shapes
shape▲△△Audit two classifiers on the same task: widths from I.5.B03, and widths . Give the parameter count of each, say which is larger and by how much, and then answer the question that matters — which layer would you shrink first, in each.
Hint
Use (I.5.2) and keep the layers separate. Predict the answer before computing; the deep model has three times the layers.
Solution
The deep model. From I.5.B03: .
The wide model.
The wide model is times larger with a third of the layers. The prediction most people make is the opposite one, and the reason it fails is that depth appears in (I.5.2) as a sum while width appears as a product. Three extra layers add three terms; one width of instead of multiplies the largest term by four.
Which layer to shrink. In both, the first. It holds of the deep model and of the wide one, and in neither case is that because the layer is doing more work — it is because it faces inputs.
The lesson generalises. For any MLP on wide input, the parameter count is approximately , and every other decision is noise against it. This is why an image model does not begin with a dense layer, why a language model’s embedding table is discussed separately from its blocks, and why quoting depth as a proxy for size is unreliable.