Abstract
Neural Architecture Search (NAS) typically requires massive computational resources to train and evaluate candidate models. FreeREA introduces a training-free approach that leverages evolutionary search and zero-cost proxy metrics. By utilizing Linear Regions, a novel LogSynflow metric, and skip-connection counts, FreeREA identifies optimal architectures in minutes. Experimental results on NAS-Bench-101 and NATS-Bench demonstrate that FreeREA achieves state-of-the-art accuracy while being up to four orders of magnitude faster than traditional training-based methods.
Introduction
Neural Architecture Search (NAS) has revolutionized the design of neural networks but at a significant environmental and computational cost. Standard NAS algorithms often require training thousands of candidate models, consuming thousands of GPU hours. This "carbon hog" nature makes NAS inaccessible to many and impractical for resource-constrained edge devices. FreeREA (Training-Free Evolution-based Architecture Search) addresses this by eliminating the need for training during the search process, offering a lightning-fast and environmentally friendly alternative.
Methodology
FreeREA is built upon two primary innovations: a multi-proxy fitness function and an enhanced evolutionary search strategy.
Multi-Proxy Fitness Function
Instead of evaluating models through training, FreeREA uses three training-free metrics calculated at initialization:
- Linear Regions: Quantifies model expressivity by counting distinct input patterns the model can distinguish.
- LogSynflow (Novel): A stabilized version of the Synflow pruning metric. By applying a logarithmic scale to gradients, the authors mitigate gradient explosion, creating a more reliable performance proxy.
- # Skipped Layers: Favors architectures with more skip connections, which generally exhibit better gradient flow and trainability.
Enhanced Evolutionary Search
FreeREA improves upon Regularized Evolution (REA) by incorporating a crossover operation. While standard REA primarily uses local mutations, FreeREA combines the structural components ("genes") of two high-performing parent architectures, allowing for more effective exploration of the search space.
Experiments and Results
The researchers evaluated FreeREA on NAS-Bench-101 (423k architectures) and NATS-Bench (covering CIFAR-10, CIFAR-100, and ImageNet16-120).
Efficiency and Performance
FreeREA demonstrates remarkable speedups. On NATS-Bench, it identified the optimal architecture in just 45 seconds on a single GPU. On NAS-Bench-101, it achieved 93.80% accuracy in 12 minutes, significantly outperforming the training-based REA, which took 24 hours to reach 93.39% accuracy. Overall, FreeREA is up to four orders of magnitude faster than traditional methods while maintaining or exceeding their accuracy.
Key Insights
- Logarithmic Scaling: The introduction of LogSynflow significantly improves the correlation between proxy metrics and actual test accuracy compared to standard Synflow.
- Balance of Expressivity and Trainability: Successful architectures must balance the ability to learn complex patterns (Linear Regions) with efficient gradient flow (LogSynflow and skip connections).
Conclusion
FreeREA proves that well-designed evolutionary algorithms using training-free proxies can find near-optimal models in a fraction of the time required by traditional NAS. While highly effective in cell-based benchmarks, future work will explore the method's performance in open-ended search spaces and across more diverse tasks beyond image classification.
Summary updated