Developer(s) | Google AI |
---|---|
Initial release | May 2019 |
Repository | github |
Written in | Python |
License | Apache License 2.0 |
Website | Google AI Blog |
EfficientNet is a family of convolutional neural networks (CNNs) for computer vision published by researchers at Google AI in 2019. Its key innovation is compound scaling, which uniformly scales all dimensions of depth, width, and resolution using a single parameter.
EfficientNet models have been adopted in various computer vision tasks, including image classification, object detection, and segmentation.
Compound scaling
EfficientNet introduces compound scaling, which, instead of scaling one dimension of the network at a time, such as depth (number of layers), width (number of channels), or resolution (input image size), uses a compound coefficient to scale all three dimensions simultaneously. Specifically, given a baseline network, the depth, width, and resolution are scaled according to the following equations:subject to and . The condition is such that increasing by a factor of would increase the total FLOPs of running the network on an image approximately times. The hyperparameters , , and are determined by a small grid search. The original paper suggested 1.2, 1.1, and 1.15, respectively.
Architecturally, they optimized the choice of modules by neural architecture search (NAS), and found that the inverted bottleneck convolution (which they called MBConv) used in MobileNet worked well.
The EfficientNet family is a stack of MBConv layers, with shapes determined by the compound scaling. The original publication consisted of 8 models, from EfficientNet-B0 to EfficientNet-B7, with increasing model size and accuracy. EfficientNet-B0 is the baseline network, and subsequent models are obtained by scaling the baseline network by increasing .
Variants
EfficientNet has been adapted for fast inference on edge TPUs and centralized TPU or GPU clusters by NAS.
EfficientNet V2 was published in June 2021. The architecture was improved by further NAS search with more types of convolutional layers. It also introduced a training method, which progressively increases image size during training, and uses regularization techniques like dropout, RandAugment, and Mixup. The authors claim this approach mitigates accuracy drops often associated with progressive resizing.
See also
References
- ^ Tan, Mingxing; Le, Quoc V. (2020-09-11), EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks, arXiv:1905.11946
- "EfficientNet-EdgeTPU: Creating Accelerator-Optimized Neural Networks with AutoML". research.google. August 6, 2019. Retrieved 2024-10-18.
- Li, Sheng; Tan, Mingxing; Pang, Ruoming; Li, Andrew; Cheng, Liqun; Le, Quoc; Jouppi, Norman P. (2021-02-10), Searching for Fast Model Families on Datacenter Accelerators, arXiv:2102.05610
- Tan, Mingxing; Le, Quoc V. (2021-06-23), EfficientNetV2: Smaller Models and Faster Training, arXiv:2104.00298
- Cubuk, Ekin D.; Zoph, Barret; Shlens, Jonathon; Le, Quoc V. (2020). "Randaugment: Practical Automated Data Augmentation With a Reduced Search Space": 702–703. arXiv:1909.13719.
{{cite journal}}
: Cite journal requires|journal=
(help) - Zhang, Hongyi; Cisse, Moustapha; Dauphin, Yann N.; Lopez-Paz, David (2018-04-27), mixup: Beyond Empirical Risk Minimization, arXiv:1710.09412
External links
Google AI | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Computer programs |
| ||||||||||
Machine learning |
| ||||||||||
Generative AI |
| ||||||||||
See also | |||||||||||
Differentiable computing | |
---|---|
General | |
Hardware | |
Software libraries | |