ABSTRACT
Deep learning profoundly impacts various areas, such as face recognition and language translation. Owing to the increasingly high computational costs of training neural architectures, it is intractable to manually examine the performance of various neural architectures, promoting the area of Neural architecture search (NAS) that enables artificial intelligence (AI) automation. Despite the advance of NAS in automatically discovering the optimal neural networks, the fundamental understanding of the structure of neural architectures is limited. To fill the gap, we propose a method dubbed NASGraph that converts neural architectures to graphs whose graph properties determine their performances, enabling us to search for or design strong architectures. On various standard NAS benchmarks, NASGraph outperforms baseline NAS methods and requires remarkably fewer computation resources. The numerical results illuminate the relationship between neural architecture and its performance, complementing other approaches. Therefore, combining our approach with these approaches leads to performance improvement, but not combining the others. Our study offers a new perspective on network science for AI, potentially advancing various aspects of machine learning and uncovering the black box of convolutional neural networks.
Keywords: AI automation, deep learning, network property, neural architecture search
This paper proposes NASGraph, a graph‐based framework that represents neural architectures as graphs whose structural properties determine performance. By revealing structure–performance relationships, NASGraph enables efficient neural architecture search with significantly reduced computation. Experiments on standard NAS benchmarks show superior performance and provide new network‐science insights into convolutional neural networks.

1. Introduction
Deep learning is reshaping modern society in many aspects, from identifying objects in images [1, 2, 3, 4, 5], to reasoning based on text prompts [6, 7, 8, 9, 10] and generating images for given text descriptions [11, 12, 13, 14, 15]. However, computational resource consumption is the biggest issue. On the one hand, training a neural network becomes computationally costly as the model size scales up. With a fixed model size, a larger training dataset generally leads to a better‐trained model. Hence, a trend exists to train a model from scratch, which consumes a large amount of computational resources. On the other hand, architectural design plays a crucial role. For example, adding residual connections [16] in the model can greatly alleviate gradient vanishing or exploding issues appearing in deep networks. Finding an excellent architecture, however, is non‐trivial: it requires specialized knowledge and a tremendous amount of computational time. Besides, the existing manually designed architecture inevitably introduces human bias, potentially ignoring architecture variants that may perform better.
Neural architecture search (NAS) aims to automate the process of discovering state‐of‐the‐art (SOTA) deep learning models. The objective of NAS is to find an optimal neural architecture:
| (1) |
Here denotes the performance (e.g., a task‐specific loss function) of the neural architecture trained for a fixed number of epochs using a dataset, and is the search space. NAS techniques have shown competitive performance in various applications such as image classification [17, 18, 19, 20] and semantic segmentation [21, 22, 23, 24]. The pioneering work [25] based on reinforcement learning is resource intensive. To accelerate the search process, various approaches have been proposed, including weight sharing [26, 27], progressive complexity search stage [28, 29], gradient descent in the differentiable search space [30, 31, 32, 33, 34], predictor‐based NAS techniques [35, 36], Bayesian optimization [36, 37, 38], etc. The recent emergence of training‐free NAS [39, 40, 41] pushes the boundary of efficient NAS techniques further and greatly eases the computational burden. Training‐Free NAS uses a training dataset to compute a proxy metric in place of accuracy to rank the candidate architectures obtained by a single forward/backward propagation. It models trainability [42, 43, 44] and expressivity [45, 46, 47] to perform searches. However, despite finding some excellent architectures through search, the topological properties of these optimal neural architectures remain unknown, preventing us from fundamentally understanding neural network structures‐performance relationships. In NAS, the structure of the optimal neural architecture is searched and the corresponding optimal model weights are determined by the training dataset. Hence, we hypothesize that structure determines the performance of neural architectures.
Directly modifying the structure of neural architectures has been widely used to improve their performance. For example, in the structured network pruning, [48, 49, 50, 51], based on essential structural elements such as filters and layers. In the evolutionary NAS [52, 53, 54, 55, 56], model structures are constantly mutated to search for the optimal structure. Recently, two research directions have attempted to understand neural networks from a network science perspective by converting neural architectures to graphs. Relational graph [37, 57, 58, 59] considers connections between neural network layers or neural network blocks as graph edges and neural components as graph nodes that disregard the inherent difference between neural components. However, this approach oversimplifies the neural network model, and many configurations become indistinguishable. For another example, mapping a neural network to its line graph based on dynamical systems [60] also establishes the connection between the graph space and neural network space. Although this approach captures more details, the probing process requires training, which can be time‐consuming for large models. Nevertheless, the fundamental question which topology makes an excellent neural network remains unanswered.
2. Results
2.1. The Performance of the NASGraph Framework
We address these challenges by developing a NASGraph framework that maps a neural network to a graph whose property reflects the neural network performance, as shown in Figure 1f. Specifically, we define the inputs of each layer in the neural network as nodes in the graph. If a non‐zero input in the first layer results in a non‐zero input to the adjacent layer, we create a link between them (See Methods section for details). Once the graph is created, we extract the associated graph properties as NAS performance metrics to rank neural architectures on extensive standard NAS benchmarks. Figure 2a shows the Spearman's ranking correlation and Kendall's Tau correlation between model performances and graph properties on various standard NAS benchmarks. Figure 2b–d shows the correlation between test accuracy and average degree, where color indicates the number of architectures with the same performance and graph property. On all benchmarks, the average degree positively correlates with its performance, and many other graph properties (e.g., density, resilience, and wedge) strongly correlate with the neural architecture performance, reported in Supporting Information S.1.1, and Figures S3 and S4 (Supporting Information). The consistency in the correlation over a wide range of benchmarks exhibits the effectiveness of the NASGraph framework.
FIGURE 1.

An overview of the NASGraph framework. (a) Input images are fed into neural architectures to obtain performance for various downstream tasks. Different options of cells comprise the search space . The goal of the NASGraph framework is to find the neural architecture with the optimal performance. (b) Toy example of the conversion process to map a graph block to a subgraph. Conversions over all graph blocks constitute a graph. In each conversion step, only one channel of the input is activated. A forward propagation is performed to determine edge connections between nodes. (c) Graphs converted by the NASGraph framework. The proxy model is used to accelerate the search process. After graphs are established, neural architectures are searched based on graph properties. Owing to the high correlation between graph properties and the performance of neural architectures, no fitting is needed to predict, i.e., the search process is training‐free. (d) In the NAS search space, each neural architecture is uniquely mapped to a graph. (e) The goal of the NASGraph framework is to find the optimal neural architecture using graph properties as searching metrics. (f) Graph properties exhibiting correlation with the performance of neural architectures can be used as the training‐free NAS metric.
FIGURE 2.

The ranking correlation between the performance of neural architecture and the graph properties. (a) ranking correlation on different datasets for three benchmarks: (b) NAS‐Bench‐201, (c) TransNAS‐Bench‐101, (d) NDS. There are outliers (neural architectures with considerably lower test accuracy) in the NDS search space that are not shown in the visualization. They are considered in the computation of ranking correlation. In the NASGraph framework, each neural architecture is uniquely mapped to a graph, i.e., . Color map indicates the number of neural architectures with the same average degree and performance. The comparison of correlations with baseline methods is reported in Tables S1–S3, Supporting Information.
To better understand the topological properties of cell‐based NAS benchmark (such as The NAS‐Bench‐201 [61]), we compare the best and worst neural architectures found by the NASGraph framework as shown in Figure 5. The neural architecture with superior performance is converted to a remarkably denser graph than the one with inferior performance. The architecture with the highest score selected by avg_deg is the same as that chosen by the training‐free NAS metric synflow [62]. The advantage of our approach is that it offers an initiative understanding of the reason for excellent performance, which is different from the synflow based on the lottery ticket hypothesis [63], although both methods are data‐agnostic.
FIGURE 5.

Visualization of the best and worst neural architectures in the NAS‐Bench‐201 search space. Given a neural architecture , it is uniquely mapped to a graph . The proxy model is used to reduce the search cost for discovering neural architectures. (a) The neural architectures with the highest test accuracy. (b) Graph corresponding to the best neural architecture without using the proxy settings. (c) Graph corresponding to the best neural architecture using the proxy setting. (d) The neural architectures with the lowest test accuracy. (e) Graph corresponding to the worst neural architecture without using the proxy settings. (f) Graph corresponding to the worst neural architecture using the proxy setting.
2.2. Comparison with Baseline Approaches
To further demonstrate the effectiveness of our NASGraph framework, we compare it with other baseline methods from three aspects: datasets, search spaces, and cross‐tasks. First, using NAS‐Bench‐201 [61], we compare the ranking correlation between NASGraph and other training‐free NAS methods on three datasets shown in Supporting Information Table S1. Our method outperforms the baseline methods with excellent correlations, reliability for various real‐world datasets, and robustness for random initialization of model weights. Details about metric variation over different runs are reported in Supporting Information S.1.4. Second, for the same dataset, we demonstrate that our method performs superior in the five search spaces of NDS benchmark [64], such as AMOEBA, DARTS, ENAS, NASNet, and PNAS. The results are shown in Supporting Information Table S2. Third, to examine the performance of the proposed method in cross‐task NAS, we apply the NASGraph framework in TransNAS‐Bench‐101 [65], as shown in Supporting Information Table S3. We notice that jacob_cov performs best in this benchmark but is relatively inferior on other benchmarks, a common issue for NSA metrics [66, 67]. The performance of different graph properties is included in Supporting Information Table S11. In addition to comparing ranking correlation, we examine the performance of searched neural architectures within a fixed search space on Imagenet under the mobile setting [68, 69] (See Method). The performance comparison in Supporting Information Table S6 demonstrates that our approach performs better than baseline NAS methods. Overall, our method demonstrates excellent performance across all tasks.
2.3. Graph Property of NASGraph Complements Existing NAS Metrics
The NASGraph framework not only demonstrates excellent performance but also provides a unique perspective for understanding artificial neural networks through the lens of network science. Our approach is not merely a simple modification. While it is common to combine different techniques to enhance model performance, significant improvements are often observed when the combined approaches are quite different from each other. Therefore, we investigate the performance of integrating NASGraph framework with baseline metrics. Specifically, two metrics are combined by summing rankings of neural architectures by two metrics. We use a combination of avg_deg and jacob_cov metrics to predict model performance, i.e., rank(avg_deg) + rank(jacob_cov). For the case of tied ranking, we use the average values. By combining avg_deg with jacob_cov, increases from 0.58 to 0.66 on CIFAR‐10 ( improvement), from 0.60 to 0.67 on CIFAR‐100 ( improvement), from 0.57 to 0.62 on ImageNet‐16‐120 ( improvement). The combined metric can outperform all existing combinations reported in [40, 69], as shown in Supporting Information Table S5. Figure 3a,c,e shows the correlation between combined metric and model performance. More importantly, our findings reveal an intriguing consistency: despite the significant variations in accuracy across different datasets, the NASGraph method reliably ranks neural architectures irrespective of the training dataset used. As illustrated in Figure 3g, the performance of these architectures on three distinct datasets showcases a remarkable data‐agnostic property. This evidence strongly suggests that the top‐performing architectures are often associated with denser graphs, underscoring the potential advantages of employing our method in neural architecture evaluation.
FIGURE 3.

Correlation between test accuracy and combined rank (rank(avg_deg) + rank(jacob_cov)) of neural architectures. Correlation in the NAS‐Bench‐201 search space on various datasets: (a) CIFAR‐10. (c) CIFAR‐100. (e) ImageNet‐16‐120. The correlation between training‐free NAS methods on different datasets: (b) CIFAR‐10. (d) CIFAR‐100. (f) ImageNet‐16‐120. (g) Visualization of the neural architectures on three different datasets. Neural networks with a high average degree perform well across different datasets, validating the effectiveness of the data agnostic property of the NASGraph method.
We compute the ranking correlation between each pair of training‐free NAS metrics. When , two metrics provide an identical rank. Figure 3b,d,f shows the pairwise correlation on three datasets: CIFAR‐10, CIFAR‐100 and ImageNet‐16‐120. The correlation between avg_deg and jacob_cov is low (0.55), but the combination of these two metrics gives the optimal performance, indicating a complementarity between avg_deg and jacob_cov. Note that grad_norm and snip do not give the same rankings of all neural architectures. When we check the architecture rankings precisely using these two metrics, we find on CIFAR‐10, on CIFAR‐100, and on ImageNet‐16‐120. Our results show that the graph property of NASGraph complements existing NAS metrics.
2.4. The Bias to NAS Operations
Next, we examine the reasons behind the excellent performance of NASGraph and its integration with baseline approaches from the bias perspective. Increasing evidence suggests that many NAS metrics inherently favor certain operations while neglecting others within a search cell. This phenomenon is known as operation bias [66, 67], and it can lead to performance degradation.
To investigate this bias, we extract the top 10% of neural architectures from the NAS‐Bench‐201 benchmark and count the frequency of each NAS operation (avg_pool, none, nor_conv_11, nor_conv_33, skip_connect) in the selected subset. We illustrate the predicted distribution of operations in Figure 4a and the real distribution in Figure 4b. The frequency difference between predicted operation distribution and real distribution constitutes the bias toward operations in the NAS search space:
| (2) |
where is the distribution of operations, i.e., frequencies of operations in the search space, as shown in Figure 4c. We show the comparison of bias for training‐free NAS methods in Figure 4d–f. Compared to baseline methods, our method shows a low bias. Overall, combining avg_deg with jacob_cov gives the best prediction on the operation distribution. Averaged bias over three datasets is reported in Supporting Information Table S4.
FIGURE 4.

Comparison of the bias for training‐free NAS methods. Bias is computed based on (a) the predicted operation distribution and (b) the real operation distribution . Both (a) and (b) are schematic illustrations of the frequency distribution of operations. (c) The bias calculation is based on the ‐norm between these two distributions. The bias for neural architectures in the NAS‐Bench‐201 search space trained on various datasets is compared: (d) CIFAR‐10. (e) CIFAR‐100. (f) ImageNet‐16‐120.
The predicted operation distribution, in contrast to the real distribution, is shown in Supporting Information Figure S2. Our NASGraph framework shows a relatively low preference for skip_connect, whereas jacob_cov demonstrates a strong preference for it. As a result, integrating NASGraph with jacob_cov leads to a more balanced selection of skip_connect, partially explaining why this combination performs the best among all combined metrics. Another contributing factor relates to the properties of jacob_cov. The Jacobian for the ‐th neuron in the output of the layer with parameter evaluated at a point x is defined as [39] . While the jacob_cov metric considers the gradient of model parameters and focuses on the backpropagation process, the NASGraph framework considers the forward propagation for each graph block. Consequently, they complement each other, and the corresponding operation distribution is close to GT, resulting in a higher ranking correlation, as shown in Supporting Information Figure S2a–c.
2.5. Efficiency Analysis
In addition to performance, computational efficiency is essential for excellent algorithms. To demonstrate the efficiency of our NASGraph framework, we compare the running time and the mean and standard deviation of test accuracy with the highest training‐free metrics in Supporting Information Table S7. The “GT” in the table represents the highest test accuracy among the sampled neural architectures, showing that our approach not only performs comparably to the GT but also requires less time. It is important to note that while all baseline methods rely on GPU time, our method only utilizes CPU time. Despite the CPU and GPU differences, our method is faster than all baseline methods except for relu_logdet. Although it sacrifices some accuracy, the more lightweight surrogate model, NASGraph(1, 1, 3), achieves the fastest efficiency, requiring only 15% and 17% of the time needed by the fastest baseline method for a random search. Figure 6 shows the comparison of running time in the random search and that of energy consumption. The NASGraph framework is lightweight and remarkably reduces the computational costs.
FIGURE 6.

Comparison of the efficiency using the random search method. Architectures in the NAS‐Bench‐201 benchmark are searched to find the optimal ones. Different number of architectures is sampled from the search space for comparing the search efficiency: (a) , (b) . (c) We estimate the energy consumption using the multiplication of running time (s) and energy consumption rate (W) for two random search settings: (c) , (d) .
Next, we illustrate that the efficiency of our NASGraph framework stems from its two effective components: the first converts neural architectures into graphs, and the second computes the graph properties. The graph conversion process involves a single forward propagation without backpropagation to compute gradients, which enhances efficiency. The computational overhead associated with calculating graph properties is generally minimal. For example, given a graph where and , the time complexity for computing the average degree is . The computational time for other graph properties is detailed in Supporting Information Table S8.
3. Discussion
A fundamental question in deep neural networks is understanding the relationship between their structural configuration and performance. Increasing evidence indicates that manually designed neural networks exhibit repeated structural patterns. For example, residual connections [16] are widely utilized in CNNs [70, 71, 72] and transformers to enhance their performance [73]. Neural Architecture Search (NAS) aims to discover better neural architectures iteratively, but it falls short of uncovering the fundamental principles that govern the relationship between structure and performance. Despite recent efforts to map neural networks to relational graphs [57] or model the training processes as networked dynamical systems [60], we still cannot answer these fundamental questions. Inspired by the understanding that the forward propagation response from the input to its output contains valuable information about the original neural networks, we have developed a framework called NASGraph to provide insights into the architectural design of neural networks.
Our work introduces a novel mapping strategy that converts neural networks into graph representations. Each node in the graph corresponds to the inputs or outputs of the layers, and the connections between them denote the forward propagation process, depicting the pathways through which data flows. This method allows us to uniquely represent neural networks as graphs . Our empirical analysis shows that specific properties of graphs, such as average degree, serve as effective indicators of a neural network's performance. We discovered that they frequently outperform traditional NAS metrics by systematically examining these properties against established Neural Architecture Search (NAS) benchmarks. Additionally, the NASGraph framework is notable for its high efficiency in computing graph properties, making it an exceptionally effective tool for searching and refining neural networks and ultimately leading to improved performance across various applications. Our findings not only highlight the potential of graph properties as performance indicators but also establish a powerful and efficient means of optimizing neural networks for future advancements in the field. In the context of neural architecture design, the NASGraph framework facilitates the comparison of candidate models without requiring training, enabling efficient evaluation by eliminating the computational cost associated with model training.
We intend to explore several significant avenues moving forward. First, we will extend our efforts to benchmark against standard NAS metrics specifically for transformer architectures, ensuring our methods remain both applicable and competitive. Second, we plan to investigate innovative strategies for modeling graph nodes while balancing the tradeoff between efficiency and complexity. Finally, we are dedicated to designing an efficient algorithm and developing pioneering neural network models to guide us toward optimal performance.
4. Materials and Methods
4.1. Converting Neural Architecture to Graph
We propose a method dubbed NASGraph to convert the neural architectures to graphs. The NASGraph framework is shown in Figure 1. A neural architecture is uniquely mapped to a graph, i.e., .
Figure 1a shows the neural architecture . All possible cells comprise the search space . The basic element in the NASGraph framework is graph block. An example of a graph block is Conv‐BN‐ReLU (convolution layer followed by batch normalization layer, and then ReLU activation function). We use the notation to represent the ‐th graph block, where is the input to the graph block and is the model parameter. Figure 1c shows the converted graph . To accelerate the search process, we use the proxy model to reduce the model complexity. Graph nodes correspond to inputs to graph blocks, and graph edges are determined by the forward propagation over graph blocks.
We convert each graph block independently. All‐ones matrix is used as the input to the graph block in the forward propagation process. For the ‐th graph block, the input is , where is the number of channels, is the image height, and is the image width. All‐ones matrix provides an unbiased estimate of the contribution of the input to the output. The contribution is determined by the graph block itself. Further, to determine the contribution of the ‐th channel of the input on every channel of the output for the ‐th graph block, we apply a mask to the input so that only the ‐th channel is an all‐ones matrix and other channels are zero matrices . We evaluate the contribution of the ‐th channel to the output by performing a forward propagation as described by:
| (3) |
where is the ‐th graph block, is the Hadamard product, and are the parameters of the ‐th graph block. The score for the edge between the graph node and is determined by:
| (4) |
If is larger than 0, we build an edge between node and node that indicates the connection between ‐th channel of the input and ‐th channel of the output . Otherwise, there is no connection. We use a virtual input graph block of identity operation to take the input to the neural architecture into consideration. After iterating over all graph blocks, we can uniquely construct a graph .
When there are outputs from multiple graph blocks combined as the input to the same graph block. There are two ways of combining them. One is the concatenation while the other is the summation. These two ways are expressed by:
| (5) |
| (6) |
Our proposed method is able to incorporate these two cases. Details regarding dealing with these two cases are shown in Supporting Information Section S.1.3.
Figure 1b shows a toy example. There are two inputs to the graph block and both inputs have 4 channels. The conversion process for this graph block has 8 steps. The first step has the first channel of the left input to be all‐ones matrix while the rest of the channels be all‐zeros matrix . The forward propagation of the first step determines the connection between the first channel of the input mapped to the red and blue graph nodes and all channels of the output mapped to the pink and green graph nodes. In the last step, a subgraph is built. The conversion process in the NASGraph framework is shown in the Algorithm 1. We use a threshold to determine whether an edge is built.
ALGORITHM 1. Converting Neural Architecture to Graph in NASGraph Framework.
| 1: | Input: A neural architecture with Gaussian initialization, , and a threshold | |
| 2: | for do ▹ Loop through graph blocks | |
| 3: | for do ▹ This step can be done in parallel, see SI S.1.2 | |
| 4: | Applying the forward propagation according to Equation 3 | |
| 5: | Compute according to Equation 4 | |
| 6: |
if
|
|
| 7: | Build an edge between the graph node and | |
| 8: | end if | |
| 9: | end for | |
| 10: | end for | |
| 11: | Output: A graph |
We compare the correlation between graph properties and neural architecture performance with training‐free NAS proxies. zico [41] based on the theory of Gram Matrix [45] relates the training convergence rate and generalization capacity to mean and standard deviation of the gradients. relu_logdet (also dubbed naswot) [39] applies the theory on the number of linear regions to represent the model expressivity. jacob_cov [39] is based on the correlation of Jacobians with inputs. The model performance is negatively correlated to the correlation as the model can differentiate different inputs well [40]. grad_norm [40] sums the Euclidean norm of the gradients. It is consistent with the traditional network pruning theory: a larger magnitude of gradients indicates the importance of the model parameters. snip [74] is, based on the saliency metric in the network pruning [74], related to the connection sensitivity of neural network model. grasp [75] is based on the assumption that gradient flow is preserved in the efficient training. fisher [76] estimates fisher information of model parameters, synflow [62] preserves the total flow of synaptic strength.
4.2. Surrogate Model to Improve the Efficiency
To reduce computational overhead, NAS typically uses a training‐reduced proxy to obtain the performance of neural architectures. A systematic study is reported in EcoNAS [77] where four reducing factors are analyzed: (1) number of epochs, (2) resolution of input images, (3) number of training samples, (4) number of channels for Convolution Neural Networks (CNNs). To accelerate NASGraph framework, we also consider the surrogate models, i.e., models with computationally reduced settings. We dub the surrogate model NASGraph(c, n, m), where is the number of channels, is the number of search cells in a module, and is the number of modules. The number of channels corresponds to the output channel of the steam layer of the model. Taking architectures on the NAS‐Bench‐201 benchmark as an example, the stem layer maps input . The dimension is the number of channels for the surrogate model NASGraph(c, n, m). We use the surrogate model NASGraph(16, 1, 3) as the default model in the NASGraph framework.
4.3. Search Neural Architectures in a Fixed Search Space
Given a fixed search space , we use avg_deg as the metric to predict the performance. We use DARTS [30] search space to sample neural architecture candidates and the ImageNet dataset [78] to train and evaluate model performance. Following the setting in [32, 68, 69], neural architectures are stacked with 14 cells and the initial channel number is set to be 48. The spatial resolution is downscaled to given the input image size of using the first three convolution layers of stride 2. The performance of neural architectures with the highest avg_deg score is used to report the performance of the searched neural architecture.
4.4. Random Search
We evaluate the effectiveness and efficiency of the NASGraph framework using the random search algorithm as shown in Algorithm 2. A total number of neural architectures are randomly sampled from the same benchmark. Metrics are computed as scores by a single forward or backward propagation over neural architectures with randomly initialized parameters. Scores are used to rank neural architectures. The performance of the neural architecture with the highest score is reported as the best performance of sampled architectures. We test the proposed framework on the NAS‐Bench‐201 benchmark. and neural architectures are randomly sampled. Randomly initialized model weights follow a Gaussian distribution. The random search process is repeated 100 times. We report the mean and standard deviation of the test accuracies associated with the highest scores.
ALGORITHM 2. Random Search Algorithm Using Single Metric.
| 1: | net_generator = RandomGenerator() | |
| 2: | score_highest, net_best = None, 0 | |
| 3: |
for
|
|
| 4: | net = net_generator.pick_net() | |
| 5: | score = ComputeMetric(net) | |
| 6: | if score score_highest then | |
| 7: | score_highest = score | |
| 8: | net_best = net | |
| 9: | end if | |
| 10: | end for | |
| 11: | acc_best = ExtractAccFromBenchmark(net_best) |
4.5. Graph Property Computation
After converting neural architectures to graphs ( and ) using NASGraph, we compute graph properties as NAS proxies. Four graph properties of average degree, density, resilience parameter [79], and wedge count [80] are examined for searching neural architectures. ① The average degree calculates the average number of edges for one graph node. The average degree is expressed by , where is the degree of node . ② The density measures the ratio of the total number of edges to the maximum number of possible edges, . ③ The resilience parameter of a DAG [79] is defined by , where is the all‐ones vector, is the vector of incoming degrees, and is the adjacency matrix of the graph. ④ The wedge count counts the number of wedges [80], and a wedge is defined as a two‐hop path in an undirected graph. It is related to the triangle density of an undirected graph. The wedge count is expressed by . Supporting Information Table S8 summarizes these graph properties and their computation complexity.
Conflicts of Interest
The authors declare no conflict of interest.
Supporting information
Supporting File: advs74506‐sup‐0001‐SuppMat.pdf
Acknowledgements
We acknowledge the support of the USA National Science Foundation under grant #2047488 and the Rensselaer‐IBM Future of Computing Research Collaboration (FCRC). Besides, we thank the Artificial Intelligence Multiprocessing Optimized System for providing computational resources.
Data Availability Statement
The data that support the findings of this study are available from the corresponding author upon reasonable request.
References
- 1. Yu C., Wang J., Peng C., Gao C., Yu G., and Sang N., “Bisenet: Bilateral Segmentation Network for Real‐Time Semantic Segmentation,” in Proceedings of the European Conference on Computer Vision (ECCV) (2018), 325–341.
- 2. Wang P., Chen P., Yuan Y., et al., “Understanding Convolution for Semantic Segmentation,” in 2018 IEEE Winter Conference on Applications of Computer Vision (WACV) (IEEE, 2018),1451–1460. [Google Scholar]
- 3. Strudel R., Garcia R., Laptev I., and Schmid C., “Segmenter: Transformer for Semantic Segmentation,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (2021), 7262–7272.
- 4. Kirillov A., Mintun E., Ravi N., et al., “Segment Anything,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (2023), 4015–4026.
- 5. Ke L., Ye M., Danelljan M., et al., “Segment Anything in High Quality,” Advances in Neural Information Processing Systems 36 (2024). [Google Scholar]
- 6. Brown T. B., “Language Models Are Few‐Shot Learners,” arXiv Preprint arXiv:2005.14165 (2020).
- 7. Touvron H., Lavril T., Izacard G., et al., “Llama: Open and Efficient Foundation Language Models,” arXiv Preprint arXiv:2302.13971 (2023).
- 8. Touvron H., Martin L., Stone K., et al., “Llama 2: Open Foundation and Fine‐Tuned Chat Models,” arXiv Preprint arXiv:2307.09288 (2023).
- 9. Anil R., Dai A. M., Firat O., et al., “Palm 2 Technical Report,” arXiv Preprint arXiv:2305.10403 (2023).
- 10. Wu S., Irsoy O., Lu S., et al., “Bloomberggpt: A Large Language Model for Finance,” arXiv Preprint arXiv:2303.17564 (2023).
- 11. Rombach R., Blattmann A., Lorenz D., Esser P., and Ommer B., “High‐Resolution Image Synthesis With Latent Diffusion Models,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (2022), 10684–10695.
- 12. Saharia C., Chan W., Saxena S., et al., “Photorealistic Text‐to‐Image Diffusion Models With Deep Language Understanding,” Advances in Neural Information Processing Systems 35 (2022): 36479–36494. [Google Scholar]
- 13. Zhang L., Rao A., and Agrawala M., “Adding Conditional Control to Text‐to‐Image Diffusion Models,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (2023), 3836–3847.
- 14. Ruiz N., Li Y., Jampani V., Pritch Y., Rubinstein M., and Aberman K., “Dreambooth: Fine Tuning Text‐to‐Image Diffusion Models for Subject‐Driven Generation,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (2023), 22500–22510.
- 15. Schuhmann C., Beaumont R., Vencu R., et al., “Laion‐5b: An Open Large‐Scale Dataset for Training Next Generation Image‐Text Models,” Advances in Neural Information Processing Systems 35 (2022): 25278–25294. [Google Scholar]
- 16. He K., Zhang X., Ren S., and Sun J., “Deep Residual Learning for Image Recognition,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (2016), 770–778.
- 17. Zoph B., Vasudevan V., Shlens J., and Le Q. V., “Learning Transferable Architectures for Scalable Image Recognition,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (2018), 8697–8710.
- 18. Real E., Aggarwal A., Huang Y., and Le Q. V., “Regularized Evolution for Image Classifier Architecture Search,” in Proceedings of the AAAI Conference on Artificial Intelligence , vol. 33 (2019), 4780–4789. [Google Scholar]
- 19. Tan M. and Le Q., “Efficientnet: Rethinking Model Scaling for Convolutional Neural Networks,” in International Conference on Machine Learning (PMLR, 2019), 6105–6114. [Google Scholar]
- 20. Zhan L., Fan J., Ye P., and Cao J., “A2s‐Nas: Asymmetric Spectral‐Spatial Neural Architecture Search for Hyperspectral Image Classification,” in ICASSP 2023–2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) (IEEE, 2023), 1–5. [Google Scholar]
- 21. Chen Y., Yang T., Zhang X., Meng G., Xiao X., and Sun J., “Detnas: Backbone Search for Object Detection,” Advances in Neural Information Processing Systems 32 (2019). [Google Scholar]
- 22. Ghiasi G., Lin T.‐Y., and Le Q. V., “Nas‐Fpn: Learning Scalable Feature Pyramid Architecture for Object Detection,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (2019), 7036–7045.
- 23. Liu C., Chen L.‐C., Schroff F., et al., “Auto‐Deeplab: Hierarchical Neural Architecture Search for Semantic Image Segmentation,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (2019), 82–92.
- 24. Zhang X., Xu H., Mo H., et al., “Dcnas: Densely Connected Neural Architecture Search for Semantic Image Segmentation,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (2021), 13956–13967.
- 25. Zoph B. and Le Q. V., “Neural Architecture Search With Reinforcement Learning,” arXiv Preprint arXiv:1611.01578 (2016).
- 26. Pham H., Guan M., Zoph B., Le Q., and Dean J., “Efficient Neural Architecture Search via Parameters Sharing,” in International Conference on Machine Learning (PMLR, 2018), 4095–4104. [Google Scholar]
- 27. Chu X., Zhang B., and Xu R., “Fairnas: Rethinking Evaluation Fairness of Weight Sharing Neural Architecture Search,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (2021), 12239–12248.
- 28. Liu C., Zoph B., Neumann M., et al., “Progressive Neural Architecture Search,” in Proceedings of the European Conference on Computer Vision (ECCV) (2018), 19–34.
- 29. Chen X., Xie L., Wu J., and Tian Q., “Progressive Darts: Bridging the Optimization Gap for Nas in the Wild,” International Journal of Computer Vision 129 (2021): 638–655. [Google Scholar]
- 30. Liu H., Simonyan K., and Yang Y., “Darts: Differentiable Architecture Search,” arXiv Preprint arXiv:1806.09055 (2018).
- 31. Chu X., Wang X., Zhang B., Lu S., Wei X., and Yan J., “Darts‐: Robustly Stepping Out of Performance Collapse Without Indicators,” arXiv Preprint arXiv:2009.01027 (2020).
- 32. Xu Y., Xie L., Zhang X., et al., “Pc‐Darts: Partial Channel Connections for Memory‐Efficient Architecture Search,” arXiv Preprint arXiv:1907.05737 (2019).
- 33. Chu X., Zhou T., Zhang B., and Li J., “Fair Darts: Eliminating Unfair Advantages in Differentiable Architecture Search,” in European Conference on Computer Vision (Springer, 2020), 465–480. [Google Scholar]
- 34. Ye P., Li B., Li Y., Chen T., Fan J., and Ouyang W., “B‐Darts: Beta‐Decay Regularization for Differentiable Architecture Search,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (2022), 10874–10883.
- 35. Ning X., Zheng Y., Zhao T., Wang Y., and Yang H., “A Generic Graph‐Based Neural Architecture Encoding Scheme for Predictor‐Based Nas,” in European Conference on Computer Vision (Springer, 2020), 189–204. [Google Scholar]
- 36. White C., Neiswanger W., and Savani Y., “Bananas: Bayesian Optimization With Neural Architectures for Neural Architecture Search,” in Proceedings of the AAAI Conference on Artificial Intelligence 12, vol. 35 (2021), 10293–10301. [Google Scholar]
- 37. Shi H., Pi R., Xu H., Li Z., Kwok J., and Zhang T., “Bridging the Gap Between Sample‐Based and One‐Shot Neural Architecture Search With Bonas,” Advances in Neural Information Processing Systems 33 (2020): 1808–1819. [Google Scholar]
- 38. Zhou H., Yang M., Wang J., and Pan W., “Bayesnas: A Bayesian Approach for Neural Architecture Search,” in International Conference on Machine Learning (PMLR, 2019), 7603–7613. [Google Scholar]
- 39. Mellor J., Turner J., Storkey A., and Crowley E. J., “Neural Architecture Search Without Training,” in International Conference on Machine Learning (PMLR, 2021), 7588–7598. [Google Scholar]
- 40. Abdelfattah M. S., Mehrotra A., Dudziak Ł., and Lane N. D., “Zero‐Cost Proxies for Lightweight Nas,” arXiv Preprint arXiv:2101.08134 (2021).
- 41. Li G., Yang Y., Bhardwaj K., and Marculescu R., “Zico: Zero‐Shot Nas via Inverse Coefficient of Variation on Gradients,” arXiv Preprint arXiv:2301.11300 (2023).
- 42. Montufar G. F., Pascanu R., Cho K., and Bengio Y., “On the Number of Linear Regions of Deep Neural Networks,” Advances in Neural Information Processing Systems 27 (2014). [Google Scholar]
- 43. Hanin B. and Rolnick D., “Complexity of Linear Regions in Deep Networks,” in International Conference on Machine Learning (PMLR, 2019), 2596–2604. [Google Scholar]
- 44. Serra T., Tjandraatmadja C., and Ramalingam S., “Bounding and Counting Linear Regions of Deep Neural Networks,” in International Conference on Machine Learning (PMLR, 2018), 4558–4566. [Google Scholar]
- 45. Du S. S., Zhai X., Poczos B., and Singh A., “Gradient Descent Provably Optimizes Over‐Parameterized Neural Networks,” arXiv Preprint arXiv:1810.02054 (2018).
- 46. Jacot A., Gabriel F., and Hongler C., “Neural Tangent Kernel: Convergence and Generalization in Neural Networks,” Advances in Neural Information Processing Systems 31 (2018). [Google Scholar]
- 47. Bietti A. and Mairal J., “On the Inductive Bias of Neural Tangent Kernels,” Advances in Neural Information Processing Systems 32 (2019). [Google Scholar]
- 48. Anwar S., Hwang K., and Sung W., “Structured Pruning of Deep Convolutional Neural Networks,” ACM Journal on Emerging Technologies in Computing Systems (JETC) 13, no. 3 (2017): 1–18. [Google Scholar]
- 49. Liu Z., Sun M., Zhou T., Huang G., and Darrell T., “Rethinking the Value of Network Pruning,” arXiv Preprint arXiv:1810.05270 (2018).
- 50. Shen M., Molchanov P., Yin H., and Alvarez J. M., “When to Prune? A Policy Towards Early Structural Pruning,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (2022), 12247–12256.
- 51. Fang G., Ma X., Song M., Mi M. B., and Wang X., “Depgraph: Towards Any Structural Pruning,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (2023), 16091–16101.
- 52. Chen Y., Meng G., Zhang Q., et al., “Renas: Reinforced Evolutionary Neural Architecture Search,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (2019), 4787–4796.
- 53. Zhang T., Lei C., Zhang Z., Meng X.‐B., and Chen C. P., “As‐Nas: Adaptive Scalable Neural Architecture Search With Reinforced Evolutionary Algorithm for Deep Learning,” IEEE Transactions on Evolutionary Computation 25, no. 5 (2021): 830–841. [Google Scholar]
- 54. Zhu H. and Jin Y., “Real‐Time Federated Evolutionary Neural Architecture Search,” IEEE Transactions on Evolutionary Computation 26, no. 2 (2021): 364–378. [Google Scholar]
- 55. Peng Y., Song A., Ciesielski V., Fayek H. M., and Chang X., “Pre‐Nas: Evolutionary Neural Architecture Search With Predictor,” IEEE Transactions on Evolutionary Computation 27, no. 1 (2022): 26–36. [Google Scholar]
- 56. Cai Z., Chen L., Liu P., Ling T., and Lai Y., “Eg‐Nas: Neural Architecture Search With Fast Evolutionary Exploration,” in Proceedings of the AAAI Conference on Artificial Intelligence , vol. 38 (2024), 11159–11167. [Google Scholar]
- 57. You J., Leskovec J., He K., and Xie S., “Graph Structure of Neural Networks,” in International Conference on Machine Learning (PMLR, 2020), 10881–10891. [Google Scholar]
- 58. Xie S., Kirillov A., Girshick R., and He K., “Exploring Randomly Wired Neural Networks for Image Recognition,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (2019), 1284–1293.
- 59. Kadlecová G., Lukasik J., Pilát M., et al., “Surprisingly Strong Performance Prediction With Neural Graph Features,” arXiv Preprint arXiv:2404.16551 (2024).
- 60. Jiang C., Huang Z., Pedapati T., Chen P.‐Y., Sun Y., and Gao J., “Network Properties Determine Neural Network Performance,” Nature Communications 15, no. 1 (2024): 5718. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 61. Dong X. and Yang Y., “Nas‐Bench‐201: Extending the Scope of Reproducible Neural Architecture Search,” arXiv Preprint arXiv:2001.00326 (2020).
- 62. Tanaka H., Kunin D., Yamins D. L., and Ganguli S., “Pruning Neural Networks Without Any Data by Iteratively Conserving Synaptic Flow,” Advances in Neural Information Processing Systems 33 (2020): 6377–6389. [Google Scholar]
- 63. Frankle J. and Carbin M., “The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks,” arXiv Preprint arXiv:1803.03635 (2018).
- 64. Radosavovic I., Johnson J., Xie S., Lo W.‐Y., and Dollár P., “On Network Design Spaces for Visual Recognition,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (2019), 1882–1890.
- 65. Duan Y., Chen X., Xu H., et al., “Transnas‐Bench‐101: Improving Transferability and Generalizability of Cross‐Task Neural Architecture Search,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (2021), 5251–5260.
- 66. Krishnakumar A., White C., Zela A., Tu R., Safari M., and Hutter F., “Nas‐Bench‐Suite‐Zero: Accelerating Research on Zero Cost Proxies,” arXiv Preprint arXiv:2210.03230 (2022).
- 67. White C., Safari M., Sukthanker R., et al., “Neural Architecture Search: Insights From 1000 Papers,” arXiv Preprint arXiv:2301.08727 (2023).
- 68. Chen X., Xie L., Wu J., and Tian Q., “Progressive Differentiable Architecture Search: Bridging the Depth Gap Between Search and Evaluation,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (2019), 1294–1303.
- 69. Chen W., Gong X., and Wang Z., “Neural Architecture Search on Imagenet in Four Gpu Hours: A Theoretically Inspired Perspective,” arXiv Preprint arXiv:2102.11535 (2021).
- 70. LeCun Y., Bottou L., Bengio Y., and Haffner P., “Gradient‐Based Learning Applied to Document Recognition,” Proceedings of the IEEE 86, no. 11 (1998): 2278–2324. [Google Scholar]
- 71. Krizhevsky A., Sutskever I., and Hinton G. E., “Imagenet Classification With Deep Convolutional Neural Networks,” Advances in Neural Information Processing Systems 25 (2012). [Google Scholar]
- 72. Simonyan K. and Zisserman A., “Very Deep Convolutional Networks for Large‐Scale Image Recognition,” arXiv Preprint arXiv:1409.1556 (2014).
- 73. Vaswani A., “Attention Is All You Need,” Advances in Neural Information Processing Systems (2017).
- 74. Lee N., Ajanthan T., and Torr P. H., “Snip: Single‐Shot Network Pruning Based on Connection Sensitivity,” arXiv Preprint arXiv:1810.02340 (2018).
- 75. Wang C., Zhang G., and Grosse R., “Picking Winning Tickets Before Training by Preserving Gradient Flow,” arXiv Preprint arXiv:2002.07376 (2020).
- 76. Theis L., Korshunova I., Tejani A., and Huszár F., “Faster Gaze Prediction With Dense Networks and Fisher Pruning,” arXiv Preprint arXiv:1801.05787 (2018).
- 77. Zhou D., Zhou X., Zhang W., et al., “Econas: Finding Proxies for Economical Neural Architecture Search,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (2020), 11396–11404.
- 78. Deng J., Dong W., Socher R., Li L.‐J., Li K., and Fei‐Fei L., “Imagenet: A Large‐Scale Hierarchical Image Database,” in 2009 IEEE Conference on Computer Vision and Pattern Recognition (IEEE, 2009), 248–255. [Google Scholar]
- 79. Gao J., Barzel B., and Barabási A.‐L., “Universal Resilience Patterns in Complex Networks,” Nature 530, no. 7590 (2016): 307–312. [DOI] [PubMed] [Google Scholar]
- 80. Gupta R., Roughgarden T., and Seshadhri C., “Decompositions of Triangle‐Dense Graphs,” in Proceedings of the 5th Conference on Innovations in Theoretical Computer Science (2014), 471–482.
- 81. Krizhevsky A., Hinton G., et al., Learning Multiple Layers of Features From Tiny Images, Technical Report (Univeristy of Toronto, 2009). [Google Scholar]
- 82. Chrabaszcz P., Loshchilov I., and Hutter F., arXiv Preprint arXiv:1707.08819 (2017).
- 83. Zamir A. R., Sax A., Shen W., Guibas L. J., Malik J., and Savarese S., in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (2018), 3712–3722.
- 84. Pham H., Guan M., Zoph B., Le Q., and Dean J., in International Conference on Machine Learning (PMLR, 2018), 4095–4104. [Google Scholar]
- 85. Liu C., Zoph B., Neumann M., et al., in Proceedings of the European Conference on Computer Vision (2018), 19–34.
- 86. DeVries T. and Taylor G. W., arXiv Preprint arXiv:1708.04552 (2017).
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Supporting File: advs74506‐sup‐0001‐SuppMat.pdf
Data Availability Statement
The data that support the findings of this study are available from the corresponding author upon reasonable request.
