TL;DR
SMEMNAS is a new multi-objective neural architecture search (NAS) framework that dramatically cuts down search time by predicting the relative ranking of models rather than their absolute accuracy. By combining a pairwise-comparison surrogate model with a dual-population evolutionary strategy, it can find high-performance architectures on ImageNet in just 4 hours on a single GPU.
What Problem Does This Paper Address?
Neural Architecture Search (NAS) has the potential to automate the design of deep learning models, but it faces two major hurdles:
- Computational Cost: Evaluating thousands of candidate architectures is prohibitively expensive, often requiring hundreds of GPU days.
- Conflicting Objectives: Real-world deployment requires a balance between high accuracy and low complexity (e.g., fewer Multiply-Adds or lower latency). Optimizing for both simultaneously is a "multi-objective" challenge where gains in one area often lead to losses in the other.
Existing "surrogate models" try to predict a model's accuracy to skip expensive training, but predicting an exact accuracy percentage is incredibly difficult with limited data. SMEMNAS shifts the goalpost: it doesn't care exactly how accurate a model is, only if it is better than another one.
Methods
The authors introduce SMEMNAS (Pairwise Comparison Relation-assisted Multi-objective Evolutionary NAS), which relies on two core innovations:
- Pairwise Comparison Surrogate: Instead of a regression model that predicts a scalar accuracy value, the authors use a Support Vector Machine (SVM) as a binary classifier. It takes the encodings of two different architectures and predicts which one will perform better. This "ranking" approach is more robust and requires significantly fewer training samples to become effective.
- Multi-population Mechanism (MP-MOEA): The evolutionary search maintains two distinct groups:
- Main Population: Focuses on "exploitation"—keeping the best-performing models found so far to drive convergence toward the Pareto front.
- Vice Population: Focuses on "exploration"—keeping models that are structurally diverse (using a "crowding distance" metric) to prevent the search from getting stuck in local optima.
- Dynamic Thresholding: The algorithm uses a probabilistic threshold that changes over time, shifting the focus from convergence in the early stages to diversity in the later stages of the search.
To further speed things up, they use weight sharing from a pre-trained "Once-for-All" (OFA) supernet, allowing them to estimate a model's performance without training it from scratch.
Datasets
The method was validated on three standard benchmarks:
- CIFAR-10 & CIFAR-100: Small-scale datasets used to test the search's ability to find highly accurate, compact models.
- ImageNet: The gold standard for large-scale image classification.
- Search Space: Based on the MobileNetV3 backbone, allowing the algorithm to tweak image resolution, number of layers, kernel sizes, and expansion rates.
Key Insights and Ideas
- Ranking is Easier than Regression: In an evolutionary algorithm, the absolute fitness value matters less than the relative order of individuals. By transforming NAS into a classification task (Model A vs. Model B), the surrogate model becomes much more reliable early in the search process.
- The "Vice" Population prevents Homogeneity: A common failure in NAS is "premature convergence," where the search space collapses around a single type of architecture. By dedicatedly maintaining a "Vice" population of weird or diverse models, SMEMNAS explores the fringes of the design space.
- Efficiency via Online Learning: The surrogate model isn't just trained once; it is updated "online" during the search. As the algorithm evaluates more models, the surrogate gets smarter, further refining the search.
Key Results
- Extreme Speed: On ImageNet, SMEMNAS completed its search in just 0.17 GPU days (approx. 4 hours). For comparison, many traditional EA-based NAS methods take days or weeks.
- State-of-the-Art Balance: On ImageNet, it discovered a model achieving 78.91% Top-1 accuracy with only 570M MAdds. This outperforms or matches many manually designed and automatically searched models (like FairNAS or ProxylessNAS) in the same complexity bracket.
- CIFAR Performance: On CIFAR-10, it reached 98.13% accuracy with 305M MAdds, showing it can scale down to smaller tasks effectively.
Limitations and Future Work
- Initial Sampling: The authors note that the initial population is currently generated via random sampling. They suggest that using more sophisticated initialization (like Bayesian methods) could provide an even better starting point.
- Single-Objective Surrogate: While the search is multi-objective (Accuracy vs. MAdds), the surrogate model currently only predicts the accuracy ranking. Future work could involve predicting "domination relations" that account for both objectives within the surrogate itself.
- Cross-Domain Transfer: The authors plan to investigate how well the architectures discovered for image classification transfer to other tasks like object detection or semantic segmentation.
Summary updated