Designing Network Design Spaces

Ilija Radosavovic, Raj Prateek Kosaraju, Ross B. Girshick, Kaiming He, Piotr Dollár

Abstract: In this work, we present a new network design paradigm. Our goal is to help advance the understanding of network design and discover design principles that generalize across settings. Instead of focusing on designing individual network instances, we design network design spaces that parametrize populations of networks. The overall process is analogous to classic manual design of networks, but elevated to the design space level. Using our methodology we explore the structure aspect of network design and arrive at a low-dimensional design space consisting of simple, regular networks that we call RegNet. The core insight of the RegNet parametrization is surprisingly simple: widths and depths of good networks can be explained by a quantized linear function. We analyze the RegNet design space and arrive at interesting findings that do not match the current practice of network design. The RegNet design space provides simple and fast networks that work well across a wide range of flop regimes. Under comparable training settings and flops, the RegNet models outperform the popular EfficientNet models while being up to 5x faster on GPUs.

Introduction

Traditionally, neural network architecture design has followed two primary paths: manual design and Neural Architecture Search (NAS). Manual design, exemplified by architectures like ResNet or VGG, relies on human intuition to discover architectural motifs. While these principles are often interpretable, the process becomes increasingly difficult as the hyperparameter space expands. Conversely, NAS algorithms excel at finding high-performing "hero" models for specific tasks but often produce "black-box" architectures that are difficult to understand and may not generalize across different hardware or compute scales.

This paper introduces a middle ground: Design Space Design. Rather than searching for a single best model, the authors propose designing populations of models defined by simple, interpretable rules. This approach aims to discover general design principles that are robust and transferable across various compute regimes.

Methodology: Design Space Design

The core of the proposed methodology is an iterative process of simplifying and refining a design space. A design space is a large, possibly infinite, population of model architectures. To evaluate a design space, the authors sample hundreds of models and train them in a low-compute regime (e.g., 400 million FLOPs for 10 epochs).

Iterative refinement of design spaces. As the space is simplified (A to C), the Error Empirical Distribution Function (EDF) shifts left, indicating a higher probability of sampling high-performing models.

The quality of the space is judged using the Error Empirical Distribution Function (EDF). The EDF represents the probability that a random model from the design space will achieve an error rate below a certain threshold. By iteratively applying constraints to the design space and observing the shift in the EDF, researchers can identify which design choices consistently lead to better performance.

The RegNet Discovery

The refinement process began with a broad, unconstrained space called AnyNet, where widths and depths were allowed to vary freely across stages. By analyzing the properties of the best-performing models within this space, a striking regularity emerged: the widths of top-performing networks tend to grow linearly with the block index.

Analysis of the AnyNetX design space. The scatter plots show the relationship between network parameters (depth, width) and error, providing the empirical basis for the RegNet parameterization.

This observation led to the RegNet (Regular Network) design space. RegNets are defined by a simple 6-parameter model ($d, w_0, w_a, w_m, b, g$) where the width of each stage is determined by a quantized linear function: $u_j = w_0 + w_a \cdot j$. This discovery suggests that the complex, non-regular structures often found by NAS are not necessary for high performance.

Key Results and Insights

RegNet models demonstrate exceptional performance across a wide range of complexities, from mobile-scale to server-scale compute.

  • Efficiency and Speed: A critical finding is that FLOPs (Floating Point Operations) are often a poor predictor of actual GPU latency. Instead, the authors found that activations (the total size of tensors passed between layers) correlate much more strongly with runtime. RegNets are designed to minimize activations, allowing RegNetX-8000 to run up to 5x faster on a GPU than EfficientNet-B5 while maintaining superior accuracy.
  • Generalization: Design principles discovered at low compute (400MF) were found to hold true when scaled up to 32GF. This indicates that the properties of a good design space are somewhat universal and not tied to a specific compute budget.
  • State-of-the-Art Performance: In the mobile regime (~600MF), RegNets match or exceed the performance of models heavily optimized via NAS, such as MobileNetV3. Furthermore, RegNet provides a significant boost over standard ResNet and ResNeXt baselines across all metrics.

Conclusion

By shifting the focus from individual models to design spaces, this work provides a new framework for understanding and advancing neural network architecture. The resulting RegNet family offers a simple, fast, and highly effective alternative to existing state-of-the-art models, proving that regular, linearly-growing structures are often superior to more complex alternatives.

Summary updated

BibTeX
@inproceedings{radosavovic2020designing,
  author = {Ilija Radosavovic and Raj Prateek Kosaraju and Ross B. Girshick and Kaiming He and Piotr Dollár},
  title = {{Designing Network Design Spaces}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=T1AN1dnp7Ot},
}
Figure