Model Rubik's Cube: Twisting Resolution, Depth and Width for TinyNets

Kai Han, Yunhe Wang, Qiulin Zhang, Wei Zhang, Chunjing Xu, Tong Zhang

Introduction

Efficient neural network design has traditionally focused on scaling up models to achieve higher accuracy. The "compound scaling" rule introduced by EfficientNet provided a systematic way to balance resolution ($r$), depth ($d$), and width ($w$). However, as researchers from Huawei’s Noah’s Ark Lab demonstrate, this rule fails when applied in reverse to create ultra-efficient "tiny" models (typically under 200M FLOPs). In this resource-constrained regime, the relationship between these three dimensions shifts, requiring a new approach to model downsizing.

Methodology: Discovering the Tiny Frontier

To move beyond handcrafted scaling rules, the authors adopted a data-driven exploration strategy. They generated a diverse set of 100 candidate models by randomly sampling resolution, depth, and width parameters from a baseline EfficientNet-B0 architecture. These models were trained on ImageNet-100 to identify the "Pareto frontier"—the set of architectures providing the maximum accuracy for any given computational budget.

Accuracy vs. Normalized FLOPs showing the performance frontier.

By analyzing these frontier models, the researchers developed a "tiny formula" using Gaussian Process Regression (GPR). This formula prioritizes resolution and depth over width, allowing for the creation of the TinyNet family (TinyNet-A through E), optimized for budgets as low as 24M FLOPs.

Key Insights: The Priority of Resolution and Depth

The core finding of this work is that the rules for "giant" models do not apply to "tiny" ones. In the tiny regime, width is often overrated. The authors observed that increasing width (the number of channels) can actually have a negative correlation with accuracy when FLOPs are fixed, as it forces a reduction in resolution or depth to stay within the budget.

Impact of resolution, depth, and width on model accuracy.

The "tiny formula" suggests a clear hierarchy: Resolution > Depth > Width. A deeper network processing a higher-resolution image is generally more effective than a wider, shallower network processing a smaller image, even if the total FLOP count is identical.

Experimental Results

The resulting TinyNet models set new benchmarks for mobile efficiency:

  • TinyNet-E: Achieved 59.9% Top-1 accuracy on ImageNet with only 24M FLOPs, outperforming MobileNetV3 Small by 1.9%.
  • TinyNet-A: Reached 76.8% accuracy with 339M FLOPs, surpassing EfficientNet-B0 while running 15% faster on mobile hardware.
  • Generalization: The principles proved transferable to other architectures like ResNet and tasks like object detection on MS COCO, where TinyNet-D outperformed the equivalent EfficientNet-B3 by a margin of 2.1 mAP (19.2 vs 17.1) with comparable computation.

Conclusion

TinyNet demonstrates that ultra-efficient model design requires rethinking the balance of resolution, depth, and width. By prioritizing resolution and depth, the "tiny formula" enables high-performance computer vision on extremely limited hardware. Future work may explore whether these scaling dynamics shift again at even more extreme scales, either smaller or larger.

Summary updated

BibTeX
@inproceedings{han2020model,
  author = {Kai Han and Yunhe Wang and Qiulin Zhang and Wei Zhang and Chunjing Xu and Tong Zhang},
  title = {{Model Rubik's Cube: Twisting Resolution, Depth and Width for TinyNets}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure