Z ERO -C OST P ROXIES FOR L IGHTWEIGHT NAS
Anonymous authors
Paper under double-blind review
A BSTRACT
Neural Architecture Search (NAS) is quickly becoming the standard methodology to design neural network models.
However, NAS is typically compute-intensive because multiple models need to be evaluated before choosing the best one.
To reduce the computational power and time needed, a proxy task is often used for evaluating each model instead of full training.
In this paper, we evaluate conventional reduced-training proxies and quantify how well they preserve ranking between multiple models during search when compared with the rankings produced by ﬁnal trained accuracy.
We propose a series of zero-cost proxies, based on recent pruning literature, that use just a single minibatch of training data to compute a model’s score.
Our zero-cost proxies use 3 orders of magnitude less computation but can match and even outperform conventional proxies.
For example, Spearman’s rank correlation coefﬁcient between ﬁnal validation accuracy and our best zero-cost proxy on NAS-Bench-201 is 0.82, compared to 0.61 for
EcoNAS (a recently proposed reduced-training proxy).
Finally, we use these zerocost proxies to enhance existing NAS search algorithms such as random search, reinforcement learning, evolutionary search and predictor-based search.
For all search methodologies and across three different NAS datasets, we are able to signiﬁcantly improve sample efﬁciency, and thereby decrease computation, by using our zero-cost proxies.
For example on NAS-Bench-101, we achieved the same accuracy 4 × quicker than the best previous result.
I NTRODUCTION
Instead of manually designing neural networks, neural architecture search (NAS) algorithms are used to automatically discover the best ones (Tan & Le, 2019a;
Liu et al., 2019; Bender et al., 2018).
Early work by Zoph & Le (2017) proposed using a reinforcement learning (RL) controller that constructs candidate architectures, these are evaluated and then feedback is provided to the controller based on the performance of the candidate.
One major problem with this basic NAS methodology is that each evaluation is very costly – typically on the order of hours or days to train a single neural network fully.
We focus on this evaluation phase – we propose using proxies that require a single minibatch of data and a single forward/backward propagation pass to score a neural network.
This is inspired by recent pruning-at-initialization work by Lee et al.
(2019), Wang et al.
(2020) and Tanaka et al.
(2020) wherein a per-parameter saliency metric is computed before training to inform parameter pruning.
Can we use such saliency metrics to score an entire neural network?
Furthermore, can we use these “single minibatch” metrics to rank and compare multiple neural networks for use within NAS?
If so, how do we best integrate these metrics within existing NAS algorithms such as RL or evolutionary search?
These are the questions that we hope to (empirically) tackle in this work with the goal of making NAS less compute-hungry.
Our contributions are:
• Zero-cost proxies We adapt pruning-at-initialization metrics for use with NAS.
This requires these metrics to operate at the granularity of an entire network rather than individual parameters – we devise and validate approaches that aggregate parameter-level metrics in a manner suitable for ranking candidates during NAS search.
• Comparison to conventional proxies We perform a detailed comparison between zerocost and conventional NAS proxies that use a form of reduced-computation training.
First, we quantify the rank consistency of conventional proxies on large-scale datasets: 15k models vs. 50 models used in (Zhou et al., 2020).
Second, we show that zero-cost proxies can match or exceed the rank consistency of conventional proxies.
• Ablations on NAS benchmarks We perform ablations of our zero-cost proxies on ﬁve different NAS benchmarks (NAS-Bench-101/201/NLP/ASR and PyTorchCV) to both test the zero-cost metrics under different settings, and expose properties of successful metrics.
• Integration with NAS
Finally, we propose two ways to use zero-cost metrics effectively within NAS algorithms: random search, reinforcement learning, aging evolution and predictor-based search.
For all algorithms and three NAS datasets we show signiﬁcant speedups, up to 4 × for NAS-Bench-101 compared to current state-of-the-art.
R ELATED W ORK
NAS Efﬁciency To decrease NAS search time, various techniques were used in the literature.
Pham et al.
(2018) and Cai et al.
(2018) use weight sharing between candidate models to decrease the training time during evaluation.
Liu et al.
and others use smaller datasets (CIFAR-10) as a proxy to the full task (ImageNet1k).
In EcoNAS, Zhou et al.
(2020) extensively investigated reduced-training proxies wherein input size, model size, number of training samples and number of epochs were reduced in the NAS evaluation phase.
We compare to EcoNAS in this work to elucidate how well our zero-cost proxies perform compared to familiar and widely-used conventional proxies.
Pruning The goal is to reduce the number of parameters in a neural network, one way to do this is by identifying a saliency (importance) metric for each parameter, and the less-important parameters are removed.
For example, Han et al. (2015), Frankle & Carbin (2019) and others use parameter magnitudes as the criterion while LeCun et al.
(1990), Hassibi & Stork (1993) and Molchanov et al.
(2017) use gradients.
However, the aforementioned works require training before computing the saliency criterion.
A new class of pruning-at-initialization algorithms, that require no training, were introduced by Lee et al.
and extended by Wang et al.
(2020) and Tanaka et al.
A single forward/backward propagation pass is used to compute a saliency criterion which is successfully used to heavily prune neural networks before training.
We extend these pruning-at-initialization criteria towards scoring entire neural networks and we investigate their use with NAS algorithms.
Intersection between pruning and NAS Concepts from pruning have been used within NAS multiple times.
For example, Mei et al.
(2020) use channel pruning in their AtomNAS work to arrive at customized multi-kernel-size convolutions (mixconvs as introduced by Tan & Le (2019b)).
In their Blockswap work, Turner et al.
(2020) use Fisher information at initialization to score different lightweight primitives that are substituted into a neural network to decrease computation.
This is the earliest work we could ﬁnd that attempts to perform a type of NAS by scoring neural networks without training using a pruning criterion, More recently, Mellor et al.
(2020) introduced a new metric for scoring neural networks at initialization based on the correlation of Jacobians with different inputs.
They perform “NAS without training” by performing random search with their zero-cost metric (jacob cov) to rank neural networks instead of using accuracy.
We include jacob cov in our analysis and we introduce ﬁve more zero-cost metrics in this work.
P ROXIES FOR N EURAL N ETWORK A CCURACY 3. C ONVENTIONAL NAS P ROXIES (E CO NAS)
In conventional sample-based NAS, a proxy training regime is often used to predict a model’s accuracy instead of full training.
Zhou et al.
(2020) investigate conventional proxies in depth by computing the Spearman rank correlation coefﬁcient (Spearman ρ ) of a proxy task to ﬁnal validation accuracy.
The proxy used is a reduced-computation training, wherein one of the following four variables is reduced: (1) number of epochs, (2) number of training samples, (3) input resolution (4) model size (controlled through the number of channels after the ﬁrst convolution).
Even though such proxies were used in many prior works, EcoNAS is the ﬁrst systematic study of conventional proxy tasks that we found.
One main ﬁnding by Zhou et al.
(2020) is that using approximately 14 of the model size and input resolution, all training samples, and 110 the number of epochs was a reasonable proxy which yielded the best results for their experiment (Zhou et al., 2020)
. 3. Z ERO -C OST NAS P ROXIES
We present alternative proxies for network accuracy that can be used to speed up NAS.
A simple proxy that we use is grad norm in which we sum the Euclidean norm of the gradients after a single minibatch of data training data.
Other metrics listed below were previously introduced in the context of parameter pruning at the granularity of a single parameter – a saliency is computed to rank parameters and remove the least important ones.
We adapt these metrics to score and rank entire neural network models for NAS.
3.2. S NIP , G RASP AND S YNAPTIC F LOW
In their snip work, Lee et al.
(2019) proposed performing parameter pruning based on a saliency metric computed at initialization using a single minibatch of data.
This saliency criteria approximates the change in loss when a speciﬁc parameter is removed.
Wang et al.
(2020) attempted to improve on the snip metric by approximating the change in gradient norm (instead of loss) when a parameter is pruned in their grasp objective.
Finally, Tanaka et al.
(2020) generalized these so-called synaptic saliency scores and proposed a modiﬁed version ( synflow ) which avoids layer collapse when performing parameter pruning.
Instead of using a minibatch of training data and cross-entropy loss (as in snip or grasp ), with synflow we compute a loss which is simply the product of all parameters in the network; therefore, no data is needed to compute this loss or the synflow metric itself.
These are the three metrics:
[Equation]
where L is the loss function of a neural network with parameters θ , H is the Hessian 1 , S p is the per-parameter saliency and (cid:12) is the Hadamard product.
We extend these saliency metrics to score an entire neural network by summing over all parameters N in the model: S n = (cid:80) N i S p
( θ ) i .
3.2. F ISHER
Theis et al.
(2018) perform channel pruning by removing activation channels (and their corresponding parameters) that are estimated to have the least effect on the loss.
They build on the work of
Molchanov et al.
(2017) and Figurnov et al.
More recently, Turner et al.
(2020) aggregated this fisher metric for all channels in a convolution primitive to quantify the importance of that primitive when it is replaced by a more efﬁcient alternative.
We further aggregate the fisher metric for all layers in a neural network to score an entire network as shown in the following equations:
[Equation]
where S z is the saliency per activation z , and M is the length of the vectorized feature map.
. J ACOBIAN C OVARIANCE
This metric was purpose-designed to score neural networks in the context of NAS – we refer the reader to the original paper for detailed reasoning and derivation of the metric which we call jacob cov (Mellor et al., 2020).
In brief, this metric captures the correlation of activations within a network when subject to different inputs within a minibatch of data – the lower the correlation, the better the network is expected to perform as it can differentiate between different inputs well.
E MPIRICAL E VALUATION OF P ROXY T ASKS
Generally, most of the proxies presented in the previous section try to capture how trainable a neural network is by inspecting the gradients at the beginning of training.
In this work, we refrain from attempting to explain precisely why each metric works (or does not work) and instead focus on the empirical evaluation of those metrics in different scenarios.
We use the Spearman rank correlation coefﬁcient (Spearman ρ ) to quantify how well a proxy ranks models compared to the ground-truth ranking produced by ﬁnal test accuracy (Daniel, 1990).
4. NAS-B ENCH -
NAS-Bench-201 is a purpose-built benchmark for prototyping NAS algorithms (Dong & Yang, 2020).
It contains 15,625 CNN models from a cell-based search space and corresponding training statistics.
We ﬁrst use NAS-Bench-201 to evaluate conventional proxies from EcoNAS, then we evaluate our zero-cost proxies and compare the two approaches. [Figure] [Table]
E CO NAS P ROXY ON NAS-B ENCH -
Even though Zhou et al.
(2020) thoroughly investigated reduced-training proxies
[Table]
they only evaluated a small model zoo consisting of 50 models. To study EcoNAS more extensively we evaluate it on all 15,625 models in NAS-Bench-201 search space (training details in A.1).
The full conﬁguration training of NAS-Bench-201 on CIFAR-10 uses input resolution r=32, number of channels in the stem convolution c=16 and number of epochs e=200 – we summarize this as: r 32 c 16 e 200 .
According to the EcoNAS study [Table] the most effective conﬁguration divides both the input resolution and stem channels by ~4 and the number of epochs by 10, that is, r 8 c 4 e 20 for NAS-Benchmodels.
Keeping that in mind we investigate r 8 c 4 in Fig.
1 (labeled econas ); however, this proxy training seems to suffer from overﬁtting as correlation to ﬁnal accuracy started to drop afterepochs.
Additionally, the Spearman ρ was a modest 0.61 when evaluated on all 15,625 models in NAS-Bench-201 – a far cry from the 0.87 achieved on the 50 models in the EcoNAS paper (Zhou et al., 2020).
We additionally explore r 8 c 8 , r 16 c 4 and r 16 c 8 and ﬁnd a very good proxy with r 16 c 8 e 15 , labeled in Fig. 1 as econas+ .
From the plots in Fig.
1, we would like to highlight that:
A reduced-training proxy that works well on one search space may not work well on another as highlighted by the difference in Spearman ρ between econas and econas+ .
This occurs even though both tasks in this case were CIFAR-10 image classiﬁcation. Even though econas
-style proxies reduce computation load by a large factor (as seen in the middle plot in Fig.
1, this does not translate fully into actual runtime improvement when run on a nominal desktop GPU 2 .
We therefore plot actual GPU speedup in the third subplot in Fig.
For example, notice that the point labeled econas ( r 8 c 4 e 20 ) has the same FLOPS as ~ 110 of a full training epoch, but when measured on a GPU, takes time equivalent to 5 full training epochs – a 50 × gap between theoretical and actual speedup.
4.1. Z ERO -C OST P ROXIES ON NAS-B ENCH -
We now shift our focus towards our zero-cost NAS proxies which rely on gradient computations using a single minibatch of data at initialization.
A clear advantage of zero-cost proxies is that they take very little time to compute – the forward/backward pass using a single minibatch of data.
We ran the zero-cost proxies on all 15,625 models in NAS-Bench-201 for three datasets and we summarize the results in Table 1.
The synflow metric performed the best on all three datasets with a Spearman ρ consistently above 0.73, jacob cov was second best but was also very well-correlated to ﬁnal accuracy.
Next came grad norm and snip with a Spearman ρ close to 0.6.
We add another metric that we simply label with vote that takes a majority vote between the three metrics synflow , jacob cov and
[Figure] [Figure]
seeds). snip when ranking two models. This performed better than any single metric with a Spearman ρ consistently above 0.8.
At the cost of just 3 minibatches instead of ~1000, this is already performing slightly better than econas+ , and much better than econas as shown in Fig.
2a.
In Fig.
2 we also plot the rank correlation of validation accuracy (without any reduced training) over the ﬁrstepochs of training for the three datasets available in NAS-Bench-201.
Having set a comparison point with EcoNAS and normal training proxies, we have shown that zero-cost proxies can match and outperform these conventional methods in a large-scale empirical analysis.
However, different NAS search spaces may behave differently, so in the remainder of this section, we test the zero-cost proxies on different search spaces.
4. M ODELS IN THE W ILD (P Y T ORCH CV)
To study zero-cost proxies in a different setting, we scored the models in the PyTorchCV database (S´emery, 2020).
PytorchCV contains common state-of-the-art neural networks such as ResNets (He et al., 2016), DenseNets
(Huang et al., 2017), MobileNets (Howard et al., 2017) and EfﬁcientNets (Tan & Le, 2019a) – a representative assortment of top-performing models.
We evaluated ~50 models for CIFAR-10, CIFAR-100 (Krizhevsky, 2009) and SVHN (Netzer et al., 2011), and ~200 models for ImageNet1k (Deng et al., 2009).
Fig.
3 shows the resulting correlation for the zero-cost metrics.
synflow , snip , fisher and grad norm all perform similarly well on all datasets, with the exception of SVHN where synflow outperforms other metrics by a large margin.
However, grasp failed in this setting completely as shown by the low mean Spearman ρ and high variance as shown in Fig.
Curiously, jacob cov also failed in this setting even though it performed well on NASBench-201.
This suggests that this metric is better at scoring models from within a search space (similar topology), but becomes worse when scoring unrelated models.
4. O THER S EARCH S PACES
We investigate these metrics with other NAS datasets.
Our goal is to empirically ﬁnd a good metric to speed up NAS algorithms reliably – we evaluate our zero-cost proxies on the following datasets.
• NAS-Bench-101 : This is the ﬁrst and largest NAS benchmark available with over 423k CNN models and training statistics on CIFAR-10 (Ying et al., 2019).
• NAS-Bench-NLP :
Klyuchnikov et al.
(2020) investigate the architectures of 14k different recurrent cells in natural language processing (NLP) tasks such as next word prediction.
• NAS-Bench-ASR :
This is our in-house dataset for convolution-based automatic speech recognition models evaluated on the TIMIT dataset (Garofolo et al., 1993).
The search space includes linear, convolution, zeroize and skip-connections, forming 8242 models.
[Table]
Compared to NAS-Bench-201, these datasets are either much larger (NAS-Bench-101) or based on a different task (NAS-Bench-NLP/ASR).
From Table 2 we would like to highlight that the synflow metric is the only consistent one across all analyzed benchmarks.
Additionally, even for the synflow metric, rank correlation is quite a bit lower than that for NAS-Bench-201 (~0. vs. ~0.8).
Other than global rank correlation, we posit that ranking of top models from a search space is also critically important for NAS algorithms – this is because we ultimately care about ﬁnding those top models.
In Section A.3 we perform an analysis of how top models are ranked by zero-cost proxies. Top models (according to validation accuracy) need to be ranked correctly by a zero-cost metric. Additionally, local rank correlation of top models could be important for NAS algorithms when two good models are compared using their proxy metric value. Tables 10 andshow that the only metric that maintains correct ranking among top models consistently well across all NAS benchmarks is synflow .
In Section 5 we deliberately evaluate 3 benchmarks that exhibit different levels of rank correlation: NAS-Bench-201/101/ASR to see if we can integrate synflow within NAS and achieve consistent gains for all three search spaces.
Z ERO -C OST NAS
Mellor et al.
(2020) proposed using jacob cov to score a set of randomly-sampled models and to greedily choose the model with the highest score.
This “NAS without training” methodology is very attractive thanks to its simplicity and low computational cost.
In this section, we evaluate our metrics in this setting that we simply call “random search” (RAND).
We extend this methodology slightly: instead of just training the top model, we keep training models (from best to worst as ranked by the zero-cost metric) until the desired accuracy is achieved.
However, this approach can only produce results that are as good as the metric being used – and we have no guarantees (just empirical evidence) that these metrics will perform well on all datasets.
Therefore, we also investigate how to integrate zero-cost metrics within existing NAS algorithms such as reinforcement learning (RL) (Zoph & Le, 2017), aging evolution (AE) search (Real et al., 2019) and predictor-based search (Dudziak et al., 2020).
More speciﬁcally, we investigate enhancing these search algorithms through either (a) zero-cost warmup phase or (b) zero-cost move proposal.
5. Z ERO -C OST W ARMUP
Generally speaking, by warmup
we mean using the zero-cost proxies at the beginning of the search process to initialize the search algorithm without training any models or using accuracy.
The main parameter in zero-cost warmup is the number of models for which we compute and use the zero-cost metric ( N ), and the potential gain comes from the fact that this number can be usually much larger than the number of models we can afford to train ( T (cid:28) N ).
Aging Evolution We score N random models with our proxy metric and choose the ones ranked highest as the initial population (pool) in the aging evolution (AE) algorithm
(Real et al., 2019).
[Figure] Reinforcement Learning In the REINFORCE algorithm (Zoph & Le (2017)), we sample N random models and use their zero-cost scores to reward the controller, thus biasing it towards selecting architectures which are likely to have higher values of the chosen metrics.
During warmup, reward for the controller is calculated by linearly normalizing values returned by the proxy functions to the range [ − 1 , 1] (with online adjustment of min and max).
Binary Predictor We warm up a binary graph convolutional network (GCN) predictor (from
Dudziak et al.
by training it to predict relative performance of two models by considering their zero-cost scores instead of accuracy.
For N warmup points, we use the relative rankings (according to the zero-cost metric) of all pairs of models ( 0 .
5 N ( N − 1) pairs) when performing warmup training for the predictor.
As in (Dudziak et al., 2020), models ranked by the predictor after each training round (including the warmup phase) and the top models are evaluated.
5. Z ERO -C OST M OVE P ROPOSAL
Whereas warmup tries to leverage global correlation of the proxy metrics to the accuracy of models, move proposal focuses on a local neighborhood at each step.
A common parameter for move proposal algorithms is denoted as R and means sample ratio, i.e., how many models can be checked using zero-cost metrics each time we select a model to train.
Aging Evolution
The algorithm is enhanced by performing “guided” mutations.
More specifically, each time a model is being mutated (in the baseline algorithm this is done randomly) we consider all possible mutations with edit distance 1 from the current model, score them using the zero-cost proxies and select the best one to add to the pool.
Reinforcement Learning In the case of REINFORCE, move proposal is similar to warmup – instead of rewarding a controller N time before the search begins, we interleave R zero-cost rewards for each accuracy reward ( R (cid:28) N ).
5. R ESULTS
For all NAS experiments, we repeat experiments 32 times and we plot the median and shade between the lower/upper quartiles.
Our baselines are already heavily tuned and achieve the same or better results than those reported in the original NAS-Bench-101/201 papers.
When adding zero-cost warmup or move proposal with synflow , we leave all search hyper-parameters unchanged. [Figure]
NAS-Bench-201 The global/top-10% rank correlations of synflow for this dataset are (0.76/0.42)
so we expect this proxy to perform quite well.
Indeed, as Figure 4 and Table 3 show, we improve search speed on all four types of searches using zero-cost warmup and move proposal.
RAND and RL are both signiﬁcantly improved, both in terms of sample efﬁciency and ﬁnal achieved accuracy.
But even more powerful algorithms like AE and BP exhibit 5.2 × and 1.5 × speedups respectively to arrive at 73% accuracy.
Generally, the more zero-cost warmup, the better the results.
This holds true for all algorithms except RL which degrades at 15k warmup points, suggesting that the controller is overﬁtting to the synflow metric instead of learning to optimize for accuracy. algorithms on NAS
Bench-201 CIFAR
We show accuracy models and the number of models to reach 73%
[Table] NAS-Bench-101 This dataset is an order of magnitude larger than NAS-Bench-201 and has lower global/
top-10% rank correlations of (0.37/0.14).
In many ways, this provides a true test as to whether these lower correlations are still useful with zero-cost warmup and move proposal.
Table 4 shows a summary of the results and Figure 7 (in Section A.4) shows the full plots.
As the table shows, even with modest correlations, there is a major boost to all searching algorithms thus outperforming the best previously published result by a large margin and setting a new state-of-the-art result on this dataset.
However, it is worth noting that the binary predictor exhibits no improvement (but also no degradation).
Perhaps this is because it was already very sample-efﬁcient and synflow warmup couldn’t help further due to its relatively poor correlation on this dataset
[Table]
[Table] NAS-Bench-ASR We repeat our evaluation on NAS-Bench-ASR with global/
top-10% correlations (0.38/0.03).
Even though this is a different task (speech recognition) and the top-10% correlation is effectively nil, synflow warmup and move proposal both yield large improvements in search speeds compared to all baselines in Figure 5 and Table 5.
For example, to achieve a phoneme error rate (PER) of 21.3%, baseline RAND, AE and RL required 560, 177 and > 1000 trained models; however, this is reduced to 92, 78 and 72 samples with 2000 models of zero-cost warmup.
D ISCUSSION
In this section we investigate why zero-cost NAS is effective in improving the sample efﬁciency of
NAS algorithms by looking more closely at how top models are selected by the synflow proxy.
[Table]
Warmup Table 6 shows the number of top-5% most-accurate models ranked within the topmodels by the synflow metric.
If we compare random warmup versus zero-cost warmup with synflow , random warmup will only return 5% or ~3 models out of 64 that are within the top 5% of models whereas synflow warmup returns a higher number of top-5% models as listed in
Table 6.
This is key to the improvements observed when adding zero-cost warmup to algorithms like random search or AE.
For example, with AE, the numbers in Table 6 are indicative of the models that may end up in the initial AE pool.
By initializing the AE pool with many good models, it becomes more likely that a random mutation will lead to an even better model, thus allowing the search to ﬁnd a top model more quickly.
Note that synflow is able to rank many good models in its top 64 models even when global/local correlation is low (as it is the case for NAS-Bench-ASR).
[Table]
Move Proposal For a search algorithm like AE, search moves consist of random mutations (with edit distance 1 for our experiments) for a model from the AE pool.
Zero-cost move proposal enhances this by trying out all possible mutations and selecting the best one according to synflow .
To investigate how this improves search efﬁciency, we took 1000 random points and explored their local neighbourhood cluster of possible mutations.
Table 7 shows the probability that the synflow proxy correctly identiﬁes the top model.
Indeed, synflow improves the chance of selecting the best mutation from ~4% for NAS-Bench-201/101 to > 30% and 12%.
Even for NAS-Bench-ASR a random mutation has a 7.7% chance ( = 1 / 13 ) to select the best mutation, but this increases to 10% with the synflow proxy thus speeding up convergence to top models.
[Table]  C ONCLUSION In this paper, we introduced six zero-cost proxies, mainly based on recent pruning-at-initialization work, that are used to rank neural network models in NAS.
First, we compared to conventional proxies (EcoNAS) that perform reduced-computation training and we found that zero-cost proxies such as synflow can outperform EcoNAS in maintaining rank consistency.
Next, we veriﬁed our zero-cost metrics on four additional datasets of varying sizes and tasks and found that indeed out of the six initially-considered zero-cost metrics, only synflow was robust across all datasets for both global and top-10% rank correlation.
Finally, we proposed two ways to integrate synflow within NAS algorithms: zero-cost warmup and zero-cost move proposal.
Both methods demonstrated signiﬁcant speedups across four search algorithms and three NAS benchmarks, setting new state-of-the-art results for both NAS-Bench-101 and NAS-Bench-201 datasets.
Our strong and consistent empirical results suggest that the synflow metric, when combined with warmup and move proposal can be an effective and reliable methodology for speeding up different NAS algorithms. A A PPENDIX A. E XPERIMENTAL D ETAILS
In Table 8 we list the hyper-parameters used in training the EcoNAS proxies to produce Figure 1. The only difference to the standard NAS-Bench-201 training pipeline (Dong & Yang, 2020) is our use of fewer epochs for the learning rate annealing schedule – we anneal the learning rate to zero over 40 epochs instead of 200. This is a common technique used in speeding up convergence for training proxies
Zhou et al. We acknowledge that slightly better correlations could have been achieved for econas and econas+ proxies in Figure 1 if the learning rate was annealed to zero over fewer epochs (20 and 15 epochs respectively). However, we do not anticipate the results to change signiﬁcantly. [Table]
[Figure] Figure 6 shows the speedup of different EcoNAS proxies compared to baseline training.
Even though r 8 c 4 has 64 × less computation compared to r 32 c 16 , it achieves a maximum of 4 × real speedup even when the batch size is increased.
[Figure]
A. A NALYSIS OF THE T OP 10% OF
[Table]
In the main text we pointed to the fact that only synflow achieves consistent rank correlation for the top-10% of models across different datasets.
Here, in Table 9 we provide the full results.
Additionally, we hypothesized that a successful metric will rank many of the most-accurate models in its top models. In Table 10 we enumerate the percentage of top-10% most accurate models ranked as top-10% by each proxy metric.
Again, synflow is the only consistent metric for all datasets, and performs best on average. Table 11 shows the number of top-5% models ranked in the top 64 models by each metric. This is an extension to Table 6 in the main text that only shows the results for synflow .
[Table]
[Table] [Table] [Table] [Table]
[Figure] Figure 7 shows the NAS search curves for all considered algorithms on NAS-Bench-101 dataset.
Important points from this plot are summarized in Table 4 in the main text.
[Figure]
Bench-101 CIFAR-10.
A. S ENSITIVITY A NALYSIS
We performed some sensitivity analysis to investigate how the zero-cost metrics perform on all points within NAS-Bench-201 with different initialization seed, initialization method and minibatch size.
We comment on each table in its caption; however, to summarize, all metrics seem to be relatively unaffected when initialization and minibatch size are varied.
The one exception can be seen in Table 15 where fisher beneﬁts when biases are initialized with zeroes.
[Table] [Table] [Table]
Here we provide some NAS search results using all considered metrics for both RAND and AE searches on NAS-Bench-101/201 datasets.
[Figure]
s
[Figure]
t e
[Figure]
a cc u
[Figure]
c y [ % ]
[Figure] [Figure]