Introduction
Neural Architecture Search (NAS) aims to automatically discover the optimal neural network structure for a given dataset. While "one-shot" NAS methods like DARTS or ENAS have made this process computationally feasible by training a single "supergraph" rather than thousands of individual networks from scratch, they remain notoriously brittle.
Existing one-shot NAS methods are highly sensitive to their hyperparameters—especially the learning rate (step-size) used to update the architecture—and the specific definition of the search space. Applying NAS to a new problem often requires significant time spent tuning the algorithm itself. Furthermore, many methods struggle to handle mixed search spaces, such as choosing between categorical operations (e.g., "convolution" vs. "pooling") and ordinal variables (e.g., "number of filters").
To address this, researchers have introduced ASNG-NAS (Adaptive Stochastic Natural Gradient for Neural Architecture Search), a fast, robust, and flexible one-shot NAS framework. By optimizing a probability distribution over network architectures using a mathematically derived, self-adapting step-size, the method achieves near state-of-the-art performance on image classification and inpainting tasks with drastically lower computational costs and virtually no hyperparameter tuning.
Methodology: Stochastic Relaxation and Adaptive Step-Sizes
The authors frame NAS as a joint optimization of network weights and architecture parameters. To achieve this, they employ stochastic relaxation: instead of optimizing discrete architectural choices directly, they define a probability distribution over all possible architectures and optimize the parameters of that distribution.
The framework introduces several key innovations:
- Stochastic Natural Gradient Ascent: The distribution parameters are updated using natural gradients, which account for the geometry of the probability space using the Fisher information matrix.
- Adaptive Step-Size Mechanism: Instead of relying on standard optimizers like Adam, the authors theoretically derive a condition that guarantees the objective function will monotonically improve. They introduce an algorithm that automatically adapts the trust-region radius (the step-size) to maintain the necessary signal-to-noise ratio, eliminating the need for manual learning rate tuning.
- Arbitrary Search Spaces: Because the method relies on probability distributions, it natively handles categorical variables (using Categorical distributions), ordinal/integer variables (using Gaussian distributions rounded to integers), or a mixture of both.
Key Insights
- Theory-driven adaptation beats heuristics: By mathematically bounding the conditions required for the architecture distribution to improve, the algorithm self-corrects its step-size. This makes the NAS truly "plug-and-play" for new tasks.
- Sampling is faster than mixing: Unlike continuous relaxation methods (like DARTS) that calculate the output of every possible operation at a given layer and mix them, ASNG-NAS samples a discrete architecture from its probability distribution and only evaluates that specific path. This saves massive amounts of memory and compute.
- Flexibility unlocks efficiency: Because ASNG-NAS can natively handle ordinal variables (like kernel sizes or channel counts), it can search over these parameters directly rather than treating them as separate categorical choices, shrinking the search space and speeding up convergence.
Experimental Results
The framework was evaluated across a synthetic toy problem, CIFAR-10 (image classification), and CelebA (semantic image inpainting).
Extreme Speed on CIFAR-10: ASNG-NAS achieved a highly competitive 2.83% test error rate using only 0.11 GPU days for the search phase. For context, ENAS takes 0.45 GPU days, DARTS takes 1.5 to 4 GPU days, and older methods like NASNet took 1800 GPU days.
State-of-the-Art Inpainting & Massive Cost Reduction: On the CelebA inpainting task (reconstructing masked portions of faces), ASNG-NAS outperformed human-designed CNN baselines and matched or beat a previous Evolutionary NAS approach (E-CAE) in image quality (PSNR/SSIM). While the evolutionary E-CAE method required 12 GPU days to find an inpainting architecture, ASNG-NAS found a superior architecture in less than 1 GPU day (approx. 0.75 - 0.84 GPU days).
Additionally, on the synthetic toy problem, ASNG-NAS successfully converged across a wide range of initial step-sizes, demonstrating its robustness compared to standard stochastic natural gradients and Adam, which frequently failed if not initialized perfectly.
Limitations and Future Work
While ASNG-NAS optimizes the architecture robustly, it does not optimize the hyperparameters of the learning process itself (such as the learning rate used for the network's connection weights). Because the effects of weight-learning parameters do not manifest cleanly in the one-shot loss landscape, they cannot be effectively optimized within this specific framework.
However, because ASNG-NAS is exceptionally fast and robust, the authors suggest it is an ideal candidate to be paired with external hyperparameter optimizers (like Bayesian Optimization). A combined system could simultaneously search for the optimal architecture and the optimal training hyperparameters, pushing the field closer to fully automated deep learning.
Summary updated