Skip to content
StackDecode
AI & ML Atlas
Deep LearningarchitectureInteractive simulation

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 deep networkWith skip connections (ResNet)out12345678910111213141516171819in
  • 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
1/7

A residual block computes x + F(x). The "+ x" is a shortcut the gradient can travel along.

Step by step

  1. 1Find a good small baseline network (B0) by architecture search.
  2. 2Choose the scaling coefficients for depth, width and resolution.
  3. 3Increase the single coefficient φ to get B1, B2 … B7.
  4. 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.

Related