A ResNet bottleneck block maps 256 channels to 256 channels via a 1×1 conv (to 64), a 3×3 conv (at 64) and a 1×1 conv (to 256), ignoring biases. How many parameters and MACs per spatial position does it use compared with a basic block of two 3×3 convs at 256 channels, and how does the same 1×1 idea cut the cost of a 5×5 Inception branch (192→32 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 1×1 bottlenecks decouple channel mixing from spatial filtering in ResNet and Inception.

Key idea

A k×k convolution scales quadratically with channel width (k2C2). Compressing channels by 4× with a 1×1 layer before the 3×3 or 5×5 spatial filter cuts parameters and MACs per pixel by roughly an order of magnitude.

Steps

  1. ResNet basic block (two 3×3 convs at C=256, stride 1): parameters (equal to MACs per spatial position) =2×(3×3×256×256)=2×589,824=1,179,648.
  2. ResNet bottleneck block (1×1 256→64, 3×3 64→64, 1×1 64→256): parameters =(256×64)+(9×64×64)+(64×256)=16,384+36,864+16,384=69,632.
  3. Compare ResNet blocks: the bottleneck uses 1,179,648/69,632≈16.94× fewer parameters and MACs per spatial position, trading two 3×3 spatial layers (a 5×5 receptive field) for one 3×3 spatial layer (a 3×3 receptive field) wrapped in two 1×1 projections so deeper ResNets stay cheap.
  4. Inception 5×5 branch (192→32 channels): direct 5×5 costs 25×192×32=153,600 parameters/MACs per pixel; with a 1×1 reduction to 16 channels first, it costs (192×16)+(25×16×32)=3,072+12,800=15,872, a 9.68× reduction.

Common mistakes

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 n, kernel k, stride s and padding p), and why does it often create checkerboard artefacts when k is not divisible by s?
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 l (with initial channels k0 and growth rate k), and what is the trade-off between parameter efficiency and GPU memory?