For most of deep learning's modern era, the shape of a neural network was a human artifact. Researchers picked the layer types, the connectivity patterns, the width and depth, and then trained the thing. The 2017 paper that launched neural architecture search put the question bluntly: despite their success, neural networks are still hard to design. Its answer was to make the design step itself a machine task.
Neural architecture search, or NAS, is the family of techniques that automatically find a network's structure rather than leaving it to intuition. The weights still come from gradient descent. What the search algorithm produces is the blueprint: which operations to use, how to wire them together, how big to make each part. This explainer covers how the idea was built, why it briefly beat human designs, why it faded, and what returned in 2025 under a different name.

The three-part machine
Papers from the first NAS wave describe the same anatomy in three pieces, and the differences between them are mostly choices along those three axes.
The search space defines what counts as a legal answer. The original NAS paper by Barret Zoph and Quoc V. Le (Google Brain, presented at ICLR 2017) did not search over arbitrary graphs. It searched over "cells" - small blocks of stacked operations that get reused across a fixed skeleton - for image classifiers and for recurrent language models. Confining the space to reusable cells is what made the problem tractable at all.
The search strategy decides how to propose candidates. Zoph and Le trained a recurrent network with reinforcement learning (policy gradient) to emit architecture descriptions, rewarding it with the validation accuracy of the network that got built from each description. In parallel, Baker et al. at MIT ("Designing Neural Network Architectures using Reinforcement Learning", 2016) used a convolutional network, rather than a recurrent one, as the policy that spits out architectures - a small but telling sign that the meta-model was itself just another neural net. Real et al. at Google later showed an evolutionary strategy could do the job without any controller model. And DARTS, by Liu, Simonyan and Yang (2018) dropped sampling entirely: it relaxed the discrete choice of operations into continuous weights and searched by gradient descent.
The scoring function answers how good a candidate is. In the classic formulation, you fully train every architecture the strategy proposes and read its accuracy on a validation set. That assumption is where the money goes.
The price problem, and the arms race against it
The first-generation methods were famous for being ruinously expensive to run, and the papers that followed were a direct negotiation with that cost.
ENAS (Efficient Neural Architecture Search), from Pham, Guan, Zoph, Le and Jeff Dean at Google, attacked the cost with parameter sharing. Instead of training each candidate architecture from scratch, child models reuse the same trained weights wherever they overlap, so the controller can evaluate millions of architectures for a fraction of the compute. The paper's headline claim: ENAS delivers competitive results using "1000x less expensive than standard Neural Architecture Search." Its Penn Treebank language model hit 55.8 test perplexity, and its CIFAR-10 models reached 2.89% error, within sight of the much pricier NASNet.
DARTS pushed the same lever further by making the search differentiable end to end: candidate operations are mixed with learnable weights, the mixing weights and the network weights are optimized jointly, and the final architecture is read off by picking the dominant operation in each step. The paper reports "orders of magnitude faster" search than the non-differentiable state of the art, at comparable quality on CIFAR-10, ImageNet, Penn Treebank and WikiText-2.
Evolution offered a third route. Real, Aggarwal, Huang and Le (AAAI 2019) ran regularized evolution - tournament selection over a population of architectures - and produced AmoebaNet-A, described in the abstract as the first evolved image classifier to surpass hand-designed architectures at comparable complexity.
When the machine beat the masters
The 2017-2019 results were genuinely startling, which is why the technique took over research-blog discourse at the time. On CIFAR-10, the original NAS design reached 3.65% test error, edging past the best human-invented scheme in both accuracy (by 0.09 percentage points) and speed at inference (1.05x). On the Penn Treebank language task, the same framework invented a recurrent cell that beat the LSTM cell, the default for a decade, by 3.6 perplexity. That is the pitch in miniature: the search found useful structure that human designers had not thought to try.
Searching for the right axis: hardware-aware NAS
A quieter line of work changed the objective rather than the method. MnasNet (Tan, Chen, Pang and colleagues, Google, 2018) pointed out that accuracy-only search produces models that win benchmarks and lose on real devices. MNAS folds model latency directly into the main objective - not the usual FLOPS proxy, but measured inference latency on actual phone hardware - and evolves a Pareto frontier of accuracy-versus-speed networks. The framing was years ahead of its audience: today's model design questions - how many experts, how much attention to keep, how often to call the bigger circuit - are latency-objective problems, which is why hardware-aware search is the branch most labs kept.
The quiet retreat

NAS did not disappear so much as dissolve. The cell-based spaces of 2017 were vision-era priors; by the time large language models took over, labs converged on the same broad Transformer shape and spent their design effort on scaling allocations, data mixes and training recipes rather than per-layer topologies. The differentiable route also came with its own decade of caveats: DARTS+ (Liang, Zhang, Sun, He and Huang, 2019) documented that DARTS performance is often observed to collapse when the search is run long and deep, making it a standard caution in the search literature - and the search techniques migrated into the places where scoring stayed cheap and the space stayed small: mobile models, edge chips, specific sub-blocks. The ledger point for readers: NAS faded as a named technique, but its premise - that structure is searchable - is now executed in code form, at far larger scale.
The search came back as code
In May 2025, Google DeepMind announced AlphaEvolve, an evolutionary coding agent that pairs Gemini Flash and Gemini Pro with automated evaluators and iterates on whole programs, not cells of a graph. Its production results are the closest thing to NAS's promise being cashed out, and they are worth listing precisely because the object of search changed from architecture to infrastructure:
- A rewritten matrix-multiplication kernel sped up a critical part of Gemini's training stack by 23%, cutting total Gemini training time by 1%.
- An optimized GPU instruction sequence reached up to 32.5% speedup on a FlashAttention kernel.
- A discovered scheduling heuristic for the Borg cluster manager has, according to DeepMind, continuously recovered an average of 0.7% of Google's worldwide compute - and the winning artifact was human-readable code, kept in production over a year.
- A Verilog rewrite for an arithmetic circuit in a matrix unit passed formal verification and was integrated into an upcoming TPU.
- On the math side, its search found a way to multiply 4x4 complex matrices with 48 scalar multiplications, beating the long-standing record set by Strassen's 1969 algorithm in that setting.
The same pattern - propose, score automatically, keep the best - runs through the human-and-AI side of the story too. The NanoGPT speedrun, tracked by Epoch AI, asks participants to train a fixed-quality language model as fast as possible on eight H100 GPUs, to a validation loss of 3.28. The record fell from 45 minutes in May 2024 to 114 seconds by the end of 2025, and to 40 seconds by August 2026. Epoch notes that some record holders explicitly credit AI assistants for their improvements. The search space here is every line of a training recipe - optimizers, connection patterns, precision tricks - and the scoring function is a stopwatch.
What the history teaches
Two lessons survive. First, automatic design pays only where quality can be scored cheaply and objectively; every breakthrough from ENAS to AlphaEvolve is really a breakthrough in evaluation. Second, the searched object keeps moving: from cells, to whole training recipes, to kernels and circuits. The 2017 papers' framing - let a machine propose, let a benchmark judge - turned out to generalize far better than the cell spaces they actually explored.
Sources
- Neural Architecture Search with Reinforcement Learning, Zoph & Le, 2017
- Designing Neural Network Architectures using Reinforcement Learning, Baker et al., 2016
- Efficient Neural Architecture Search via Parameter Sharing, Pham et al., 2018
- DARTS: Differentiable Architecture Search, Liu, Simonyan & Yang, 2018
- DARTS+: Improved Differentiable Architecture Search with Early Stopping, Liang et al., 2019
- Regularized Evolution for Image Classifier Architecture Search, Real et al., 2019
- MnasNet: Platform-Aware Neural Architecture Search for Mobile, Tan et al., 2019
- AlphaEvolve: A Gemini-powered coding agent for designing advanced algorithms, Google DeepMind, 2025
- AlphaEvolve white paper, Novikov et al., 2025
- NanoGPT speedrun record training time, Epoch AI
