A ResNet bottleneck block maps 256 channels to 256 channels via a conv (to 64), a conv (at 64) and a conv (to 256), ignoring biases. How many parameters and MACs per spatial position does it use compared with a basic block of two convs at 256 channels, and how does the same idea cut the cost of a Inception branch ( channels via 16 bottleneck channels)?
Deep learning, Classic architectures
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can quantify how bottlenecks decouple channel mixing from spatial filtering in ResNet and Inception.
Key idea
A convolution scales quadratically with channel width (). Compressing channels by with a layer before the or spatial filter cuts parameters and MACs per pixel by roughly an order of magnitude.
Steps
- ResNet basic block (two convs at , stride 1): parameters (equal to MACs per spatial position) .
- ResNet bottleneck block ( , , ): parameters .
- Compare ResNet blocks: the bottleneck uses fewer parameters and MACs per spatial position, trading two spatial layers (a receptive field) for one spatial layer (a receptive field) wrapped in two projections so deeper ResNets stay cheap.
- Inception branch ( channels): direct costs parameters/MACs per pixel; with a reduction to channels first, it costs , a reduction.
Common mistakes
- Counting only the middle layer of the bottleneck and omitting the two projection layers.
- Assuming both ResNet blocks have the same receptive field; two convs see , whereas one bottleneck has only one spatial layer (so it sees ).
How long your answer should be
Half a page; 3–4 minutes.
Last checked on 4 December 2026.
Read this
Previous in Deep learning: How does a transposed convolution upsample a feature map (give its output size formula for input size , kernel , stride and padding ), and why does it often create checkerboard artefacts when is not divisible by ?
Next in Deep learning: How does a DenseNet block differ from a ResNet block in how earlier features are combined, what is the channel count entering layer (with initial channels and growth rate ), and what is the trade-off between parameter efficiency and GPU memory?