Paper commentary
Designing Network Design Spaces
- 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
- What we show
- Paper info and commentary
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}
}