TL;DR
Standard Monte-Carlo Tree Search (MCTS) for Neural Architecture Search (NAS) relies on rigid, layer-by-layer tree structures where early decisions fail to separate promising architectures from poor ones. This paper introduces a method to automatically learn a search hierarchy by clustering architectures according to the similarity of their output prediction vectors. By grouping functionally similar networks together, the tree search quickly identifies and prunes suboptimal branches, achieving state-of-the-art architectures on CIFAR-10 and ImageNet with significantly reduced search budgets.
What Problem Does This Paper Address?
Weight-sharing, one-shot NAS methods train a single "supernet" from which candidate sub-networks inherit weights for evaluation. To choose which architectures to sample during training, popular differentiable approaches (like DARTS) assume node independence—treating operation choices at each layer as statistically independent. While this drastically reduces the number of parameters to estimate, it ignores the joint interactions between layers, frequently converging to poor architectures.
Conversely, tracking full joint probabilities (like Boltzmann exploration) without independence assumptions requires estimating an exponential number of configurations, which fails to scale.
MCTS offers a middle ground by factorizing joint probabilities into a tree of conditional probabilities. However, in adversarial games like chess, the order of moves is fixed; in NAS, the order of decisions is arbitrary—only the final model matters. Existing MCTS methods for NAS default to a layer-by-layer hierarchy. Because early layers often are not discriminative enough on their own, the conditional probabilities at the top of the tree remain nearly uniform. This starves deeper nodes of samples, crippling search efficiency unless complex, ad-hoc regularization schemes are introduced.
Methods
The authors propose MCTS with a Learned Tree Structure, replacing the intuitive layer-by-layer tree with a data-driven hierarchy:
[Pre-trained Supernet]
│
▼ (Run validation mini-batch)
[Architecture Output Vectors]
│
▼ (Compute pairwise distances: KL, L2, etc.)
[Distance Matrix D (N x N)]
│
▼ (Agglomerative Hierarchical Clustering)
[Learned Binary Search Tree]
│
▼ (MCTS with UCT + Boltzmann Selection)
[Optimal Architecture]
- Lightweight Pre-training: A supernet is pre-trained with uniform sampling for a modest number of epochs (often as little as one-third of full training).
- Semantic Similarity Matrix: Candidate architectures are passed a single validation mini-batch to record their final output prediction vectors. Pairwise distances (evaluated using KL divergence, $L_2$, or cross-entropy) form an $N \times N$ distance matrix. This captures semantic, functional similarity between networks rather than superficial graph topology.
- Hierarchical Agglomerative Clustering: A binary tree is constructed bottom-up from this distance matrix. High-level branches now separate fundamentally different model behaviors, while deeper branches discriminate between subtle variations.
- MCTS Supernet Training & Search: Using the pre-constructed tree, sub-networks are selected via Upper Confidence Bound applied to Trees (UCT) using a Boltzmann distribution. Supernet weights and node-level running validation accuracies are updated jointly without requiring external regularization.
Datasets
The authors evaluate their approach on three distinct macro search spaces:
- Pooling Search Space (CIFAR-10): A 36-architecture ResNet-20 space where downsampling/pooling positions vary, characterized by heavy weight-sharing interference.
- NAS-Bench-Macro (CIFAR-10): An 8-layer MobileNetV2-based benchmark comprising $3^8 = 6,561$ configurations ($3,969$ unique architectures).
- MobileNetV2-like Macro Space (ImageNet-1k): A 21-layer macro space ($13^{21}$ total possibilities) varying kernel sizes $\{3, 5, 7\}$, expansion ratios $\{3, 6\}$, squeeze-and-excitation (SE) modules, and identity connections, constrained to a 280 MFLOPs budget.
Key Insights and Ideas
- Ordering Matters When Pruning: Because MCTS traverses from root to leaf, the early nodes must have imbalanced conditional probabilities. Placing high-variance, functionally distinct decisions near the top allows MCTS to abandon poor sub-spaces immediately.
- Functional Distance Beats Supernet Accuracy: Early in training, supernet validation accuracy is noisy and poorly correlated with true stand-alone performance. In contrast, the relative distance between network output distributions stabilizes much earlier, providing a robust signal for clustering.
- Semantic Clustering vs. Zero-Cost Graph Encodings: Clustering by graph adjacency or one-hot operation vectors performed worse than clustering by output representations. Architectures with disparate layers can exhibit identical functionality, which graph encodings miss.
Key Results
- CIFAR-10 Pooling: Achieved 91.83% best accuracy (rank 2 overall, average rank 3.0), outperforming uniform sampling (90.52%, rank 15), independent sampling (90.88%, rank 11), and prior regularized MCTS (91.78%, rank 3) in comparable search time (2.2 GPU hours).
- NAS-Bench-Macro: Identified the Rank 1 global optimum ([22212220], 93.13% accuracy; average rank 6.0), whereas standard regularized MCTS only reached rank 21 (average rank 112).
- ImageNet: Reached 76.3% Top-1 / 92.6% Top-5 accuracy at 280 MFLOPs in ~7 GPU days, matching MTC_NAS-C (76.3% in 12 GPU days) while cutting computational cost by over 40%.
Limitations and Future Work
- Quadratic Clustering Complexity: Generating the pairwise similarity matrix scales as $\mathcal{O}(N^2)$ with the number of candidate architectures $N$. Consequently, the authors note the tree-building method is currently practical for spaces where $N < 10,000$ (or where search spaces are pre-filtered via FLOPs/latency proxies).
- Reliance on Pre-training: Building the hierarchy still requires partially training the supernet to extract meaningful output features. Future work could explore zero-cost architectural proxies capable of structuring the tree prior to any gradient updates.
Summary updated