Evolutionary Neural Architecture Search

Using evolution to design deep networks. The architecture search problem, large-scale and regularized (aging) evolution and their comparison with reinforcement-learning search, weight sharing, what random-search baselines did and did not show, population-based training, and an experiment comparing aging evolution, non-aging evolution and random search on the NAS-Bench-101 table.

In deep-learning architecture search, evolution proposes architectures, usually cells, and gradient descent trains them; the fitness is validation accuracy, expensive and noisy. Aging evolution (Real et al., 2019), which removes the oldest member instead of the worst, matched reinforcement-learning search on CIFAR-10 at 20,000 models and got there sooner, and both beat random search. In cell-based spaces, random search with early stopping did at least as well as ENAS (Li and Talwalkar, 2020). On the NAS-Bench-101 table (30 seeded runs of 1,500 queries), aging and non-aging evolution both beat random search (Vargha and Delaney $A$ from 0.75 to 0.87) and were indistinguishable from each other. Aging kept the population's luck at zero, but with noisy evaluations neither rule protected the final pick.

Suppose we want a convolutional network for CIFAR-10, and we have decided its outer skeleton: a stem, three stacks of repeated cells, downsampling between stacks, and a classifier at the end. What remains is the cell. It is a small directed graph whose vertices apply operations such as a 3×3 convolution or a max pool. Even with only seven vertices, there are hundreds of thousands of ways to wire one. Each candidate costs a full training run to judge, and two training runs of the same candidate give different accuracies. This article describes how a search chooses the cell, and what the evidence says about evolution as the way to search: it is among the strongest simple methods, and its results have to be read against random search.

Choosing the cell by search instead of by hand is neural architecture search (NAS). It splits the work differently from the methods earlier in this unit. From weight evolution to NEAT and HyperNEAT, evolution produced the network itself, weights included, and scored it on a task. In architecture search for deep learning, evolution (or another search method) proposes only the architecture. Gradient descent trains its weights, and the trained network's validation accuracy is the fitness. A search can afford thousands or tens of thousands of proposals, not millions, and nearly all the computation goes into training them.

The route is as follows. First we state the search problem and the three properties of its fitness that shape every method. Then we follow the methods in the order they appeared: reinforcement-learning search, large-scale evolution, regularized (aging) evolution, and weight sharing. Next comes the evidence that random search is a hard baseline to beat, and an experiment on a published table of trained cells that compares aging evolution, non-aging evolution and random search. Finally we turn from architectures to training hyperparameters.

The search problem

Here is the problem in one sentence: find the architecture that scores best after training, when each score costs a training run and is noisy. Elsken, Metzen and Hutter (2019) describe a NAS method by three choices:

  • the search space of architectures it can express;
  • the search strategy that proposes candidates;
  • the performance estimation strategy that scores them.

Written out, let $f(A, H)$ be the validation accuracy of architecture $A$ trained with hyperparameters $H$. The ideal is

$$A^* = \arg\max_{A} f(A, H^*(A)), \qquad H^*(A) = \arg\max_{H} f(A, H),$$

the best architecture when each is trained as well as it can be. Nobody can afford an inner hyperparameter search for every candidate. So in practice one set of training hyperparameters $H$ is fixed for all of them, and the search maximizes $f(A, H)$ alone (Ying et al., 2019, §5.1).

Three properties of $f$ shape everything that follows:

  • It is expensive. One evaluation is a training run.
  • It is noisy. The same $A$ scores differently on different runs.
  • It is only a proxy. The accuracy that matters is on held-out test data, which must never guide the search.

The search space matters as much as the search. Most work after 2017 searched over cells that are stacked into a fixed skeleton, rather than over whole networks. That shrinks the space and lets a cell found on a small dataset be reused on a larger one (Zoph et al., 2018).

Reinforcement learning and its cost

The method that made NAS prominent was not evolutionary. Zoph and Le (2017) trained a recurrent network, the controller, to emit architecture descriptions token by token. They updated it with the REINFORCE policy gradient, using each sampled network's validation accuracy as the reward. Their controller trained 12,800 architectures for CIFAR-10, with 800 networks training at once on 800 GPUs. The best architecture, widened by 40 filters per layer, reached a test error of 3.65%. The follow-up that introduced the cell-based NASNet search space ran on 500 GPUs for four days (Zoph et al., 2018).

Those budgets are the backdrop for everything below. They put NAS out of reach of most laboratories, and they made the efficiency of the search strategy a first-order question. The energy such searches use became a question of its own: Risks and Ethics in AI reviews a widely cited emissions estimate for a transformer found by architecture search, and a later reexamination that found it far too high. The next two sections describe a simpler search, evolution: first at large scale on its own, then in a controlled comparison in which it ended with accuracy similar to reinforcement learning's.

Large-scale evolution

Real et al. (2017) asked whether a simple evolutionary algorithm, given enough hardware, could produce competitive image classifiers with no human input after the start. Each individual was a trained network. A worker repeatedly did the following:

  1. choose two individuals at random;
  2. remove the worse one from the population;
  3. copy and mutate the better one;
  4. train the child, evaluate it on validation data, and return it to the population.

This is tournament selection with tournaments of two. It ran asynchronously, with many workers sharing a file system, so no worker waited for a generation to finish. Mutations made one change at a time: insert or remove a convolution, change a stride, a filter count or the learning rate, add or remove a skip connection, or reset the weights. Children inherited their parent's trained weights wherever the architecture allowed, so later individuals did not start training from scratch.

Populations of 1,000 began from trivial networks with no convolutions at all. Each of five runs was spread over 250 workers. Across them, the best model by validation accuracy reached 94.6% test accuracy on CIFAR-10, and an ensemble of the top two models from each population reached 95.6%. The runs ended at a mean of 94.1% with standard deviation 0.4%. A single CIFAR-100 run reached 77.0%. The cost was large: about $9 \times 10^{19}$ floating-point operations per CIFAR-10 run, and $4 \times 10^{20}$ for all five.

Two control experiments isolate the ingredients. With selection disabled, so that individuals were killed and reproduced at random, the best accuracy reached in the same time on the same hardware was 87.3%. With weight inheritance disabled it was 92.2%. Both ingredients mattered, and disabling selection cost more.

Regularized (aging) evolution

A year later Real, Aggarwal, Huang and Le (2019) searched the same NASNet cell space that the reinforcement-learning work had used. That made the first controlled comparison between the two kinds of search possible. Their algorithm changes one detail of tournament selection, and the change is the whole method.

  1. Initialize. Train $P$ random architectures and put them in a queue, oldest first.
  2. Select. Draw $S$ members uniformly at random, with replacement. The one with the highest validation accuracy is the parent.
  3. Vary. Copy the parent's architecture and apply one random mutation: rewire one input of an operation, replace one operation, or, with a small probability, leave it unchanged.
  4. Replace. Train the child, append it to the queue, and remove the oldest member, whatever its accuracy.
  5. Repeat steps 2 to 4 until the budget of trained models is spent, and return the most accurate model seen.

The usual way to keep the population at size $P$ is to remove the worst member of the sample; the paper calls that non-aging evolution. Under aging, every model dies after $P$ further cycles. So a lineage persists only if its architecture keeps producing accurate children.

How long a model lives

The difference in lifetimes is easy to work out. Under aging the population is a queue. A model enters at the back, moves forward one place per cycle, and leaves at the front after exactly $P$ cycles, whatever its accuracy.

Under non-aging evolution a model leaves only when it is drawn into a cycle's sample and is the worst of that sample. Take the settings of the experiment below: a sample of $S = 10$ drawn with replacement from $P = 100$. A given member is drawn in a cycle with probability $1 - (1 - 1/P)^S = 1 - 0.99^{10} = 0.0956$. Even then it leaves only if every other member drawn scored higher.

Example (the best member under non-aging evolution). Under non-aging evolution, the highest observed accuracy essentially never leaves the population. The member holding it is never the worst of a sample that contains a member with a lower score. It can leave only if every member drawn has exactly its score. Either all ten draws pick it, which has probability $(1/100)^{10} = 10^{-20}$ in a cycle, or the others drawn tie with it, as a copy of the same cell with the same score does. In a tie the script removes the tied member drawn first, and the score stays in the population with the other. Members near the top leave very rarely. Non-aging evolution keeps its best scores indefinitely. Aging gives every model the same fixed lifetime.

Why aging might help

The authors' explanation is a conjecture, labeled as such. Training is noisy, so some models score well by luck. Under non-aging evolution a lucky model can stay in the population indefinitely and keep winning tournaments. Under aging it must be retrained in the form of its descendants, and an architecture that only got lucky once disappears. The name regularized refers to this resistance to fitting the noise.

Their evidence for it is indirect. In small-scale experiments on grayscale CIFAR-10 and other datasets, aging tended to do better than non-aging. In a toy problem, bit strings with Gaussian noise added to the score, aging was never worse and pulled ahead as the dimension grew.

The paper's results

AmoebaNet-A, the evolved cell scaled up, reached 83.9% top-1 and 96.6% top-5 accuracy on ImageNet. Each search experiment trained 20,000 models on 450 K40 GPUs over about seven days, with $P = 100$ and $S = 25$. In five repeats of each method on CIFAR-10:

  • evolution found more accurate models than reinforcement learning in the early part of the search;
  • when both ran to 20,000 models, they ended with similar accuracy;
  • both beat random search.

The claim is therefore narrower than "evolution beats reinforcement learning". In that search space and at that scale, evolution got there sooner and was simpler to implement.

Both families above train every candidate separately, which is why their budgets are measured in thousands of GPU-days. Weight sharing removes most of that cost. All candidate architectures are treated as subgraphs of one large network, whose weights are trained once and reused. A candidate is then scored by evaluating it with inherited weights instead of training it.

  • ENAS kept a reinforcement-learning controller but sampled subgraphs of one shared model. The authors report finding a recurrent cell in about 10 hours on one GPU, and describe the method as more than 1,000 times cheaper than the original NAS (Pham et al., 2018).
  • DARTS made the choice between operations continuous, a softmax-weighted mixture on every edge. The architecture weights could then be optimized by gradient descent alongside the network weights. Its CIFAR-10 searches cost 1.5 to 4 GPU-days (Liu, Simonyan and Yang, 2019).

The price is that a candidate's score with shared weights is not the accuracy it would reach if trained alone. How well the two agree became one of the field's central questions. Weight sharing also changes what the search strategy contributes, and that is where the random-search baselines come in.

Random search as a baseline

Random search is the standard reference point in hyperparameter optimization. With a fixed budget it often matches or beats grid search. When only a few hyperparameters matter, random points cover each of them more finely than a grid does (Bergstra and Bengio, 2012). Two studies applied the same scrutiny to NAS, and their findings are often summarized more broadly than they were stated.

Li and Talwalkar (2020) treated NAS as a specialized hyperparameter problem. They evaluated two random-search baselines on the Penn Treebank and CIFAR-10 benchmarks. Random search with early stopping performed at least as well as ENAS on both. Random search with weight sharing did better still, reaching a state-of-the-art result on Penn Treebank and a competitive one on CIFAR-10. They also documented how hard published NAS results were to reproduce, because code, seeds and evaluation details were often missing.

Yang, Esperança and Carlucci (2020) benchmarked eight NAS methods on five image datasets. They measured each by its improvement over the average randomly sampled architecture from its own search space, and many methods struggled to beat that average significantly. In the widely used DARTS space they found three things:

  • training tricks in the evaluation protocol had more effect on reported accuracy than the architecture;
  • the accuracy range of the space was narrow enough for the random seed to reorder rankings;
  • the hand-designed macro-structure, the overall wiring of the network, mattered more than the operations the search chose.

A common reading of these papers is that architecture search is no better than chance. Neither paper shows that. They show that in the engineered, cell-based spaces common at the time, a well-designed space and training recipe produce good networks almost regardless of the search. So a method's reported accuracy says little about its search strategy unless it is compared with random search under the same protocol.

Where every candidate is trained separately, the picture is different. On the NAS-Bench-101 table described below, regularized evolution and two Bayesian optimization methods (SMAC and BOHB) began to outperform random search after about 25 architectures. They reached random search's final quality about five times faster (Ying et al., 2019, §4.1). The two kinds of result are consistent. Random search is strong when the space is easy, and it is a baseline that every claim of search efficiency has to clear.

An experiment on NAS-Bench-101

NAS-Bench-101 makes these comparisons cheap. Ying et al. (2019) trained every cell in a compact space three times on CIFAR-10 and published the results. A cell has at most 7 vertices and at most 9 edges. Input and output are fixed, and each of the 5 interior vertices is a 3×3 convolution, a 1×1 convolution or a 3×3 max pool. Up to isomorphism there are 423,624 distinct cells. Computer Vision works a convolution and a max pool by hand, the operations these vertices apply.

Two cells from the NAS-Bench-101 table, with data flowing from input to output along the arrows. Above, the cell with the highest mean validation accuracy, 95.06%: four 3×3 convolutions, all fed by the input. Below, the cell with the highest mean test accuracy, 94.32%, which mixes a 1×1 convolution, a pooling layer and three 3×3 convolutions. Notice that they are different cells: a search guided by validation accuracy should prefer the first, whose test accuracy is 94.23%.
Two cells from the NAS-Bench-101 table, with data flowing from input to output along the arrows. Above, the cell with the highest mean validation accuracy, 95.06%: four 3×3 convolutions, all fed by the input. Below, the cell with the highest mean test accuracy, 94.32%, which mixes a 1×1 convolution, a pooling layer and three 3×3 convolutions. Notice that they are different cells: a search guided by validation accuracy should prefer the first, whose test accuracy is 94.23%.

The upper cell shows how the encoding works. The cell is a directed acyclic graph on numbered vertices, written as an upper-triangular adjacency matrix. An entry in row $i$ and column $j$ means the output of vertex $i$ feeds vertex $j$. Only $i < j$ is allowed, which rules out cycles. In the upper cell, edges from the input skip ahead to every interior vertex and to the output, and the last 3×3 convolution also feeds the output.

In the benchmark's construction (Ying et al., 2019, §2.3):

  • an interior vertex with several inputs sums them;
  • the output vertex concatenates its inputs;
  • tensors leaving the input vertex are projected to the channel count the next operation expects.

The lower cell is the one the paper draws as attaining the lowest mean test error (Ying et al., 2019, Fig. 1), there without its projection layers. The table needs only the matrix and the list of operations to look a cell up. Two matrices that describe the same graph with the vertices numbered differently are the same cell, which is why the count is taken up to isomorphism. A search algorithm that queries the table instead of training gets each answer in microseconds. The training noise is preserved, because each query can return one of the three runs.

The script tools/experiments/evolution/aging_evolution.py in the site repository reads the published 108-epoch table directly (no TensorFlow) and checks the benchmark's graph hash for all 423,624 cells. It then compares three search strategies over 30 seeded runs each, with a budget of 1,500 queries:

  • RS: random cells until the budget is spent.
  • RE: aging evolution as above, with $P = 100$ and $S = 10$, the settings Ying et al. used.
  • NRE: the same, except that each cycle removes the worst member of the $S$-sample instead of the oldest member of the population.

A random cell has each of the 21 possible edges present with probability 1/2 and each operation uniform, redrawn until valid. A mutation flips each edge with probability 1/7 and changes each operation with probability 1/5. On average that is $21/7 = 3$ edge flips and $5/5 = 1$ operation change per mutation, so a child usually differs from its parent in several places.

One mutation as the experiment makes it, from a random cell (seeds 7 and 8). Vertices drawn dashed are pruned: they lie on no path from input to output, so the cell computes as if they were absent. The mutation added three edges, removed one and changed three operations. Notice the edge from the input to vertex 3: it brought that vertex back into the computation, and the child's mean validation accuracy is 93.59% against the parent's 91.97%. The operation change at vertex 1 has no effect, because vertex 1 is pruned in both cells.
One mutation as the experiment makes it, from a random cell (seeds 7 and 8). Vertices drawn dashed are pruned: they lie on no path from input to output, so the cell computes as if they were absent. The mutation added three edges, removed one and changed three operations. Notice the edge from the input to vertex 3: it brought that vertex back into the computation, and the child's mean validation accuracy is 93.59% against the parent's 91.97%. The operation change at vertex 1 has no effect, because vertex 1 is pruned in both cells.

Two features of the encoding show in the figure. Many of the 21 bits can change without changing the computed cell, since edges into or out of pruned vertices do nothing. And a single flip that connects a pruned vertex can change a lot, since it brings that vertex's operation and all its edges into play. Neighboring encodings therefore sometimes have identical fitness and sometimes very different fitness. The fitness landscape over the 21 bits and 5 operations has both neutral plateaus and abrupt steps.

How a run is scored

A run's result is the cell with the highest validation accuracy it observed. It is scored by its test regret: how many percentage points its mean test accuracy falls below that of the best cell in the table, 94.32%. Two evaluation conditions are compared:

  • noisy: each query returns the validation accuracy of one of the three training runs at random, as a real search would see;
  • mean of 3 runs: each query returns the mean of the three.

Two facts about the table bound what any search can achieve. First, the cell with the best mean validation accuracy is not the cell with the best mean test accuracy. It scores 94.23% on test, so even a search that finds it has a regret of 0.083 points. Second, the three training runs of a cell differ in validation accuracy by a median of 0.62 points (interquartile range 0.38 to 0.98). That is wider than most of the differences the search is trying to resolve.

Example (more queries, worse pick). With noisy evaluations, random search does not necessarily end with a better pick after 1,500 queries than after 300, and here it ends worse. The table below gives a median regret of 0.906 at 1,500 queries against 0.738 at 300. The search keeps the single highest observation, and more queries mean more chances for a lucky training run to win. The third finding below explains this in full.

Median test regret in percentage points, with interquartile ranges, over 30 runs:

Evaluation Method 300 queries 1,500 queries Found best-validation cell
Noisy RS 0.738 [0.738, 1.042] 0.906 [0.619, 1.042] 0 of 30
RE (aging) 1.042 [0.738, 1.042] 0.512 [0.174, 0.576] 4 of 30
NRE (non-aging) 0.738 [0.548, 1.042] 0.528 [0.238, 0.590] 2 of 30
Mean of 3 runs RS 0.738 [0.724, 0.738] 0.461 [0.260, 0.593] 0 of 30
RE (aging) 0.324 [0.174, 0.578] 0.097 [0.097, 0.227] 7 of 30
NRE (non-aging) 0.391 [0.174, 0.734] 0.097 [0.097, 0.206] 7 of 30

The repeated values in the table (0.738, 1.042, 0.097) are individual cells that many runs end on. The regrets come in steps because the good cells are few. To compare methods we use the Vargha and Delaney (2000) $A$ statistic: the probability that a random run of one method ends with lower regret than a random run of another, where 0.5 means no difference. Effect Sizes and Standardized Differences derives the properties of $A$ and how precisely thirty runs per method estimate it. At 1,500 queries the results are:

  • Evolution beats random search in both conditions: $A = 0.82$ (RE) and $0.75$ (NRE) against RS with noisy evaluations, $0.86$ and $0.87$ with averaged ones.
  • Aging and non-aging evolution are indistinguishable here: $A = 0.56$ for RE against NRE with noisy evaluations and $0.47$ with averaged ones. Ying et al. (2019, §4.2) report the ranking RS < NRE < RE over 100 runs with a time budget. Their non-aging rule is described only as removing the lowest-fitness individual. So this experiment neither confirms nor contradicts them. At this budget, with this mutation and with sample-worst removal, the effect of aging is too small to see in 30 runs.
  • Noise makes the final choice unreliable. With noisy evaluations, random search ends worse at 1,500 queries (median 0.906) than at 300 (0.738). Aging evolution's median at 300 queries is worse than at 100 (0.861, printed by the script). The search keeps the single highest observation. The more cells it scores, the more likely that observation belongs to a cell whose one training run was lucky. Real et al. (2019) argued that aging protects the population from lucky models; nothing in either algorithm, as specified here, protects the final pick. Re-evaluating the top few candidates before choosing would reduce that risk.
Median test regret of each search's current pick after every query, over 30 runs. Compare the two panels. With averaged evaluations (right) both kinds of evolution leave random search behind after about 200 queries and reach the 0.097 cell, close to the floor of 0.083 that a search guided by validation accuracy can reach. With noisy evaluations (left) every curve can rise as well as fall, because a later query with a lucky training run can displace a better cell from the top, and random search ends higher than it was at 300 queries.
Median test regret of each search's current pick after every query, over 30 runs. Compare the two panels. With averaged evaluations (right) both kinds of evolution leave random search behind after about 200 queries and reach the 0.097 cell, close to the floor of 0.083 that a search guided by validation accuracy can reach. With noisy evaluations (left) every curve can rise as well as fall, because a later query with a lucky training run can displace a better cell from the top, and random search ends higher than it was at 300 queries.

The curves in the figure come from tools/experiments/evolution/aging_evolution_traces.py. It repeats the searches draw for draw and records the pick after every query; its medians at 100, 300 and 1,500 queries are those of the table.

What aging does to lucky models

Aging made no measurable difference to the final pick, but it did change the population. Real et al.'s (2019) argument for aging is about the population: under non-aging evolution a model that scored well by luck stays and keeps winning tournaments. The traces script measures this directly in the noisy condition. Call a member's luck its observed validation accuracy minus the mean of its cell's three training runs. It is the part of its score that retraining would not reproduce, and a random query has a luck of zero on average.

Left, the mean luck of the 100 members of the population after each cycle, median and interquartile range over 30 runs. Notice that under aging it stays at zero, while under non-aging it climbs steadily, to about a third of a percentage point after 1,400 cycles. Right, the age of the oldest member: under aging it is always 99 cycles, under non-aging it grows with the run, because the first members to score well are never removed.
Left, the mean luck of the 100 members of the population after each cycle, median and interquartile range over 30 runs. Notice that under aging it stays at zero, while under non-aging it climbs steadily, to about a third of a percentage point after 1,400 cycles. Right, the age of the oldest member: under aging it is always 99 cycles, under non-aging it grows with the run, because the first members to score well are never removed.

Under aging the population's mean luck stayed at zero throughout. The median over runs was $-0.010$ points after 100 cycles and $0.006$ after 1,400. Under non-aging it grew from 0.029 after 100 cycles to 0.177 after 400 and 0.332 after 1,400 (interquartile range 0.279 to 0.362). That is about half the median spread of 0.62 points between a cell's three training runs.

At cycle 1,400 the oldest member under non-aging evolution had been in the population for a median of 1,341.5 cycles. A model that entered in roughly the first 60 cycles was still there near the end of the run. The selection rule did what the section on lifetimes predicts. Removing the worst of each sample removes the unlucky first, so the survivors become luckier over time, and their accuracies overstate their cells' quality by more and more.

The luck of the single best-scoring member was about the same under both rules: a median of 0.332 points under aging and 0.497 under non-aging at cycle 1,400, with overlapping interquartile ranges. That is the distinction drawn above. Aging keeps the population honest, so that tournaments compare cells and not luck. But the best observation of a run is a maximum over many noisy draws under either rule. In this experiment, the population-level effect did not translate into a measurably better final pick at 1,500 queries.

The experiment is small by the standards of the papers it follows, and its conclusions are limited to this table. The space is tiny, and every cell is trained with one fixed recipe. A budget of 1,500 queries can reach at most about 0.35% of the space.

Evolving hyperparameters

Architecture is not the only thing evolution can tune during training. Population-based training (PBT; Jaderberg et al., 2017) trains a population of models in parallel, each with its own hyperparameters, such as learning rate or entropy cost. Periodically each member is checked. In the variant using truncation selection, two steps follow:

  • exploit: a model in the bottom 20% of the population copies the weights and hyperparameters of a model sampled from the top 20%;
  • explore: it then perturbs each hyperparameter by a factor of 0.8 or 1.2, or resamples it from its prior.

Because weights are inherited, no training is wasted on restarting. Because hyperparameters change during training, PBT produces a schedule rather than a single setting. Jaderberg et al. reported faster convergence and better final performance on deep reinforcement learning, machine translation and generative adversarial networks.

In the vocabulary of Eiben and Smith (2015, §8.3), PBT is a form of parameter control rather than parameter tuning (ch. 7). It changes hyperparameters while the run proceeds, based on feedback from the population, instead of fixing them in advance. It shares that idea with self-adaptation in evolution strategies and with the dynamic scheduler in the soft-robot project in this topic.

The main alternative for hyperparameters is Bayesian optimization. It fits a probabilistic surrogate model of $f$ to the evaluations so far, usually a Gaussian process. It then chooses the next point by maximizing an acquisition function that trades predicted value against uncertainty (Snoek, Larochelle and Adams, 2012). With a few continuous hyperparameters and evaluations too expensive to waste, a surrogate model usually spends the budget better than a population does.

Evolution is easier to run in parallel and needs no model of the objective. It also handles discrete, conditional and graph-structured spaces naturally, which is why it took hold in architecture search. The distinction is less sharp in practice than in principle. On NAS-Bench-101, SMAC, a Bayesian optimizer with a random-forest surrogate, matched regularized evolution, while TPE, another model-based method, did no better than random search (Ying et al., 2019, §4.1).

What we have learned

Evolution earned its place in architecture search with a modest set of claims. A plain tournament algorithm, scaled up, produced competitive image classifiers from trivial starting points. Aging, a one-line change, gave a method that matched reinforcement-learning search in final quality and reached it sooner in one controlled comparison. And on a tabular benchmark it is among the strongest simple methods: on NAS-Bench-101 both kinds of evolution beat random search, with $A$ between 0.75 and 0.87. Its costs are those of any search that trains each candidate, and the field's move to weight sharing was driven by cost more than by quality. Noise runs through all of it: aging kept the population's luck at zero, but neither rule protected the final pick.

The random-search studies are a reminder that applies to all of it. The search space and the training recipe determine much of the result. A search strategy has to be judged against random search under the same protocol, over repeated runs, as the no free lunch results and ordinary significance testing would both suggest.

In every search so far, the network had a fixed task with fixed inputs and outputs. In the course's final project the body that the network controls evolved too, so that each change to the body changed what the network had to sense and drive. Coevolving soft robots with NEAT describes that project, built on a NEAT written from scratch.

References

  • Bergstra, J., and Bengio, Y. (2012). Random search for hyper-parameter optimization. Journal of Machine Learning Research, 13(10), 281–305. record
  • Eiben, A. E., and Smith, J. E. (2015). Introduction to Evolutionary Computing, 2nd ed., chapters 7–8. Springer. record · 35 pages
  • Elsken, T., Metzen, J. H., and Hutter, F. (2019). Neural architecture search: A survey. Journal of Machine Learning Research, 20(55), 1–21. record
  • Jaderberg, M., Dalibard, V., Osindero, S., Czarnecki, W. M., Donahue, J., Razavi, A., Vinyals, O., Green, T., Dunning, I., Simonyan, K., Fernando, C., and Kavukcuoglu, K. (2017). Population based training of neural networks. arXiv:1711.09846. record
  • Li, L., and Talwalkar, A. (2020). Random search and reproducibility for neural architecture search. In Proceedings of the 35th Conference on Uncertainty in Artificial Intelligence (UAI 2019), PMLR 115, 367–377. record
  • Liu, H., Simonyan, K., and Yang, Y. (2019). DARTS: Differentiable architecture search. In International Conference on Learning Representations (ICLR). record
  • Pham, H., Guan, M., Zoph, B., Le, Q., and Dean, J. (2018). Efficient neural architecture search via parameters sharing. In Proceedings of the 35th International Conference on Machine Learning, PMLR 80, 4095–4104. record
  • Real, E., Aggarwal, A., Huang, Y., and Le, Q. V. (2019). Regularized evolution for image classifier architecture search. In Proceedings of the AAAI Conference on Artificial Intelligence, 33(01), 4780–4789. record
  • Real, E., Moore, S., Selle, A., Saxena, S., Suematsu, Y. L., Tan, J., Le, Q. V., and Kurakin, A. (2017). Large-scale evolution of image classifiers. In Proceedings of the 34th International Conference on Machine Learning, PMLR 70, 2902–2911. record
  • Snoek, J., Larochelle, H., and Adams, R. P. (2012). Practical Bayesian optimization of machine learning algorithms. In Advances in Neural Information Processing Systems 25, 2951–2959. record
  • Vargha, A., and Delaney, H. D. (2000). A critique and improvement of the CL common language effect size statistics of McGraw and Wong. Journal of Educational and Behavioral Statistics, 25(2), 101–132. record · 4 pages
  • Yang, A., Esperança, P. M., and Carlucci, F. M. (2020). NAS evaluation is frustratingly hard. In International Conference on Learning Representations (ICLR). record
  • Ying, C., Klein, A., Christiansen, E., Real, E., Murphy, K., and Hutter, F. (2019). NAS-Bench-101: Towards reproducible neural architecture search. In Proceedings of the 36th International Conference on Machine Learning, PMLR 97, 7105–7114. record
  • Zoph, B., and Le, Q. V. (2017). Neural architecture search with reinforcement learning. In International Conference on Learning Representations (ICLR). record
  • Zoph, B., Vasudevan, V., Shlens, J., and Le, Q. V. (2018). Learning transferable architectures for scalable image recognition. In Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, 8697–8710. record

Reviewed: verified, 16 Nov 2026 · citations checked, 16 Nov 2026 · editorial review, 23 Nov 2026 · 9 revisions