Neural networks for image recognition have evolved through extensive manualdesign from simple chain-like models to structures with multiple wiring paths.The success of ResNets and DenseNets is due in large part to their innovativewiring plans. Now, neural architecture search (NAS) studies are exploring thejoint optimization of wiring and operation types, however, the space ofpossible wirings is constrained and still driven by manual design despite beingsearched. In this paper, we explore a more diverse set of connectivity patternsthrough the lens of randomly wired neural networks. To do this, we first definethe concept of a stochastic network generator that encapsulates the entirenetwork generation process. Encapsulation provides a unified view of NAS andrandomly wired networks. Then, we use three classical random graph models togenerate randomly wired graphs for networks. The results are surprising:several variants of these random generators yield network instances that havecompetitive accuracy on the ImageNet benchmark. These results suggest that newefforts focusing on designing better network generators may lead to newbreakthroughs by exploring less constrained search spaces with more room fornovel design.
Quick Read (beta)
Exploring Randomly Wired Neural Networks for Image Recognition
Neural networks for image recognition have evolved through extensive manual design from simple chain-like models to structures with multiple wiring paths. The success of ResNets  and DenseNets  is due in large part to their innovative wiring plans. Now, neural architecture search (NAS) studies are exploring the joint optimization of wiring and operation types, however, the space of possible wirings is constrained and still driven by manual design despite being searched. In this paper, we explore a more diverse set of connectivity patterns through the lens of randomly wired neural networks. To do this, we first define the concept of a stochastic network generator that encapsulates the entire network generation process. Encapsulation provides a unified view of NAS and randomly wired networks. Then, we use three classical random graph models to generate randomly wired graphs for networks. The results are surprising: several variants of these random generators yield network instances that have competitive accuracy on the ImageNet benchmark. These results suggest that new efforts focusing on designing better network generators may lead to new breakthroughs by exploring less constrained search spaces with more room for novel design.
What we call deep learning today descends from the connectionist approach to cognitive science [38, 7]—a paradigm reflecting the hypothesis that how computational networks are wired is crucial for building intelligent machines. Echoing this perspective, recent advances in computer vision have been driven by moving from models with chain-like wiring [19, 53, 42, 43] to more elaborate connectivity patterns, e.g., ResNet  and DenseNet , that are effective in large part because of how they are wired.
Advancing this trend, neural architecture search (NAS) [55, 56] has emerged as a promising direction for jointly searching wiring patterns and which operations to perform. NAS methods focus on search [55, 56, 33, 26, 29, 27] while implicitly relying on an important—yet largely overlooked—component that we call a network generator (defined in §3.1). The NAS network generator defines a family of possible wiring patterns from which networks are sampled subject to a learnable probability distribution. However, like the wiring patterns in ResNet and DenseNet, the NAS network generator is hand designed and the space of allowed wiring patterns is constrained in a small subset of all possible graphs. Given this perspective, we ask: What happens if we loosen this constraint and design novel network generators?
We explore this question through the lens of randomly wired neural networks that are sampled from stochastic network generators, in which a human-designed random process defines generation. To reduce bias from us—the authors of this paper—on the generators, we use three classical families of random graph models in graph theory : the Erdős-Rényi (ER) , Barabási-Albert (BA) , and Watts-Strogatz (WS)  models. To define complete networks, we convert a random graph into a directed acyclic graph (DAG) and apply a simple mapping from nodes to their functional roles (e.g., to the same type of convolution).
The results are surprising: several variants of these random generators yield networks with competitive accuracy on ImageNet . The best generators, which use the WS model, produce multiple networks that outperform or are comparable to their fully manually designed counterparts and the networks found by various neural architecture search methods. We also observe that the variance of accuracy is low for different random networks produced by the same generator, yet there can be clear accuracy gaps between different generators. These observations suggest that the network generator design is important.
We note that these randomly wired networks are not “prior free” even though they are random. Many strong priors are in fact implicitly designed into the generator, including the choice of a particular rule and distribution to control the probability of wiring or not wiring certain nodes together. Each random graph model [6, 50, 1] has certain probabilistic behaviors such that sampled graphs likely exhibit certain properties (e.g., WS is highly clustered ). Ultimately, the generator design determines a probabilistic distribution over networks, and as a result these networks tend to have certain properties. The generator design underlies the prior and thus should not be overlooked.
Our work explores a direction orthogonal to concurrent work on random search for NAS [23, 41]. These studies show that random search is competitive in “the NAS search space” [55, 56], i.e., the “NAS network generator” in our perspective. Their results can be understood as showing that the prior induced by the NAS generator design tends to produce good models, similar to our observations. In contrast to [23, 41], our work goes beyond the design of established NAS generators and explores different random generator designs.
Finally, our work suggests a new transition from designing an individual network to designing a network generator may be possible, analogous to how our community have transitioned from designing features to designing a network that learns features. Rather than focusing primarily on search with a fixed generator, we suggest designing new network generators that produce new families of models for searching. The importance of the designed network generator (in NAS and elsewhere) also implies that machine learning has not been automated (c.f. “AutoML” )—the underlying human design and prior shift from network engineering to network generator engineering.
2 Related Work
Early recurrent and convolutional neural networks (RNNs and CNNs) [37, 21] use chain-like wiring patterns. LSTMs  use more sophisticated wiring to create a gating mechanism. Inception CNNs [45, 46, 44] concatenate multiple, irregular branching pathways, while ResNets  use as a regular wiring template; DenseNets  use concatenation instead: . The LSTM, Inception, ResNet, and DenseNet wiring patterns are effective in general, beyond any individual instantiation.
Neural architecture search (NAS).
Zoph and Le  define a NAS search space and investigate reinforcement learning (RL) as an optimization algorithm. Recent research on NAS mainly focuses on optimization methods, including RL [55, 56], progressive , gradient-based [29, 27], weight-sharing , evolutionary , and random search [23, 41] methods. The search space in these NAS works, determined by the network generator implicit in , is largely unchanged in these works. While this is reasonable for comparing optimization methods, it inherently limits the set of feasible solutions.
Randomly wired machines.
Pioneers of artificial intelligence were originally interested in randomly wired hardware and their implementation in computer programs (i.e., artificial neural networks). In 1940s, Turing  suggested a concept of unorganized machines, which is a form of the earliest randomly connected neural networks. One of the first neural network learning machines, designed by Minsky  in 1950s and implemented using vacuum tubes, was randomly wired. In late 1950s the “Mark I Perceptron” visual recognition machine built by Rosenblatt  used an array of randomly connected photocells.
Relation to neuroscience.
Turing  analogized the unorganized machines to an infant human’s cortex. Rosenblatt  pointed out that “the physical connections of the nervous system … are not identical from one organism to another”, and “at birth, the construction of the most important networks is largely random.” Studies [50, 48] have observed that the neural network of a nematode (a worm) with about 300 neurons is a graph with small-world properties . Random graph modeling has been used as a tool to study the neural networks of human brains [2, 4, 3].
Random graphs in graph theory.
Random graphs are widely studied in graph theory . Random graphs exhibit different probabilistic behaviors depending on the random process defined by the model (e.g., [6, 1, 50]). The definition of the random graph model determines the prior knowledge encoded in the resulting graphs (e.g., small-world ) and may connect them to naturally occurring phenomena. As a result, random graph models are an effective tool for modeling and analyzing real-world graphs, e.g., social networks, world wide web, citation networks.
We now introduce the concept of a network generator, which is the foundation of randomly wired neural networks.
3.1 Network Generators
We define a network generator as a mapping from a parameter space to a space of neural network architectures , . For a given , returns a neural network instance . The set is typically a family of related networks, for example, VGG nets , ResNets , or DenseNets .
The generator determines, among other concerns, how the computational graph is wired. For example, in ResNets a generator produces a stack of blocks that compute . The parameters specify the instantiated network and may contain diverse information. For example, in a ResNet generator, can specify the number of stages, number of residual blocks for each stage, depth/width/filter sizes, activation types, etc.
Intuitively, one may think of as a function in a programming language, e.g. Python, that takes a list of arguments (corresponding to ), and returns a network architecture. The network representation returned by the generator is symbolic, meaning that it specifies the type of operations that are performed and the flow of data; it does not include values of network weights,11 1 We use parameters to refer to network generator arguments and weights to refer to the learnable weights and biases of a generated network. which are learned from data after a network is generated.
Stochastic network generators.
The above network generator performs a deterministic mapping: given the same , it always returns the same network architecture . We can extend to accept an additional argument that is the seed of a pseudo-random number generator that is used internally by . Given this seed, one can construct a (pseudo) random family of networks by calling multiple times, keeping fixed but changing the value of . For a fixed value of , a uniform probability distribution over all possible seed values induces a (likely non-uniform) probability distribution over . We call generators of the form stochastic network generators.
NAS from the network generator perspective.
The NAS methods of [55, 56] utilize an LSTM “controller” in the process of generating network architectures. But the LSTM is only part of the complete NAS network generator, which is in fact a stochastic network generator, as illustrated next.
The weight matrices of the LSTM are the parameters of the generator. The output of each LSTM time-step is a probability distribution conditioned on . Given this distribution and the seed , each step samples a construction action (e.g., insert an operator, connect two nodes). The parameters of the LSTM controller, due to its probabilistic behavior, are optimized (searched for) by RL in [55, 56].
However, the LSTM is not the only component in the NAS network generator . There are also hand-designed rules defined to map the sampled actions to a computational DAG, and these rules are also part of . Using the node/edge terminology in graph theory, for a NAS network in , if we map a combination operation (e.g., sum) to a node and a unary transformation (e.g., conv) to an edge (see the supplement), the rules of the NAS generator include, but are not limit to:
A subgraph to be searched, called a cell , always accepts the activations of the output nodes from the 2 immediately preceding cells;
Each cell contains 5 nodes that are wired to 2 and only 2 existing nodes, chosen by sampling from the probability distribution output by the LSTM;
All nodes that have no output in a cell are concatenated by an extra node to form a valid DAG for the cell.
All of the generation rules, together with the choice of using an LSTM, and other hyper-parameters of the system (e.g., the number of nodes, say, 5), comprise the NAS network generator that produces a full DAG. It is also worth noticing that the view of “node as combination and edge as transformation” is not the only way to interpret a neural network as a graph, and so it is not the only way to turn a general graph into a neural network (we use a different mapping in §3.2).
Encapsulating the complete generation process, as we have illustrated, reveals which components are optimized and which are hard-coded. It now becomes explicit that the network space has been carefully restricted by hand-designed rules. For example, the rules listed above suggest that each of the 5 nodes in a cell always has precisely input degree22 2 In graph theory, “degree” is the number of edges connected to a node. We refer to “input/output degree” as that of input/output edges to a node. 2 and output degree 1 (see the supplement). This does not cover all possible 5-(internal-)node graphs. It is in a highly restricted network space. Viewing NAS from the perspective of a network generator helps explain the recently demonstrated ineffectiveness of sophisticated optimization vs. random search [23, 41]: the manual design in the NAS network generator is a strong prior, which represents a meta-optimization beyond the search over (by RL, e.g.) and (by random search).
3.2 Randomly Wired Neural Networks
Our analysis of NAS reveals that the network generator is hand-designed and encodes a prior from human knowledge. It is likely that the design of the network generator plays a considerable role—if so, current methods are short of achieving “AutoML”  and still involve significant human effort (c.f. “Our experiments show that Neural Architecture Search can design good models from scratch.” , emphasis added). To investigate how important the generator design is, it is not sufficient to compare different optimizers (sophisticated or random) for the same NAS generator; it is necessary to study new network generators that are substantially different from the NAS generator.
This leads to our exploration of randomly wired neural networks. That is, we will define network generators that yield networks with random graphs, subject to different human-specific priors. To minimize the human bias from us—the authors of this paper—on the prior, we will use three classical random graph models in our study ([6, 1, 50]; §3.3). Our methodology for generating randomly wired networks involves the following concepts:
Generating general graphs.
Our network generator starts by generating a general graph (in the sense of graph theory). It generates a set of nodes and edges that connect nodes, without restricting how the graphs correspond to neural networks. This allows us to freely use any general graph generator from graph theory (ER/BA/WS). Once a graph is obtained, it is mapped to a computable neural network.
The mapping from a general graph to neural network operations is in itself arbitrary, and thus also human-designed. We intentionally use a simple mapping, discussed next, so that we can focus on graph wiring patterns.
Assuming by construction that the graph is directed, we define that edges are data flow, i.e., a directed edge sends data (a tensor) from one node to another node.
A node in a directed graph may have some input edges and some output edges. We define the operations represented by one node (Figure 2) as:
- Aggregation: The input data (from one or more edges) to a node are combined via a weighted sum; the weights are learnable and positive.33 3 Applying sigmoid on unrestricted weights ensures they are positive.
- Transformation: The aggregated data is processed by a transformation defined as a ReLU-convolution-BN triplet44 4 Instead of a triplet with a convolution followed by BN  then ReLU , we use the ReLU-convolution-BN triplet, as it means the aggregation (at the next nodes) can receive positive and negative activation, preventing the aggregated activation from being inflated in case of a large input degree. . The same type of convolution is used for all nodes, e.g., a 33 separable convolution55 5 Various implementations of separable convolutions exist. We use the form of : a 33 separable convolution is a 33 depth-wise convolution followed by a 11 convolution, with no non-linearity in between. by default.
- Distribution: The same copy of the transformed data is sent out by the output edges of the node.
These operations have some nice properties:
(i) Additive aggregation (unlike concatenation) maintains the same number of output channels as input channels, and this prevents the convolution that follows from growing large in computation, which may increase the importance of nodes with large input degree simply because they increase computation, not because of how they are wired.
(ii) The transformation should have the same number of output and input channels (unless switching stages; discussed later), to make sure the transformed data can be combined with the data from any other nodes. Fixing the channel count then keeps the FLOPs (floating-point operations) and parameter count unchanged for each node, regardless of its input and output degrees.
(iii) Aggregation and distribution are almost parameter-free (except for a negligible number of parameters for weighted summation), regardless of input and output degrees. Also, given that every edge is parameter-free the overall FLOPs and parameter count of a graph are roughly proportional to the number of nodes, and nearly independent of the number of edges.
These properties nearly decouple FLOPs and parameter count from network wiring, e.g., the deviation of FLOPs is typically 2% among our random network instances or different generators. This enables the comparison of different graphs without inflating/deflating model complexity. Differences in task performance are therefore reflective of the properties of the wiring pattern.
Input and output nodes.
Thus far, a general graph is not yet a valid neural network even given the edge/node operations, because it may have multiple input nodes (i.e., those without any input edge) and multiple output nodes. It is desirable to have a single input and a single output for typical neural networks, e.g., for image classification. We apply a simple post-processing step.
For a given general graph, we create a single extra node that is connected to all original input nodes. This is the unique input node that sends out the same copy of input data to all original input nodes. Similarly, we create a single extra node that is connected to all original output nodes. This is the unique output node; we have it compute the (unweighted) average from all original output nodes. These two nodes perform no convolution. When referring to the node count , we exclude these two nodes.
With unique input and output nodes, it is sufficient for a graph to represent a valid neural network. Nevertheless, in image classification in particular, networks that maintain the full input resolution throughout are not desirable. It is common [19, 43, 11, 56] to divide a network into stages that progressively down-sample feature maps.
We use a simple strategy: the random graph generated above defines one stage. Analogous to the stages in a ResNet, e.g., conv , our entire network consists of multiple stages. One random graph represents one stage, and it is connected to its preceding/succeeding stage by its unique input/output node. For all nodes that are directly connected to the input node, their transformations are modified to have a stride of 2. The channel count in a random graph is increased by 2 when going from one stage to the next stage, following .
Table 1 summarizes the randomly wired neural networks, referred to as RandWire, used in our experiments. They come in small and regular complexity regimes (more in §4). For conv and/or conv we use a single convolutional layer for simplicity with multiple random graphs following. The network ends with a classifier output (Table 1, last row). Figure 1 shows full computation graphs of three randomly wired network samples.
|stage||output||small regime||regular regime|
|5656||33 conv,||random wiring|
|2828||random wiring||random wiring|
|1414||random wiring||random wiring|
|77||random wiring||random wiring|
|classifier||11||11 conv, 1280-d|
|global average pool, 1000-d fc, softmax|
3.3 Random Graph Models
We now describe in brief the three classical random graph models used in our study. We emphasize that these random graph models are not proposed by this paper; we describe them for completeness. The three classical models all generate undirected graphs; we use a simple heuristic to turn them into DAGs (see the supplement).
In the ER model [8, 6], with nodes, an edge between two nodes is connected with probability , independent of all other nodes and edges. This process is iterated for all pairs of nodes. The ER generation model has only a single parameter , and is denoted as ER.
Any graph with nodes has non-zero probability of being generated by the ER model, including graphs that are disconnected. However, a graph generated by ER has high probability of being a single connected component if . This provides one example of an implicit bias introduced by a generator.
The BA model  generates a random graph by sequentially adding new nodes. The initial state is nodes without any edges (). The method sequentially adds a new node with new edges. For a node to be added, it will be connected to an existing node with probability proportional to ’s degree. The new node repeatedly adds non-duplicate edges in this way until it has edges. Then this is iterated until the graph has nodes. The BA generation model has only a single parameter , and is denoted as BA.
Any graph generated by BA has exactly edges. So the set of all graphs generated by BA is a subset of all possible -node graphs—this gives one example on how an underlying prior can be introduced by the graph generator in spite of randomness.
The WS model  was defined to generate small-world graphs . Initially, the nodes are regularly placed in a ring and each node is connected to its neighbors on both sides ( is an even number). Then, in a clockwise loop, for every node , the edge that connects to its clockwise -th next node is rewired with probability . “Rewiring” is defined as uniformly choosing a random node that is not and that is not a duplicate edge. This loop is repeated times for . and are the only two parameters of the WS model, denoted as WS.
Any graph generated by WS has exactly edges. WS only covers a small subset of all possible -node graphs too, but this subset is different from the subset covered by BA. This provides an example on how a different underlying prior has been introduced.
3.4 Design and Optimization
Our randomly wired neural networks are generated by a stochastic network generator . The random graph parameters, namely, , , in ER, BA, WS respectively, are part of the parameters . The “optimization” of such a 1- or 2-parameter space is essentially done by trial-and-error by human designers, e.g., by line/grid search. Conceptually, such “optimization” is not distinct from many other designs involved in our and other models (including NAS), e.g., the number of nodes, stages, and filters.
Optimization can also be done by scanning the random seed , which is an implementation of random search. Random search is possible for any stochastic network generator, including ours and NAS. But as we present by experiment, the accuracy variation of our networks is small for different seeds , suggesting that the benefit of random search may be small. So we perform no random search and report mean accuracy of multiple random network instances. As such, our network generator has minimal optimization (1- or 2-parameter grid search) beyond their hand-coded design.
We conduct experiments on the ImageNet 1000-class classification task . We train on the training set with 1.28M images and test on the 50K validation images.
Our experiments span a small computation regime (e.g., MobileNet  and ShuffleNet ) and a regular computation regime (e.g., ResNet-50/101 ). RandWire nets in these regimes are in Table 1, where nodes and channels determine network complexity. We set , and then set to the nearest integer such that target model complexity is met: in the small regime, and or in the regular regime.
For each generator, we randomly sample 5 network instances (5 random seeds), train them from scratch, and evaluate accuracy for each instance. To emphasize that we perform no random search for each generator, we report the classification accuracy with “meanstd” for all 5 random seeds (i.e., we do not pick the best). We use the same seeds 1, , 5 for all experiments.
We train our networks for 100 epochs, unless noted. We use a half-period-cosine shaped learning rate decay [28, 16]. The initial learning rate is 0.1, the weight decay is 5e-5, and the momentum is 0.9. We use label smoothing regularization  with a coefficient of 0.1. Other details of the training procedure are the same as .
4.1 Analysis Experiments
Random graph generators.
Figure 3 compares the results of different generators in the small computation regime: each RandWire net has 580M FLOPs. Figure 4 visualizes one example graph for each generator. The graph generator is specified by the random graph model (ER/BA/WS) and its set of parameters: e.g., ER. We observe:
All random generators provide decent accuracy over all 5 random network instances; none of them fails to converge. ER, BA, and WS all have certain settings that yield mean accuracy of 73%, within a 1% gap from the best mean accuracy of 73.8% from WS.
Moreover, the variation among the random network instances is low. Almost all random generators in Figure 3 have an standard deviation (std) of 0.20.4%. As a comparison, training the same instance of a ResNet-50 multiple times has a typical std of 0.10.2% . The observed low variance of our random generators suggests that even without random search (i.e., picking the best from several random instances), it is likely that the accuracy of a network instance is close to the mean accuracy, subject to some noise.
On the other hand, different random generators may have a gap between their mean accuracies, e.g., BA has 70.7% accuracy and is 3% lower than WS. This suggests that random generator design, including the wiring priors (BA vs. WS) and generation parameters, plays an important role in the accuracy of sampled network instances.
We explore graph damage by randomly removing one node or edge—an ablative setting inspired by [22, 49]. Formally, given a network instance after training, we remove one node or one edge from the graph and evaluate the validation accuracy without any further training.
When a node is removed, we evaluate the accuracy loss () vs. the output degree of that node (Figure 5, top). It is clear that ER, BA, and WS behave differently under such damage. For networks generated by WS, the mean degradation of accuracy is larger when the output degree of the removed node is higher. This implies that “hub” nodes in WS that send information to many nodes are influential.
When an edge is removed, we evaluate the accuracy loss vs. the input degree of this edge’s target node (Figure 5, bottom). If the input degree of an edge’s target node is smaller, removing this edge tends to change a larger portion of the target node’s inputs. This trend can be seen by the fact that the accuracy loss is generally decreasing along the x-axis in Figure 5 (bottom). The ER model is less sensitive to edge removal, possibly because in ER’s definition wiring of every edge is independent.
Thus far, all models in our experiment use a 33 separable convolution as the “conv” in Figure 2. Next we evaluate alternative choices. We consider: (i) 33 (regular) convolution, and (ii) 33 max-/average-pooling followed by a 11 convolution. We replace the transformation of all nodes with the specified alternative. We adjust the factor to keep the complexity of all alternative networks.
Figure 6 shows the mean accuracy for each of the generators listed in Figure 3. Interestingly, almost all networks still converge to non-trivial results. Even “33 pool with 11 conv” performs similarly to “33 conv”. The network generators roughly maintain their accuracy ranking despite the operation replacement; in fact, the Pearson correlation between any two series in Figure 5 is . This suggests that the network wiring plays a role somewhat orthogonal to the role of the chosen operations.
|network||top-1 acc.||top-5 acc.||FLOPs (M)||params (M)|
|MobileNet v2 ||74.7||-||585||6.9|
|ShuffleNet v2 ||73.7||-||524||5|
Small computation regime.
Table 2 compares our results in the small computation regime, a common setting studied in existing NAS papers. Instead of training for 100 epochs, here we train for 250 epochs following settings in [56, 34, 26, 27] for fair comparisons.
RandWire with WS has mean accuracy of 74.7% (with min 74.4% and max 75.0%). This result is better than or comparable to all existing hand-designed wiring (MobileNet/ShuffleNet) and NAS-based results, except for AmoebaNet-C . The mean accuracy achieved by RandWire is a competitive result, especially considering that we perform no random search in our random generators, and that we use a single operation type for all nodes.
|network||top-1 acc.||top-5 acc.||FLOPs (B)||params (M)|
|network||test||epochs||top-1 acc.||top-5 acc.||FLOPs (B)||params (M)|
Regular computation regime.
Next we compare the RandWire networks with ResNet-50/101  under similar FLOPs. In this regime, we use a regularization method inspired by our edge removal analysis: for each training mini-batch, we randomly remove one edge whose target node has input degree 1 with probability of 0.1. This regularization is similar to DropPath adopted in NAS . We train with a weight decay of 1e-5 and a DropOut  rate of 0.2 in the classifier fc layer. Other settings are the same as the small computation regime. We train the ResNet/ResNeXt competitors using the recipe of , but with the cosine schedule and label smoothing, for fair comparisons.
Table 3 compares RandWire with ResNet and ResNeXt under similar FLOPs as ResNet-50/101. Our mean accuracies are respectively 1.9% and 1.3% higher than ResNet-50 and ResNet-101, and are 0.6% higher than the ResNeXt counterparts. Both ResNe(X)t and RandWire can be thought of as hand-designed, but ResNe(X)t is based on designed wiring patterns, while RandWire uses a designed stochastic generator. These results illustrate different roles that manual design can play.
For completeness, we compare with the most accurate NAS-based networks, which use more computation. For simplicity, we use the same trained networks as in Table 3, but only increase the test image size to 320320 without retraining. Table 4 compares the results.
Our networks have mean accuracy 0.7%1.3% lower than the most accurate NAS results, but ours use only 2/3 FLOPs and 3/4 parameters. Our networks are trained for 100 epochs and not on the target image size, vs. the NAS methods which use 250 epochs and train on the target 331331 size. Our model has no search on operations, unlike NAS. These gaps will be explored in future work.
COCO object detection.
Finally, we report the transferability results by fine-tuning the networks for COCO object detection . We use Faster R-CNN  with FPN  as the object detector. Our fine-tuning is based on 1 setting of the publicly available Detectron . We simply replace the backbones with those in Table 3 (regular regime).
We explored randomly wired neural networks driven by three classical random graph models from graph theory. The results were surprising: the mean accuracy of these models is competitive with hand-designed and optimized models from recent work on neural architecture search. Our exploration was enabled by the novel concept of a network generator. We hope that future work exploring new generator designs may yield new, powerful networks designs.
Appendix A Appendix
Mapping a NAS cell to a graph.
If one maps a combining op (e.g., addition, concatenation) to a node, and a unary transformation (e.g., 33 conv, 55 conv, identity) to an edge (Figure 7, right), then all cells in the NAS search space share this property: internal nodes all have precisely input degree 2 and output degree 1. This is an implicit prior induced by the design.
The mapping from the NAS cell to a graph is not unique. One may map both combining and unary transformations to nodes, and data flow to edges (Figure 7, left). The above property on the NAS search space can be instead described as: internal merging nodes all have precisely input degree 2 and output degree 1.
Converting undirected graphs into DAGs.
ER, BA, and WS models generate random undirected graphs. We convert them to DAGs using a simple heuristic: we assign indices to all nodes in a graph, and set the direction of every edge as pointing from the smaller-index node to the larger-index one. This heuristic ensures that there is no cycle in the resulted directed graph. The node indexing strategies for the models are — ER: indices are assigned in a random order; BA: the initial nodes are assigned indices to , and all other nodes are indexed following their order of adding to the graph; WS: indices are assigned sequentially in the clockwise order.
-  R. Albert and A.-L. Barabási. Statistical mechanics of complex networks. Reviews of modern physics, 74(1):47, 2002.
-  D. S. Bassett and E. Bullmore. Small-world brain networks. The neuroscientist, 12(6):512–523, 2006.
-  D. S. Bassett and O. Sporns. Network neuroscience. Nature neuroscience, 20(3):353, 2017.
-  E. Bullmore and O. Sporns. Complex brain networks: graph theoretical analysis of structural and functional systems. Nature reviews neuroscience, 10(3):186, 2009.
-  F. Chollet. Xception: Deep learning with depthwise separable convolutions. In CVPR, 2017.
-  P. Erdős and A. Rényi. On the evolution of random graphs. Publ. Math. Inst. Hung. Acad. Sci, 5(1):17–60, 1960.
-  J. A. Fodor and Z. W. Pylyshyn. Connectionism and cognitive architecture: A critical analysis. Cognition, 28(1-2):3–71, 1988.
-  E. N. Gilbert. Random graphs. The Annals of Mathematical Statistics, 30(4):1141–1144, 12 1959.
-  R. Girshick, I. Radosavovic, G. Gkioxari, P. Dollár, and K. He. Detectron, 2018.
-  P. Goyal, P. Dollár, R. Girshick, P. Noordhuis, L. Wesolowski, A. Kyrola, A. Tulloch, Y. Jia, and K. He. Accurate, large minibatch SGD: Training ImageNet in 1 hour. arXiv:1706.02677, 2017.
-  K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In CVPR, 2016.
-  K. He, X. Zhang, S. Ren, and J. Sun. Identity mappings in deep residual networks. In ECCV, 2016.
-  G. E. Hinton, N. Srivastava, A. Krizhevsky, I. Sutskever, and R. R. Salakhutdinov. Improving neural networks by preventing co-adaptation of feature detectors. arXiv:1207.0580, 2012.
-  S. Hochreiter and J. Schmidhuber. Long short-term memory. Neural computation, 1997.
-  A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam. MobileNets: Efficient convolutional neural networks for mobile vision applications. arXiv:1704.04861, 2017.
-  G. Huang, Z. Liu, L. van der Maaten, and K. Q. Weinberger. Densely connected convolutional networks. In CVPR, 2017.
-  S. Ioffe and C. Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In ICML, 2015.
-  M. Kochen. The Small world. Ablex Pub., 1989.
-  A. Krizhevsky, I. Sutskever, and G. Hinton. Imagenet classification with deep convolutional neural networks. In NIPS, 2012.
-  Q. Le and B. Zoph. Using machine learning to explore neural network architecture. https://ai.googleblog.com/2017/05/using-machine-learning-to-explore.html, 2017.
-  Y. LeCun, B. Boser, J. S. Denker, D. Henderson, R. E. Howard, W. Hubbard, and L. D. Jackel. Backpropagation applied to handwritten zip code recognition. Neural computation, 1989.
-  Y. LeCun, J. S. Denker, and S. A. Solla. Optimal brain damage. In Advances in neural information processing systems, 1990.
-  L. Li and A. Talwalkar. Random search and reproducibility for neural architecture search. arXiv:1902.07638, 2019.
-  T.-Y. Lin, P. Dollár, R. Girshick, K. He, B. Hariharan, and S. Belongie. Feature pyramid networks for object detection. In CVPR, 2017.
-  T.-Y. Lin, M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Dollár, and C. L. Zitnick. Microsoft COCO: Common objects in context. In ECCV. 2014.
-  C. Liu, B. Zoph, M. Neumann, J. Shlens, W. Hua, L.-J. Li, L. Fei-Fei, A. Yuille, J. Huang, and K. Murphy. Progressive neural architecture search. In ECCV, 2018.
-  H. Liu, K. Simonyan, and Y. Yang. DARTS: Differentiable architecture search. In ICLR, 2019.
-  I. Loshchilov and F. Hutter. SGDR: Stochastic gradient descent with warm restarts. In ICLR, 2017.
-  R. Luo, F. Tian, T. Qin, E. Chen, and T.-Y. Liu. Neural architecture optimization. In NIPS, 2018.
-  N. Ma, X. Zhang, H.-T. Zheng, and J. Sun. Shufflenet v2: Practical guidelines for efficient cnn architecture design. In ECCV, 2018.
-  M. L. Minsky. Theory of neural-analog reinforcement systems and its application to the brain model problem. Princeton University., 1954.
-  V. Nair and G. E. Hinton. Rectified linear units improve restricted boltzmann machines. In ICML, 2010.
-  H. Pham, M. Y. Guan, B. Zoph, Q. V. Le, and J. Dean. Efficient neural architecture search via parameter sharing. In ICML, 2018.
-  E. Real, A. Aggarwal, Y. Huang, and Q. V. Le. Regularized evolution for image classifier architecture search. arXiv:1802.01548, 2018.
-  S. Ren, K. He, R. Girshick, and J. Sun. Faster R-CNN: Towards real-time object detection with region proposal networks. In NIPS, 2015.
-  F. Rosenblatt. The perceptron: a probabilistic model for information storage and organization in the brain. Psychological review, 65(6):386, 1958.
-  D. E. Rumelhart, G. E. Hinton, and R. J. Williams. Learning representations by back-propagating errors. Nature, 1986.
-  D. E. Rumelhart and J. L. McClelland. Parallel distributed processing: Explorations in the microstructure of cognition. 1986.
-  O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein, A. C. Berg, and L. Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. IJCV, 2015.
-  M. Sandler, A. Howard, M. Zhu, A. Zhmoginov, and L.-C. Chen. Mobilenetv2: Inverted residuals and linear bottlenecks. In CVPR, 2018.
-  C. Sciuto, K. Yu, M. Jaggi, C. Musat, and M. Salzmann. Evaluating the search phase of neural architecture search. arXiv:1902.08142, 2019.
-  P. Sermanet, D. Eigen, X. Zhang, M. Mathieu, R. Fergus, and Y. LeCun. Overfeat: Integrated recognition, localization and detection using convolutional networks. In ICLR, 2014.
-  K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. In ICLR, 2015.
-  C. Szegedy, S. Ioffe, and V. Vanhoucke. Inception-v4, inception-resnet and the impact of residual connections on learning. In ICLR Workshop, 2016.
-  C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich. Going deeper with convolutions. In CVPR, 2015.
-  C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wojna. Rethinking the inception architecture for computer vision. In CVPR, 2016.
-  A. M. Turing. Intelligent machinery. 1948.
-  L. R. Varshney, B. L. Chen, E. Paniagua, D. H. Hall, and D. B. Chklovskii. Structural properties of the caenorhabditis elegans neuronal network. PLoS computational biology, 7(2), 2011.
-  A. Veit, M. Wilber, and S. Belongie. Residual networks behave like ensembles of relatively shallow network. In NIPS, 2016.
-  D. J. Watts and S. H. Strogatz. Collective dynamics of ‘small-world’networks. Nature, 393(6684):440, 1998.
-  D. B. West et al. Introduction to graph theory, volume 2. Prentice hall Upper Saddle River, NJ, 1996.
-  S. Xie, R. Girshick, P. Dollár, Z. Tu, and K. He. Aggregated residual transformations for deep neural networks. In CVPR, 2017.
-  M. D. Zeiler and R. Fergus. Visualizing and understanding convolutional neural networks. In ECCV, 2014.
-  X. Zhang, X. Zhou, M. Lin, and J. Sun. ShuffleNet: An extremely efficient convolutional neural network for mobile devices. In CVPR, 2018.
-  B. Zoph and Q. V. Le. Neural architecture search with reinforcement learning. In ICML, 2017.
-  B. Zoph, V. Vasudevan, J. Shlens, and Q. V. Le. Learning transferable architectures for scalable image recognition. In CVPR, 2018.