EfficientNet

On this page 7

EfficientNet is a family of convolutional neural networks for image recognition that grows model capacity by scaling network depth, channel width and input resolution together with a single compound coefficient. In computer vision, it became a reference architecture because the original models from 2019 reached top ImageNet accuracy with several times fewer parameters and operations than earlier networks of similar quality.

The family runs from the compact EfficientNet-B0 to the large B7 variant, and a later EfficientNetV2 series improved training speed. Its two key ideas, a searched baseline network and principled compound scaling, still shape how practitioners in artificial intelligence trade accuracy against compute.

How compound scaling works in EfficientNet

Compound scaling increases depth, width and resolution in fixed proportions rather than enlarging one dimension alone. Earlier practice made networks deeper, as in ResNet, or wider, or fed them larger images, and each single change showed quickly diminishing returns.

EfficientNet defines depth as alpha to the power phi, width as beta to the power phi and resolution as gamma to the power phi, where phi is the compound coefficient set by the available compute budget. A small grid search on the baseline found alpha 1.2, beta 1.1 and gamma 1.15, chosen so that alpha times beta squared times gamma squared is roughly 2. Each increase of phi by one therefore roughly doubles the floating-point operations.

The table below shows how each scaling dimension affects the network.

DimensionWhat growsMain benefit
DepthNumber of layersRicher, more abstract features
WidthChannels per layerFiner-grained patterns
ResolutionInput image size in pixelsSmall details become visible
CompoundAll three in balanceBest accuracy per added operation
Scaling dimensions in EfficientNet

The baseline architecture and its building blocks

The baseline EfficientNet-B0 was found by neural architecture search that optimized both accuracy and floating-point operations. Its core building block is the MBConv block, the inverted residual bottleneck popularized by MobileNetV2, which expands channels, filters them with a cheap depthwise convolution and projects them back to a narrow representation.

Each MBConv block also contains a squeeze-and-excitation module that reweights channels using global context, and the network uses the Swish activation, also called SiLU, instead of ReLU. Training relies on stochastic depth, dropout before the classifier and strong data augmentation such as AutoAugment.

ModelInput resolutionParametersImageNet top-1 accuracy
EfficientNet-B0224 pxAbout 5.3 millionAbout 77 percent
EfficientNet-B3300 pxAbout 12 millionAbout 81 percent
EfficientNet-B5456 pxAbout 30 millionAbout 83 percent
EfficientNet-B7600 pxAbout 66 millionAbout 84 percent
Selected EfficientNet variants

Reported accuracy varies by a few tenths of a point with the training recipe and evaluation crop, so the figures above are typical published values rather than fixed constants.

EfficientNetV2 and later refinements

EfficientNetV2, introduced in 2021, targets training speed as well as parameter efficiency. Depthwise convolutions are cheap in operations but use hardware poorly in early layers, so V2 replaces them there with Fused-MBConv blocks that merge expansion and depthwise filtering into one regular convolution.

V2 also uses progressive learning, which starts training with small images and weak regularization and raises both over time. The approach shortens training substantially while keeping accuracy, and the V2-S, V2-M and V2-L models scale non-uniformly by adding more layers to later stages.

A related branch, EfficientNet-Lite, removes squeeze-and-excitation modules and replaces Swish with ReLU6 so that the models quantize cleanly to 8-bit integers and run well on mobile accelerators and microcontroller-class edge chips.

How EfficientNet compares with other vision backbones

EfficientNet sits between lightweight mobile networks and large backbones such as ResNet or the Vision Transformer. Its advantage is accuracy per parameter, while its weakness is latency on hardware that handles depthwise convolutions and large input resolutions inefficiently.

Benchmarks that count only parameters or operations tend to favor EfficientNet, whereas benchmarks of measured throughput on GPUs often favor ResNet variants or ConvNeXt. Transformers usually overtake convolutional networks only when pretraining data reaches hundreds of millions of images, so EfficientNet remains a strong choice for mid-sized datasets and constrained deployments.

ArchitectureCore designTypical strength
ResNet-50Residual blocks, regular convolutionsSimple, fast on GPUs
MobileNetV3Searched MBConv blocksVery low mobile latency
EfficientNetMBConv with compound scalingHigh accuracy per parameter
Vision TransformerSelf-attention over patchesScales well with huge datasets
ConvNeXtModernized large-kernel convolutionsStrong accuracy and throughput
EfficientNet compared with related architectures

EfficientNet also serves as the backbone of EfficientDet, an object detection family that applies the same compound scaling idea to the feature network and prediction heads.

Choosing a variant and common pitfalls

The right variant depends on target hardware and latency budget, not only on accuracy. Teams typically start from pretrained ImageNet weights and fine-tune, because training EfficientNet from scratch is sensitive to the regularization and augmentation recipe.

SituationRecommended choiceReason
Mobile or edge deviceB0 to B2 or EfficientNet-LiteSmall memory and compute footprint
Cloud classification serviceB3 to B5 or V2-SGood balance of accuracy and cost
Fine-grained or medical imagesB5 to B7 or V2-MHigh resolution preserves details
Fast training on GPUsEfficientNetV2Fused blocks and progressive learning
Decision guide for EfficientNet variants
  • Wrong input resolution at inference lowers accuracy, because each variant expects its own size.
  • Small batch sizes destabilize batch normalization during fine-tuning.
  • Low operation counts do not guarantee low latency on every accelerator.
  • Large variants need much more memory because activation maps grow with resolution.

The idea in brief

EfficientNet is a way to make image recognition models bigger in a smart way. Earlier, engineers often made a model only deeper or only wider. EfficientNet grows the model in three directions at once: more layers, more channels and sharper input images.

Imagine upgrading a team. Adding only more people, or only better tools, helps a little. Adding both, plus clearer information, helps far more. The result is high accuracy with a smaller model, which saves memory, energy and money.

A practical scenario

An agricultural technology company wants a phone application that identifies 38 plant diseases from leaf photographs taken in the field. The developers start from an ImageNet-pretrained EfficientNet-B2 at 260 pixels and fine-tune it on 54,000 labeled leaf images with flips, color jitter and random crops.

After quantization to 8-bit integers, the model occupies under 10 megabytes and classifies a photo in about 40 milliseconds on a mid-range phone, without an internet connection. Validation accuracy reaches about 96 percent. A trial with B5 adds roughly one percentage point but triples latency, so the team keeps B2 for the device and uses B5 only on a server that reviews uncertain cases.