Skip to main content
QUICK REVIEW

[Paper Review] Model Rubik's Cube: Twisting Resolution, Depth and Width for TinyNets

Kai Han, Yunhe Wang|arXiv (Cornell University)|Oct 28, 2020
Advanced Neural Network ApplicationsComputer Science56 references37 citations
TL;DR

The paper introduces TinyNet, a tiny formula to shrink networks by jointly twisting resolution, depth, and width under FLOPs constraints, using Gaussian process regression to map FLOPs to resolution and depth and deriving width from FLOPs; TinyNets outperform inverse-EfficientNet shrinking on ImageNet benchmarks.

ABSTRACT

To obtain excellent deep neural architectures, a series of techniques are carefully designed in EfficientNets. The giant formula for simultaneously enlarging the resolution, depth and width provides us a Rubik's cube for neural networks. So that we can find networks with high efficiency and excellent performance by twisting the three dimensions. This paper aims to explore the twisting rules for obtaining deep neural networks with minimum model sizes and computational costs. Different from the network enlarging, we observe that resolution and depth are more important than width for tiny networks. Therefore, the original method, i.e., the compound scaling in EfficientNet is no longer suitable. To this end, we summarize a tiny formula for downsizing neural architectures through a series of smaller models derived from the EfficientNet-B0 with the FLOPs constraint. Experimental results on the ImageNet benchmark illustrate that our TinyNet performs much better than the smaller version of EfficientNets using the inversed giant formula. For instance, our TinyNet-E achieves a 59.9% Top-1 accuracy with only 24M FLOPs, which is about 1.9% higher than that of the previous best MobileNetV3 with similar computational cost. Code will be available at https://github.com/huawei-noah/ghostnet/tree/master/tinynet_pytorch, and https://gitee.com/mindspore/mindspore/tree/master/model_zoo/research/cv/tinynet.

Motivation & Objective

  • Motivate the need for effective downsizing of neural networks for mobile/edge devices.
  • Investigate the relative importance of resolution, depth, and width for small networks.
  • Develop a data-driven shrinking rule (tiny formula) based on frontier models.
  • Demonstrate that shrinking with a focus on resolution and depth yields better TinyNets under FLOPs constraints.
  • Show that TinyNets outperform naively inverted EfficientNet scaling on ImageNet benchmarks.

Proposed method

  • Assess accuracy vs. FLOPs trade-offs for variants of baseline networks under fixed FLOPs.
  • Identify that resolution and depth are more impactful than width for tiny models.
  • Use Pareto-frontier selection (NSGA-III) to collect high-performance, low-FLOPs models.
  • Model the r(dimension) and d(dimension) mappings with Gaussian process regression (GP) using observed frontier models.
  • Compute width w from FLOPs with w = sqrt(c/(r^2 d)).
  • Apply the tiny formula to EfficientNet-B0 and ResNet-50 to generate TinyNet variants.

Experimental results

Research questions

  • RQ1How do resolution, depth, and width individually affect performance under a fixed FLOPs budget for small models?
  • RQ2Can a data-driven rule better shrink networks than the inverse EfficientNet scaling for tiny nets?
  • RQ3What is the optimal combination of (resolution, depth, width) under given FLOPs constraints to maximize accuracy?
  • RQ4Does the tiny formula generalize to architectures beyond EfficientNet-B0 (e.g., ResNet-50) and to downstream tasks?

Key findings

  • TinyNet-E reaches 59.9% Top-1 accuracy with 24M FLOPs, about 1.9% higher than MobileNetV3 Small 0.5× at similar costs.
  • TinyNet-A achieves 76.8% Top-1 accuracy with 339M FLOPs on ImageNet-1000, slightly outperforming EfficientNet-B0 (76.7% with 387M FLOPs).
  • TinyNet-A and TinyNet-E show better accuracy/FLOPs trade-offs than the inverse EfficientNet rule and single-dimension adjustments (r, d, or w).
  • TinyNet-D delivers 19.2 mAP on MS COCO with 52M FLOPs, outperforming EfficientNet-B-3 under similar costs.
  • Shrinking through the tiny formula improves latency on mobile (e.g., TinyNet-A 15% faster than EfficientNet-B0 at similar accuracy).
  • The tiny formula generalizes to Shrinking ResNet-50 and GhostNet, yielding consistent gains on ImageNet.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.