Hostname: page-component-74656f9884-c52kr Total loading time: 0 Render date: 2026-11-06T20:59:18.381Z Has data issue: false hasContentIssue false

Network classification-based structural analysis of real networks and their model-generated counterparts

Published online by Cambridge University Press:  20 May 2022

Marcell Nagy*
Affiliation:
Department of Stochastics, Institute of Mathematics, Budapest University of Technology and Economics, Műegyetem rkp. 3., H-1111 Budapest, Hungary
Roland Molontay
Affiliation:
Department of Stochastics, Institute of Mathematics, Budapest University of Technology and Economics, Műegyetem rkp. 3., H-1111 Budapest, Hungary MTA-BME Stochastics Research Group, Műegyetem rkp. 3., H-1111 Budapest, Hungary
*
Corresponding author: Marcell Nagy, email: marcessz@math.bme.hu, molontay@math.bme.hu
Rights & Permissions [Opens in a new window]

Abstract

Data-driven analysis of complex networks has been in the focus of research for decades. An important area of research is to study how well real networks can be described with a small selection of metrics, furthermore how well network models can capture the relations between graph metrics observed in real networks. In this paper, we apply machine-learning techniques to investigate the aforementioned problems. We study 500 real-world networks along with 2000 synthetic networks generated by four frequently used network models with previously calibrated parameters to make the generated graphs as similar to the real networks as possible. This paper unifies several branches of data-driven complex network analysis, such as the study of graph metrics and their pair-wise relationships, network similarity estimation, model calibration, and graph classification. We find that the correlation profiles of the structural measures significantly differ across network domains and the domain can be efficiently determined using a small selection of graph metrics. The structural properties of the network models with fixed parameters are robust enough to perform parameter calibration. The goodness-of-fit of the network models highly depends on the network domain. By solving classification problems, we find that the models lack the capability of generating a graph with a high clustering coefficient and relatively large diameter simultaneously. On the other hand, models are able to capture exactly the degree-distribution-related metrics.

Information

Type
Research Article
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1. The workflow of the proposed methodology.

Figure 1

Table 1. Composition of the collected set of real networks

Figure 2

Figure 2. The scatter plot of the real networks. The points are colored according to the network domain. On the left: the log–log plot of the number of edges against the number of nodes. The center figure shows the the log–log plot of the graph density versus the number of nodes. On the right: the log–log plot of the average degree against the number of nodes.

Figure 3

Table 2. Description of chosen graphs for stability analysis. The names of the graphs are also hyperlinks to their sources, moreover, these graphs are also analyzed in the cited papers

Figure 4

Figure 3. Boxplots of the metrics of the measurement-calibrated models on a social network, namely on the the Astro Physics collaboration network.

Figure 5

Figure 4. The similarity of the network domains based on their correlation networks. The similarities are calculated as the median adjacency similarities of correlation networks over different threshold settings.

Figure 6

Figure 5. The correlation network of structural metrics. Two metrics are connected if the domain-averaged absolute Spearman’s rank correlation is above $0.65$. The actual values of the correlations are written on the edges. The selected metrics are colored orange. Note that the max degree, avg. path length, and the pseudo diameter are normalized.

Figure 7

Table 3. The selected graph metrics and the other variables of the narrowed dataset

Figure 8

Table 4. Domain prediction performance of the machine learning models using different feature sets. The performance is calculated as the 5-fold cross validated average accuracy. The standard deviation of the accuracy is shown in brackets. We performed 1000 random subsampling of the attributes, with sample size 8 (since the number of selected attributes is also 8). The third and the fourth columns show the maximum and the median accuracy over all of the 1000 random attribute selections correspondingly. We excluded the size, number of edges, and density from each attribute set

Figure 9

Figure 6. The t-distributed stochastic embedding (t-SNE) of the eight selected graph metrics (detailed in Table 3) of the real networks. Apparently, one can distinguish between the domains reasonably well using the selected metrics.

Figure 10

Table 5. Performance of the machine learning models in the binary and multiclass classification problems

Figure 11

Figure 7. The normalized confusion matrix of the Random Forest on the Cheminformatics network domain (left) and the t-SNE embedding of the corresponding dataset (right).

Figure 12

Figure 8. The normalized confusion matrix of the Random Forest on the Food network domain (left) and the t-SNE embedding of the corresponding dataset (right).

Figure 13

Figure 9. Distribution of the most distinguishing graph metrics of the real networks and the model-generated graphs.

Figure 14

Figure 10. Distribution of the degree distribution-related metrics of the real and the model-generated graphs. The size of the point markers varies only to be able to better see the overlapping points.

Figure 15

Figure 11. The mean Canberra distance between the real and the corresponding model-generated graphs.