Abstract
Over the past several years progress in designing better neural network architectures for visual recognition has been substantial. To help sustain this rate of progress, in this work we propose to reexamine the methodology for comparing network architectures. In particular, we introduce a new comparison paradigm of distribution estimates, in which network design spaces are compared by applying statistical techniques to populations of sampled models, while controlling for confounding factors like network complexity. Compared to current methodologies of comparing point and curve estimates of model families, distribution estimates paint a more complete picture of the entire design landscape. As a case study, we examine design spaces used in neural architecture search (NAS). We find significant statistical differences between recent NAS design space variants that have been largely overlooked. Furthermore, our analysis reveals that the design spaces for standard model families like ResNeXt can be comparable to the more complex ones used in recent NAS work. We hope these insights into distribution analysis will enable more robust progress toward discovering better networks for visual recognition.
Introduction: Beyond Point Estimates
In the race for better computer vision models, researchers typically compare "point estimates": Model A achieved a specific accuracy, while Model B achieved another. However, this approach is fragile. A model might look better simply because of more tuning effort, a "lucky" random seed, or higher computational complexity (FLOPs).
This is particularly problematic in Neural Architecture Search (NAS). When a new NAS paper claims state-of-the-art results, it’s often unclear if the improvement comes from a smarter search algorithm or simply because the authors defined a better search space (the set of possible architectures the algorithm can choose from). To make real progress, we need a way to characterize the potential of an entire architecture family, not just its single best member.
Methodology: Distribution Estimates
We introduce a paradigm based on distribution estimates to evaluate design spaces rather than individual models. The process involves:
- Defining a Design Space: Instead of a single model, we define a range of hyperparameters (e.g., depth, width, number of groups).
- Sampling and Training: We randomly sample $n$ models (typically 100 to 1,000) from this space and train them.
- Empirical Distribution Functions (EDFs): We plot the distribution of error rates. An EDF reveals the fraction of models in a space that achieve an error lower than a given threshold.
- Statistical Comparison: We use the Kolmogorov-Smirnov (KS) test to quantify whether two design spaces are statistically different.
Controlling for Complexity
To ensure a fair comparison, it is vital to control for confounding factors like model size and FLOPs. A design space might appear superior simply because it contains larger models on average. We address this by weighting samples so that the distribution of model complexity is uniform across the spaces being compared.
Key Insights
The "Lucky Draw" Fallacy
A point estimate can be misleading; two sets of models sampled from the exact same space can yield different "best" models. Comparing distributions prevents researchers from being fooled by outliers and provides a robust estimate of a design space's quality.
NAS Spaces are Not Equal
Our analysis of design spaces used in prominent NAS papers (like NASNet and DARTS) found significant statistical differences. For instance, the DARTS design space is vastly superior to the original NASNet space ($D=0.51$), explaining much of the performance gain previously attributed solely to the DARTS search algorithm.
The Resilience of Classic Architectures
One of the most surprising findings is that standard, manually designed spaces like ResNeXt are comparable to—and sometimes better than—the complex, automated spaces used in recent NAS research when controlling for complexity. This suggests that the "search space engineering" in NAS often recaptures the benefits of well-known architectural principles.
Conclusion
By characterizing the design space independently, researchers can finally determine if a new search algorithm is truly efficient or if it is simply operating within a "richer" neighborhood of architectures. While training 100+ models presents a computational hurdle, the resulting insights offer a more stable and scientific foundation for future neural network design. Future work may involve using these distribution tools to automatically optimize the design space itself, rather than just searching for a single model within a fixed space.
Summary updated