# Designing Network Design Spaces

Radosavovic, Ilija, Kosaraju, Raj Prateek, Girshick, Ross, He, Kaiming, Dollár, Piotr · arXiv · 2020-3-30

- **Problem** Hand-designing networks gets harder as structural options grow, and neural architecture search returns one network tuned to one setting, which does not reveal why it works.
- **Method** RegNet starts from a broad design space and tests simplifications on populations of sampled networks. Instead of tuning single networks, it keeps only a quantized linear rule for widths and depths.
- **Results** RegNetY-8.0GF reaches 31.3±0.08 top-1 error on ImageNetV2 against 31.5±0.17 for EfficientNet-B5 under comparable training settings.

## Why design populations of networks instead of single models

Manual design produced architectures such as ResNet, but choosing among many structural options by hand gets harder as the number of options grows. Neural architecture search automates the choice, yet its output is a single network instance tuned to one setting, such as a particular hardware platform. That output does not reveal the design principles behind the network, which is what would be needed to carry the result to new settings.

The authors take a middle path. They design design spaces, which are parametrized populations of networks, and look for principles that describe those populations. Each design step takes an initial design space and produces a refined one, where the aim is either a simpler space or one whose models are better on average. Because the refined spaces are nested, each step can be checked against the one before it.

## Measuring a design space by its error distribution

A design space is judged by sampling n models from it, training each one, and examining the error distribution of the population rather than only the best model found. The main summary is the error empirical distribution function, \\\\( F(e) = \\\\frac{1}{n}\\\\sum\_{i=1}^{n} \\\\mathbf{1}\[e\_i \< e\] \\\\), which gives the fraction of sampled models whose error is below e.

Comparing two such curves shows whether one design space holds more good models than the other.

Training is kept short so that many models can be sampled. The design phase uses the 400MF regime with 10 epochs on ImageNet. The authors note that 100 such models cost about as much as one ResNet-50 trained for 100 epochs at 4GF. They consider ten epochs usually enough to give robust population statistics.

To see which parameter values belong to the best models, a model statistic such as depth or width is plotted against error, and an empirical bootstrap estimates the range that holds the best models. Each bootstrap round samples 25% of the pairs with replacement, keeps the pair with the lowest error, and the 95% range of the selected statistic is read from the repeated rounds.

## From AnyNet to RegNet through design steps

AnyNet is the starting design space. A network is a stem, a body of four stages at progressively lower resolution, and a head. Each stage has its own number of blocks, block width, bottleneck ratio and group width. Most experiments use the X block, a residual bottleneck with a 1×1 convolution, a 3×3 group convolution and a final 1×1 convolution, and this design space is called AnyNetX.

Sampling is restricted to the 360MF to 400MF regime, with n = 500 models trained for 10 epochs each. Each refinement must keep the error distribution while simplifying the space, improving interpretability, or preserving model diversity.

The first step, AnyNetXB, shares one bottleneck ratio b across all stages. Its error distribution is virtually identical to that of AnyNetXA, so the coupling costs nothing measurable. The second step, AnyNetXC, also shares one group width g across stages. The error distributions stay nearly unchanged, and the design space shrinks by nearly four orders of magnitude, with 6 fewer degrees of freedom than AnyNetXA.

Within AnyNetXC the authors find g \> 1 to be best.

Looking at good and bad networks shows that good ones have increasing widths, so the constraint w\_{i+1} ≥ w\_i defines AnyNetXD. This substantially improves the error distribution. Among the best models the stage depths also tend to increase, though not always in the last stage. The constraint d\_{i+1} ≥ d\_i defines AnyNetXE, which also improves results.

Constant or decreasing values for width or depth give much worse distributions than increasing ones.

## A quantized linear rule for block widths

Plotting the per-block widths of the best 20 AnyNetXE models shows a population trend: widths grow with block index, and a simple line, w\_j = 48·(j+1), follows it closely. Individual models, however, have piecewise constant widths, so the line must be quantized before it can describe one model.

Converting per-block widths to per-stage values is done by counting: stage i gets width w\_i = w0·wm^i, and its number of blocks is the count of j whose rounded exponent equals i. Top AnyNetXC to AnyNetXE models all have good linear fits, and e\_fit falls on average from AnyNetXC to AnyNetXE, so the linear form enforces the increasing constraints.

The RegNet design space keeps only this linear structure. A network is set by d, w0, wa, wm, b and g, with d \< 64, w0 and wa below 256, and 1.5 ≤ wm ≤ 3. Its size is estimated by quantizing the continuous parameters. The design space has 6 dimensions instead of 16, and its size falls by nearly 10 orders of magnitude.

RegNetX has better average error than AnyNetX while keeping the best models. The legend reports min and mean error: \[38.2\|41.0\] for RegNetX against \[39.0\|49.0\] for AnyNetXA. Random search is more efficient for RegNetX: about 32 random models are likely to yield good ones.

## Does the design hold beyond the design regime?

At 800MF the RegNetX error distribution is \[34.6\|36.8\] against \[35.8\|44.5\] for AnyNetXA and \[35.1\|38.5\] for AnyNetXE. With 50 epochs, RegNetX reports \[29.4\|31.5\] against \[30.0\|38.8\] for AnyNetXA.

In every setting the authors tested, the ordering is RegNetX, then AnyNetXE, then AnyNetXA, which they read as the absence of overfitting to the design regime. The five-stage variants and the other block types are reported in the same comparison, with block types described in an appendix.

## What the RegNetX population shows about depth, width and resolution

For this analysis the authors sample 100 models and train each for 25 epochs with a learning rate of 0.1, to see finer trends. Across flop regimes the depth of the best models is stable, at about 20 blocks (60 layers). This departs from the common practice of using deeper models at higher flops. The best models use a bottleneck ratio b of 1.0, which effectively removes the bottleneck, and a width multiplier wm near 2.5.

Resolution is tested next. Unlike the scaling rule used for EfficientNet, a fixed input of 224×224 is best for RegNetX, including at higher flops. Inverted bottlenecks with b \< 1 degrade the error distribution slightly, and depthwise convolution with g = 1 performs worse. Adding Squeeze-and-Excitation to RegNetX gives RegNetY, which yields good gains in the error distribution.

## Comparison with EfficientNet

EfficientNet is reproduced with the same 100-epoch schedule, no regularization except weight decay, and only learning rate and weight decay tuned. The originally reported EfficientNet errors are much lower, but they come from longer and enhanced schedules.

At low flops EfficientNet outperforms RegNetY, at intermediate flops RegNetY outperforms EfficientNet, and at higher flops both RegNetX and RegNetY perform better. For example, EfficientNet-B5 has 9.9 flops and 21.5±0.11 top-1 error, while RegNetY-8.0GF has 8.0 flops and 20.1±0.09 top-1 error, both under the reproduced setting. Under comparable training settings, RegNetY outperforms EfficientNet for most flop regimes.

EfficientNet activations scale linearly with flops because resolution and depth both scale, while RegNet activations scale with the square root of flops. The inference time for 64 images on an NVIDIA V100 GPU is 504 ms for EfficientNet-B5 and 113 ms for RegNetY-8.0GF. The authors report that REGNETX-8000 is about 5× faster than EfficientNet-B5 while having lower error.

## Generalization to the ImageNetV2 test set

The authors repeat the comparisons on ImageNetV2, a new test set collected with the original ImageNet procedure, since the original test set is unavailable.

On ImageNetV2, RegNetY-8.0GF reaches 31.3±0.08 top-1 error against 31.5±0.17 for EfficientNet-B5. Against ResNe(X)t, the gap shrinks: RegNetX-12GF scores 32.0±0.27 while ResNeXt-152 scores 31.5±0.26, so the RegNetX advantage does not hold for every pairing.

## Limitations

The design phase uses one block type, 400MF and 10 epochs. The wider tests cover higher flops, a 50-epoch schedule, five stages and other block types. The design operates on network structure alone. Richer design spaces that include operators are left for future work.

RegNet models are trained with the basic 100-epoch schedule without regularization except weight decay, while the mobile networks cited in Table 2 use longer schedules and enhancements, and their errors are originally reported values. Fixing depth at 20 blocks matches variable-depth networks across flop regimes in the appendix ablation, which the authors report as a match rather than an improvement.

## Paper info

- **Authors**: Radosavovic, Ilija, Kosaraju, Raj Prateek, Girshick, Ross, He, Kaiming, Dollár, Piotr
- **Venue**: arXiv · Preprint
- **First published**: 2020-3-30
- **Added**: 2026-11-12
- **Updated**: 2020-3-30
- **Version**: v1
- **arXiv**: 2003.13678
- **Category**: cs.CV · cs.LG
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/2003.13678v1) · [PDF ↗](https://arxiv.org/pdf/2003.13678v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Radosavovic, Ilija, Kosaraju, Raj Prateek, Girshick, Ross, He, Kaiming, Dollár, Piotr (2020). Designing Network Design Spaces. arXiv:2003.13678v1. https://arxiv.org/abs/2003.13678v1

**BibTeX**

```
@misc{ilija2020designing,
  title = {{Designing Network Design Spaces}},
  author = {Radosavovic, Ilija and Kosaraju, Raj Prateek and Girshick, Ross and He, Kaiming and Dollár, Piotr},
  year = {2020},
  eprint = {2003.13678},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.13678v1}
}
```

## Other paper commentary

- [Deep metric learning using Triplet network](https://refivu.com/en/papers/f6dd7198-0b7a-4f6a-a88a-eb7bbe1ff7ee-deep-metric-learning-using-triplet-network.md)
- [Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting](https://refivu.com/en/papers/d52df827-0d8c-42c3-97e1-3063d2cc1256-autoformer-decomposition-transformers-with-auto-correlation.md)
- [DeepSurv: Personalized Treatment Recommender System Using A Cox Proportional Hazards Deep Neural Network](https://refivu.com/en/papers/e56bf111-97b6-4d99-b702-a3e324f609b2-deepsurv-personalized-treatment-recommender-system-using-a.md)
- [BinaryConnect: Training Deep Neural Networks with binary weights during propagations](https://refivu.com/en/papers/50c59bf6-7b51-443a-b99a-d2bbc087f3e9-binaryconnect-training-deep-neural-networks-with-binary.md)
- [Deep Networks with Stochastic Depth](https://refivu.com/en/papers/a740a8af-8c09-4c4a-92ca-ab98a84c56cf-deep-networks-with-stochastic-depth.md)
- [Deep Transfer Learning with Joint Adaptation Networks](https://refivu.com/en/papers/a47a8c83-de4b-469b-a9c2-9df2e72bbd27-deep-transfer-learning-with-joint-adaptation-networks.md)
- [Towards Principled Methods for Training Generative Adversarial Networks](https://refivu.com/en/papers/b0f4dfa6-159a-4785-ba9c-7a882bcab62f-towards-principled-methods-for-training-generative.md)
- [The Concrete Distribution: A Continuous Relaxation of Discrete Random Variables](https://refivu.com/en/papers/a2b9da66-2864-4212-85c2-c935a02c48cf-the-concrete-distribution-a-continuous-relaxation-of.md)
- [Personalized Top-N Sequential Recommendation via Convolutional Sequence Embedding](https://refivu.com/en/papers/7c1f4e3a-96df-4fe9-a8b5-6c36b294a565-personalized-top-n-sequential-recommendation-via.md)
- [TSM: Temporal Shift Module for Efficient Video Understanding](https://refivu.com/en/papers/e7e3764b-d00b-4555-9a23-62f113a3fdfe-tsm-temporal-shift-module-for-efficient-video-understanding.md)
- [Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoning](https://refivu.com/en/papers/4dc3fc3a-5207-430d-b5ed-3cc95d077c11-targeted-backdoor-attacks-on-deep-learning-systems-using.md)

## Terms in this paper

- [ImageNet](https://refivu.com/en/terms/5eadad128667-imagenet)
- [ResNet](https://refivu.com/en/terms/ca7e0121c7a8-resnet)
- [ResNeXt](https://refivu.com/en/terms/c4180a9c183c-resnext)
- [EfﬁcientNet](https://refivu.com/en/terms/3a932e2ec520-efficientnet)
- [Squeeze-and-excitation](https://refivu.com/en/terms/0dc3a3af5ca7-squeeze-and-excitation)
- [ImageNetV2](https://refivu.com/en/terms/d214ceebd17d-imagenetv2)
- [visual recognition](https://refivu.com/en/terms/6eccb39d80b2-visual-recognition)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/37f6e2ac-519b-4565-a6cb-673b7ed0265a-designing-network-design-spaces)
