EfficientNet
CNNs scaled up in depth, width and resolution together using a compound rule.
The idea
Rather than scaling only one dimension, EfficientNet grows depth, width and image resolution together by fixed ratios controlled by one coefficient φ, starting from a small baseline found by neural architecture search. It uses MBConv blocks with squeeze-and-excitation. It reached top accuracy with far fewer parameters and FLOPs.
depth = αᵠ, width = βᵠ, resolution = γᵠ
Watch it run
This is a real computation, not a drawing. Pause, step, change the settings, or try new random data.
- plain
- with skip connections
The learning signal (gradient) starts at the output and travels backwards through 20 layers. Bar height shows its size at each layer on a log scale.
- layers back:
- 0
A residual block computes x + F(x). The "+ x" is a shortcut the gradient can travel along.
Step by step
- 1Find a good small baseline network (B0) by architecture search.
- 2Choose the scaling coefficients for depth, width and resolution.
- 3Increase the single coefficient φ to get B1, B2 … B7.
- 4Use MBConv blocks with squeeze-and-excitation throughout.
Where it is used
Accurate image classification under a compute budget.
Watch out for
Depthwise convolutions are not always fast on every accelerator.