TL;DR
EfficientNetV2 is a new family of convolutional networks that optimizes for training speed and parameter efficiency simultaneously. By combining training-aware neural architecture search (NAS) with a novel "progressive learning" strategy that adaptively scales regularization with image size, these models achieve state-of-the-art accuracy while training up to 11x faster and being up to 6.8x smaller than previous models.
What Problem Does This Paper Address?
As deep learning models and datasets grow, training efficiency has become a critical bottleneck. While the original EfficientNet (V1) was a breakthrough in parameter and FLOP efficiency, the authors identified several "training bottlenecks" that hindered its speed on modern hardware:
- Slow Depthwise Convolutions: While theoretically efficient, depthwise convolutions often fail to fully utilize modern accelerators (GPUs/TPUs) in the early stages of a network.
- Large Image Sizes: Training with very large images consumes massive memory, forcing smaller batch sizes and slowing down the training process.
- Sub-optimal Scaling: Scaling every stage of a network equally (as V1 did) is not the most efficient way to increase capacity.
Methods
The authors tackle these issues through two primary innovations:
1. Training-Aware NAS and Fused-MBConv
The researchers used Neural Architecture Search (NAS) to design a new backbone, but with a twist: the reward function included training step time alongside accuracy and parameter size.
A key finding was the effectiveness of Fused-MBConv blocks. Unlike the standard MBConv which uses a depthwise 3x3 convolution followed by a 1x1 expansion, Fused-MBConv replaces these with a single regular 3x3 convolution. The NAS found that using Fused-MBConv in early stages and standard MBConv in later stages provided the best balance of speed and efficiency.
2. Improved Progressive Learning
"Progressive resizing"—starting training with small images and gradually increasing the size—is a known trick to speed up training. However, it often leads to a drop in accuracy.
The authors hypothesized that this drop occurs because the network's capacity changes with image size, but the regularization remains fixed. Their solution is Adaptive Regularization: as the image size increases during training, they also increase the strength of regularization (Dropout, RandAugment, and Mixup).
Datasets
The models were primarily developed and evaluated on:
- ImageNet ILSVRC2012: The standard benchmark with 1.28M images.
- ImageNet21k: A much larger dataset (13M images) used for pre-training.
- Transfer Learning Benchmarks: CIFAR-10, CIFAR-100, Flowers, and Cars were used to demonstrate the models' ability to generalize to new tasks.
Key Insights and Ideas
- Hardware-Awareness is Essential: FLOPs are a proxy for efficiency, but they don't always correlate with real-world training speed. Fused-MBConv has more FLOPs than MBConv but runs faster on TPUs/GPUs in early layers because it better utilizes hardware parallelism.
- The Regularization-Resolution Link: This is the "aha" moment of the paper. Small images need weak regularization to prevent underfitting, while large images need strong regularization to prevent overfitting. Scaling them together is the key to maintaining accuracy during progressive training.
- Non-Uniform Scaling: The NAS results suggested that adding more layers to later stages of the network is more efficient than scaling all stages equally.
Key Results
EfficientNetV2 sets a new Pareto frontier for accuracy vs. training speed.
- Training Speed: EfficientNetV2-M trains 11x faster than EfficientNet-B7 while achieving similar accuracy.
- Parameter Efficiency: The models are significantly smaller; for instance, EfficientNetV2-S is 6.8x smaller than the comparable NFNet-F4.
- State-of-the-Art Accuracy: When pre-trained on ImageNet21k, EfficientNetV2-L achieves 87.3% top-1 accuracy on ImageNet, outperforming the Vision Transformer (ViT-L/16) by 2.0% while training 5x-11x faster.
Limitations and Future Work
- Task Specificity: The paper focuses almost entirely on image classification. While the authors show strong transfer learning results, the performance on object detection or segmentation isn't explored.
- Search Space Constraints: The NAS still operates within a predefined space of MBConv/Fused-MBConv blocks. Exploring entirely different architectural primitives might yield further gains.
- Inference Latency: While training is much faster, the inference speedup (though still significant at ~3x) is less dramatic than the training speedup.
EfficientNetV2 proves that by co-optimizing architecture and training recipes with hardware in mind, we can build models that are not just more accurate, but significantly more practical to train and deploy.
Summary updated