Making EfficientNet More Efficient: Exploring Batch-Independent Normalization, Group Convolutions and Reduced Resolution Training

Dominic Masters, Antoine Labatie, Zach Eaton-Rosen, Carlo Luschi

Abstract

EfficientNet models, while optimized for low floating-point operations (FLOPs), often fail to achieve high throughput on modern hardware due to low arithmetic intensity and memory-bound operations like depthwise convolutions. This paper proposes a suite of hardware-friendly modifications: generalizing depthwise convolutions to group convolutions ($G=16$), replacing Batch Normalization with a combination of Layer and Proxy Normalization (LN+PN), and employing reduced-resolution training with high-resolution fine-tuning. Evaluated on ImageNet-1K using Graphcore IPUs, these methods collectively deliver up to a 7x increase in training throughput and a 3.6x increase in inference throughput, while maintaining or exceeding the accuracy of standard EfficientNet baselines.

Introduction

In deep learning, "efficiency" is frequently equated with low FLOP counts, a metric popularized by Neural Architecture Search (NAS) results like EfficientNet. However, a significant gap exists between theoretical FLOPs and practical hardware performance. Operations with low arithmetic intensity, such as depthwise convolutions, spend disproportionate time on memory access rather than computation, leading to poor utilization of modern accelerators like GPUs and IPUs. Furthermore, the reliance on Batch Normalization (BN) introduces inter-sample dependencies that complicate small-batch training and distributed scaling. This work addresses these bottlenecks to bridge the gap between theoretical and practical efficiency.

Methodology

The authors introduce three primary algorithmic improvements designed to enhance hardware utilization without sacrificing predictive power.

1. Group Convolutions ($G=16$)

Depthwise convolutions (where group size $G=1$) are generalized to group convolutions with $G=16$. Although this increases parameter counts, it significantly boosts arithmetic intensity, allowing hardware to better leverage wide vector instructions. To maintain a FLOP count comparable to the baseline, the network's expansion ratio is slightly reduced.

2. Proxy-Normalized Activations (LN+PN)

To achieve batch independence, the authors replace BN with a hybrid of Layer Normalization (LN) and a novel Proxy Normalization (PN) technique. PN ensures that activations remain approximately zero-mean and unit-variance throughout the network without requiring statistics from other samples in the mini-batch, thus enabling efficient training even with very small batch sizes.

3. Reduced Resolution Training

Models are initially trained at approximately half the standard pixel count (e.g., 160x160). To recover and potentially improve final accuracy, a brief "fine-tuning" phase (typically 2 epochs) is conducted at the target higher resolution. This approach serves as a form of regularization and significantly reduces the total computational cost of training.

Results and Discussion

The proposed modifications were evaluated on ImageNet-1K across the EfficientNet B0 through B5 scaling range.

Bridging the Efficiency Gap

The core finding of the paper is that optimizing for throughput (practical efficiency) yields better real-world results than optimizing for FLOPs alone. As shown in Figure 1, the "G16-LN+PN-Half" variants achieve a superior Pareto front in terms of accuracy versus throughput compared to the baseline.

Figure 1: Comparison of theoretical efficiency (FLOPs) vs. practical efficiency (throughput).

The "G16" configuration proved to be a "sweet spot," often improving validation accuracy over the depthwise baseline. This suggests that the additional parameters in spatial convolutions provide a beneficial inductive bias.

Normalization and Accuracy Parity

A critical challenge in moving away from Batch Normalization is maintaining accuracy. The combination of LN and PN successfully bridges this gap.

Figure 2: Validation accuracy across the EfficientNet B0-B5 scaling range for various normalization and convolution configurations.

As illustrated in Figure 2, the G16-LN+PN models consistently match the performance of standard BN-based models. When combined with reduced resolution training, the B5 variant achieved a top-1 accuracy of 83.8%, slightly exceeding the reported baseline.

Throughput and Latency Gains

The integrated approach resulted in a 7x increase in training throughput and a 3.6x increase in inference throughput on Graphcore IPUs. Inference latency at a batch size of 1 was also reduced by up to 1.4x. These gains demonstrate that the proposed models achieve a much higher percentage of peak theoretical hardware performance.

Conclusion

This work demonstrates that "FLOPs are a liar" when it comes to practical deployment. By prioritizing arithmetic intensity and batch independence, EfficientNet can be made significantly faster on modern hardware. Future work may involve incorporating these hardware-friendly constraints—such as $G=16$ and batch-independent normalization—directly into the Neural Architecture Search space to discover even more efficient architectures.

Summary updated

BibTeX
@misc{masters2021making,
  author = {Dominic Masters and Antoine Labatie and Zach Eaton-Rosen and Carlo Luschi},
  title = {{Making EfficientNet More Efficient: Exploring Batch-Independent Normalization, Group Convolutions and Reduced Resolution Training}},
  year = {2021},
  eprint = {2106.03640},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.03640},
}
Figure