# EfficientNet

EfficientNet 是一族用于图像分类的卷积神经网络架构，它在单一复合系数的统辖下同时缩放网络的深度、宽度和输入分辨率，从而提升单位计算量下的准确率——此前的网络一次只缩放一个维度。该架构由谭明星（Mingxing Tan）与黎国光（Quoc V. Le）于 2019 年报道，它将一个神经架构搜索基线（EfficientNet-B0）与一条缩放规则相结合，由此生成 B1 至 B7。<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup><sup> • </sup><sup>[2](https://research.google/blog/efficientnet-improving-accuracy-and-efficiency-through-automl-and-model-scaling/)</sup> EfficientNet-B0 以 530 万参数和 3.9 亿 FLOPs 达到 ResNet-50 的 ImageNet 准确率，而 ResNet-50 需要 2600 万参数和 41 亿 FLOPs。<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup>

| 关键事实 | 数值 |
|---|---|
| 复合缩放规则 | \( d = \alpha^{\phi} \), \( w = \beta^{\phi} \), \( r = \gamma^{\phi} \)，且 \( \alpha \cdot \beta^{2} \cdot \gamma^{2} \approx 2 \)<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup> |
| B0 系数 | \( \alpha = 1.2 \), \( \beta = 1.1 \), \( \gamma = 1.15 \)<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup> |
| B0 准确率与规模 | ImageNet top-1 77.1% / top-5 93.3%，530 万参数，3.9 亿 FLOPs<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup> |
| B7 准确率与规模 | top-1 84.4% / top-5 97.1%（后文表格中为 84.3%），6600 万参数，370 亿 FLOPs<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup><sup> • </sup><sup>[3](https://www.nature.com/articles/s41598-025-04479-2/tables/1)</sup> |
| 相对单轴缩放的增益 | 相比常规缩放，MobileNet 上 ImageNet 准确率 +1.4%，ResNet 上 +0.7%<sup>[2](https://research.google/blog/efficientnet-improving-accuracy-and-efficiency-through-automl-and-model-scaling/)</sup> |
| EfficientNetV2-M 对比 B7 | 准确率相当（top-1 85.1% 对 85.0%），参数少 17%，FLOPs 少 37%，训练速度约快 4.2 倍<sup>[4](https://doi.org/10.48550/arxiv.2104.00298)</sup> |
| GPU 计算效率 | 尽管每 MAC 的准确率领先，在 NVIDIA A5000 上仅达到理想性能的 5–8%<sup>[5](https://arxiv.org/pdf/2404.03617)</sup> |

## 工作原理

复合缩放回答了一个此前网络悬而未决的问题：给定计算预算，网络在深度、宽度和输入分辨率上各应增长多少？MobileNet 曾提供彼此独立的单维度调节旋钮——一个宽度乘数可将成本大致降至原来的 \( \alpha^{2} \) 倍，一个分辨率乘数可将成本降至原来的 \( \rho^{2} \) 倍<sup>[6](https://doi.org/10.48550/arxiv.1704.04861)</sup>——但实践者必须分别调校它们。EfficientNet 将三者系于同一个系数 \( \phi \)<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup>：

\[ d = \alpha^{\phi}, \quad w = \beta^{\phi}, \quad r = \gamma^{\phi}, \quad \text{s.t.} \quad \alpha \cdot \beta^{2} \cdot \gamma^{2} \approx 2 \]

该约束使总 FLOPs 大致按 \( 2^{\phi} \) 增长，因为深度翻倍会使 FLOPs 翻倍，而宽度或分辨率翻倍会使 FLOPs 增至约四倍。<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup> 系数来自在固定资源约束（例如 FLOPs 增至 2 倍）下对基线网络所做的小规模网格搜索；对 B0，搜索得到 \( \alpha = 1.2 \)、\( \beta = 1.1 \)、\( \gamma = 1.15 \)，固定这些系数并改变 \( \phi \) 即得到 B1 至 B7。<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup><sup> • </sup><sup>[2](https://research.google/blog/efficientnet-improving-accuracy-and-efficiency-through-automl-and-model-scaling/)</sup>

该规则可测量地优于单轴缩放。应用于 ResNet-50 时，复合缩放将 top-1 准确率从 76.0%（41 亿 FLOPs）提升至 167 亿 FLOPs 下的 78.8%，而仅缩放深度在 162 亿 FLOPs 下为 78.1%；在 MobileNetV1 上，它在 23 亿 FLOPs 下达到 75.6%，而仅缩放宽度在 22 亿 FLOPs 下为 74.2%。<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup>

## 实现方法

构建一个 EfficientNet 分两个阶段。首先，B0 基线通过在 MnasNet 搜索空间中进行多目标神经架构搜索得到，优化目标为 \( \mathrm{ACC}(m) \times [\mathrm{FLOPS}(m)/T]^{w} \)，其中 \( w = -0.07 \)，目标为 4 亿 FLOPs。<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup> 主要构建模块是移动倒残差瓶颈（MBConv），这是一种倒残差块，其中 1x1 卷积在 3x3 卷积之前扩张通道维度，并加入了压缩-激励通道注意力。<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup>

其次，将网格搜索得到的系数应用于递增的 \( \phi \) 以生成 B1–B7。训练使用 [RMSProp](https://www.edgepedia.org/zh/rmsprop)，衰减 0.9、动量 0.9，批归一化动量 0.99，权重衰减 1e-5，初始学习率 0.256 且每 2.4 个训练轮次衰减为原来的 0.97 倍，AutoAugment，生存概率 0.8 的随机深度，以及从 0.2（B0）线性增至 0.5（B7）的 dropout。<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup> Keras 与 TorchVision 均提供该系列；Keras 在内部应用宽度与深度系数（B7：600px 下 2.0/3.1，dropout 0.5）并将输入重缩放纳入模型，而 TorchVision 提供 B0–B7 以及 EfficientNetV2 S/M/L 及预训练权重。<sup>[7](https://github.com/tensorflow/tensorflow/blob/v2.5.0/tensorflow/python/keras/applications/efficientnet.py)</sup><sup> • </sup><sup>[8](https://docs.pytorch.org/vision/main/models/efficientnet.html)</sup>

## 起源

EfficientNet 汇集了若干早期组件。MnasNet 贡献了延迟感知搜索空间与用于寻找 B0 的 AutoML MNAS 框架。<sup>[9](https://arxiv.org/abs/1807.11626)</sup><sup> • </sup><sup>[2](https://research.google/blog/efficientnet-improving-accuracy-and-efficiency-through-automl-and-model-scaling/)</sup> 压缩-激励块通过对通道间相互依赖关系建模来自适应地重新校准通道维特征响应，它来自 Hu、Shen、Albanie、Sun 与 Wu，其 SE 网络以 2.251% 的 top-5 错误率赢得 ILSVRC 2017 分类任务。<sup>[10](https://doi.org/10.1109/tpami.2019.2913372)</sup> MBConv 块本身最初为 MobileNetV2 开发，是面向小型移动设备的内存高效块，而 MobileNet 的深度可分离卷积与宽度/分辨率乘数提供了被复合缩放统一的单维度调节旋钮。<sup>[5](https://arxiv.org/pdf/2404.03617)</sup><sup> • </sup><sup>[6](https://doi.org/10.48550/arxiv.1704.04861)</sup> 训练中使用的随机深度是 Huang、Sun、Liu、Sedra 与 Weinberger 提出的一种较早的正则化技术。<sup>[11](https://doi.org/10.48550/arxiv.1603.09382)</sup> B7 的结果是对照 [GPipe](https://www.edgepedia.org/zh/gpipe) 报道的，后者是一种流水线并行方法，曾创下此前的准确率基准。<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup><sup> • </sup><sup>[12](https://doi.org/10.48550/arxiv.1811.06965)</sup>

## 变体

核心阶梯从 B0 到 B7。一份 2025 年经同行评审的表格列出 B0–B7 的 top-1 准确率分别为 77.1%、79.1%、80.1%、81.6%、82.9%、83.6%、84.0% 和 84.3%，参数从 530 万到 6600 万，FLOPs 从 3.9 亿到 370 亿。<sup>[3](https://www.nature.com/articles/s41598-025-04479-2/tables/1)</sup> 原始论文给出 B7 的 top-1 为 84.4%。<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup>

论文之后的训练配方进一步提升准确率：AutoAugment 使 B7 达到 84.3%，RandAugment 84.7%，AdvProp+AA 85.2%（B8 为 85.5%），NoisyStudent+RA 达到 top-1 86.9%，而 L2-475 与 EfficientNet-L2 利用额外的 JFT-300M 无标签数据分别达到 88.2% 和 88.4%。<sup>[13](https://github.com/tensorflow/tpu/blob/master/models/official/efficientnet/README.md)</sup> EfficientNet-Lite（2020）去掉了压缩-激励（部分移动加速器对其支持不佳），并将 swish 替换为 RELU6 以便于训练后量化；lite0 有 470 万参数，FP32 准确率 75.1%，INT8 准确率 74.4%，每个检查点均附带 FP32 与 INT8 的 TFLite 文件。<sup>[14](https://github.com/tensorflow/tpu/blob/master/models/official/efficientnet/lite/README.md)</sup>

EfficientNetV2 由谭明星与黎国光于 2021 年报道，它在富含 Fused-MBConv 算子的搜索空间上使用训练感知 NAS——Fused-MBConv 用单个常规 3×3 卷积取代 MBConv 的逐通道 3×3 卷积与用于扩张通道的 1×1 卷积——并采用渐进学习，即在每个约 87 个训练轮次的四个训练阶段中使正则化随图像尺寸自适应。<sup>[4](https://doi.org/10.48550/arxiv.2104.00298)</sup> EfficientNetV2-M 在准确率与 B7 相当的同时，训练速度约快 4.2 倍（13 小时对 54 小时），参数少 17%，FLOPs 少 37%。<sup>[4](https://doi.org/10.48550/arxiv.2104.00298)</sup>

## 应用

EfficientNet 迁移效果好：它们在 8 个迁移数据集中的 5 个上取得当时最优准确率，包括 CIFAR-100（91.7%）和 Flowers（98.8%），参数最少仅为对比模型的 1/21。<sup>[2](https://research.google/blog/efficientnet-improving-accuracy-and-efficiency-through-automl-and-model-scaling/)</sup> 一项 2024 年的轻量骨干网络基准推荐在包括遥感、植物和医学（组织病理学）数据集在内的多样领域微调时使用 EfficientNet 与 RegNet，并指出在低数据情形下，EfficientNet 这类纯 CNN 骨干优于 Swin 等 Transformer。<sup>[15](https://arxiv.org/pdf/2406.05612)</sup> EfficientNet-Lite 通过 INT8 TFLite 文件服务于边缘部署。<sup>[14](https://github.com/tensorflow/tpu/blob/master/models/official/efficientnet/lite/README.md)</sup> 与 2019 年之前的最优结果相比，B7 的 top-1 84.4% 在参数仅为 GPipe 的 1/8.4、CPU 推理快 6.1 倍（3.1 秒对 19.0 秒）的情况下取得，而 B1 以更高准确率运行速度比 ResNet-152 快 5.7 倍（0.098 秒下 78.8% 对 0.554 秒下 77.8%）。<sup>[1](https://doi.org/10.48550/arxiv.1905.11946)</sup> EfficientNetV2-L 达到 top-1 85.7%，超过 ViT-L/16(21k)，经 ImageNet-21k 预训练后该系列达到 top-1 87.3%，比对照的 ViT 高 2.0%，同时训练速度快 5–11 倍。<sup>[4](https://doi.org/10.48550/arxiv.2104.00298)</sup>

## 局限与替代方案

低 FLOPs 并不意味着低延迟。在配备 PyTorch Inductor 的 NVIDIA A5000 GPU 上实测，EfficientNet 的计算效率——实际性能与理想性能之比——仅为 5% 至 8%，在实践中，它在有可用推理引擎的 GPU 上运行得比许多更老的模型还慢，因为逐通道卷积的运算强度低且早期阶段通道数少。<sup>[5](https://arxiv.org/pdf/2404.03617)</sup> EfficientNet-X 改版在准确率相当的情况下，在 TPUv3 和 GPUv100 上比 EfficientNet 快 2 倍以上，而延迟感知复合缩放（LACS）发现深度应比图像尺寸和宽度增长得快得多，这与原始仅考虑准确率的缩放不同，在 TPU 和 GPU 上分别带来 14% 和 25% 的平均加速。<sup>[16](https://ar5iv.labs.arxiv.org/html/2102.05610)</sup> Google 自己的后续工作列出三个训练瓶颈：极大的图像尺寸通过内存占用拖慢加速器，逐通道卷积对硬件利用不佳，以及对每个阶段统一缩放并非最优。<sup>[4](https://doi.org/10.48550/arxiv.2104.00298)</sup>

部署与迁移还有更多注意事项。EfficientNet 的专用算子（深度可分离卷积、压缩-激励）在 MCU/NPU 硬件上往往不受支持或效率低下，且该模型常被排除在超低位量化基准之外，因为其各层通常需要量化感知训练才能恢复准确率。<sup>[17](https://arxiv.org/pdf/2601.05364)</sup> 高预训练准确率并不能预测微调结果：EfficientNetV2-S 在受测骨干中预训练 ImageNet-1k 准确率最高（84.23%），却在所有评估领域中均未排名第一。<sup>[15](https://arxiv.org/pdf/2406.05612)</sup>

更新的架构是主要替代方案。ConvNeXt 是一个现代化的纯 ConvNet 系列，在准确率-计算权衡上与 EfficientNet 竞争有利，且在两者均使用 ImageNet-22K 预训练时优于 EfficientNetV2，ConvNeXt-XL 达到 top-1 87.8%。<sup>[18](https://arxiv.org/pdf/2201.03545)</sup> 在一项 2025–2026 年的受控基准中，EfficientNetV2-S 在 CIFAR-10（97.57%）和 CIFAR-100（86.98%）上录得最高 top-1，RepViT-M1.0 在 Tiny ImageNet（79.87%）上领先，而 B0 在六个资源维度上均位于每条双变量准确率-资源帕累托前沿上，尽管其参数比 V2-S 少约 79%、GMACs 少 86%。<sup>[19](https://arxiv.org/pdf/2607.01984.pdf)</sup> 与 DenseNet、MobileNetV3 和 RegNet 在同等计算量下的直接对比数据，以及 2023 年后 ONNX 采用的具体情况，已发表的比较尚未涵盖。

## References

1. [Tan, Mingxing, Le, Quoc V. (2019). EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1905.11946)
2. [EfficientNet: Improving Accuracy and Efficiency through AutoML and Model Scaling](https://research.google/blog/efficientnet-improving-accuracy-and-efficiency-through-automl-and-model-scaling/)
3. [Table 1: Performance results on ImageNet for EfficientNet variants (Scientific Reports, 2025)](https://www.nature.com/articles/s41598-025-04479-2/tables/1)
4. [Tan, Mingxing, Le, Quoc V. (2021). EfficientNetV2: Smaller Models and Faster Training. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2104.00298)
5. [ConvFirst: A hardware-aware analysis of convolutional block efficiency (EfficientNet computational-efficiency critique)](https://arxiv.org/pdf/2404.03617)
6. [Howard, Andrew G. and colleagues (2017). MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1704.04861)
7. [Keras Applications EfficientNet source (TensorFlow v2.5.0)](https://github.com/tensorflow/tensorflow/blob/v2.5.0/tensorflow/python/keras/applications/efficientnet.py)
8. [EfficientNet, TorchVision main documentation](https://docs.pytorch.org/vision/main/models/efficientnet.html)
9. [MnasNet: Platform-Aware Neural Architecture Search for Mobile](https://arxiv.org/abs/1807.11626)
10. [Jie Hu and colleagues (2019). Squeeze-and-Excitation Networks. IEEE Transactions on Pattern Analysis and Machine Intelligence.](https://doi.org/10.1109/tpami.2019.2913372)
11. [Huang, Gao and colleagues (2016). Deep Networks with Stochastic Depth. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1603.09382)
12. [Huang, Yanping and colleagues (2018). GPipe: Efficient Training of Giant Neural Networks using Pipeline Parallelism. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1811.06965)
13. [Official EfficientNet README (tensorflow/tpu)](https://github.com/tensorflow/tpu/blob/master/models/official/efficientnet/README.md)
14. [EfficientNet-Lite README (tensorflow/tpu)](https://github.com/tensorflow/tpu/blob/master/models/official/efficientnet/lite/README.md)
15. [Benchmark study of lightweight CNN backbones for fine-tuning across image domains](https://arxiv.org/pdf/2406.05612)
16. [Searching for Fast Model Families on Datacenter Accelerators (EfficientNet-X)](https://ar5iv.labs.arxiv.org/html/2102.05610)
17. [CompressNAS / STResNet: ultra-compact models for MCU and NPU deployment](https://arxiv.org/pdf/2601.05364)
18. [A ConvNet for the 2020s (ConvNeXt)](https://arxiv.org/pdf/2201.03545)
19. [Do Newer Lightweight CNNs Perform Better Under Resource Constraints? A Controlled Multigenerational Study](https://arxiv.org/pdf/2607.01984.pdf)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026 · Last review: Sep 30, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Neural networks and deep learning › Titles A to H

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/efficientnet

English original: https://www.edgepedia.org/efficientnet
