Observing network dynamics through sentinel nodes
Abstract
A fundamental premise of statistical physics is that the particles in a physical system are interchangeable, and hence the state of each specific component is representative of the system as a whole. This assumption breaks down for complex networks, in which nodes may be extremely diverse, and no single component can truly represent the state of the entire system. It seems, therefore, that to observe the dynamics of social, biological or technological networks, one must extract the dynamic states of a large number of nodes—a task that is often practically prohibitive. To overcome this challenge, we use machine learning techniques to detect the network’s sentinel nodes, a set of network components whose combined states can help approximate the average dynamics of the entire network. The method allows us to assess the state of a large complex system by tracking just a small number of carefully selected nodes. The resulting sentinel node set offers a natural probe by which to practically observe complex network dynamics.
I Introduction
The dynamic state of a complex networked system is given in terms of the microscopic states of all its components (nodes) [1, 2, 3]. For example, the functionality of a cell can be captured by the expression levels of all individual genes [4, 5, 6]. Similarly, the state of an ecosystem is often characterized by the abundance of all species [7, 8]. Therefore, to observe the state of the system, one must simultaneously track the individual states of its many nodes—a level of empirical control that we seldom possess.
We, therefore, seek efficient reduction methods, that help track the state of the system in a more compact fashion. In most applications, such reduction is achieved by focusing on the average activity of all nodes, i.e. , where the weights characterize the importance of each node in assessing the system’s dynamic state [9, 10, 11, 12, 13, 14, 15]. For example, selecting , a node’s weighted degree, leads to the Gao-Barzel-Barabási (GBB) reduction [9], which helps predict the critical points of transition between dynamic states. Alternatively, under the dynamics approximate reduction technique (DART), the weight represents the th entry of the leading eigenvector of the network’s adjacency matrix [10, 11].
While these reduction methods provide crucial theoretical insight, allowing us to analytically predict the system’s critical points of transition, they offer limited advances on observability. This is because measuring via GBB or DART, one still needs to access the state of all nodes , thus remaining beyond the practical bounds of empirical accessibility. More selective probes have been introduced in the context of early warning signals, where one follows just a small number of nodes that show signs of looming transitions early on, prior to the rest of the network [16, 17, 18, 19, 20]. The problem is that such early warning nodes are, by design, selected thanks to their divergent behavior around the transition points. This renders them unlikely to be a representative sample of the entire networked system.
How then can we gain the predictive power of GBB or DART, but with a node set that is comparable to the few early warning signifiers? To solve this, here we use machine learning to impose a sparsity condition on , requiring that only for a small number of nodes. The result is a set of sentinel nodes, whose average allows us to approximate the state of the entire system. We find that, with only a few strategically selected nodes, we can achieve network-wide observability.
Our analysis shows that the ideal sentinel node sets tend to sample the network heterogeneity, for example, comprising a range of low, average and high degrees. This indicates that the optimal combination of sentinel nodes is mainly determined by the network topology, largely independent of the system’s specific dynamics. Consequently, one can extract the sentinels even without a priori knowledge about the system’s hidden dynamics. This allows practical observability even under extremely restrictive conditions.
II Results
II.1 Seeking the sentinel nodes
Consider coupled nonlinear dynamics on a network, such as mutualistic or epidemic dynamics. (See Methods for the dynamics models and networks used.) In many cases, we want to know the mere average of the network activity, i.e., , where is the activity of the th node, and is the number of nodes in the network. For example, in contagion processes, if we assign for susceptible and for infectious, then the average represents the fraction of infectious individuals in the population. Similarly, may represent the average political opinion in a population, the fraction of people aware of news, average biomass in an ecosystem, or the extent of cancerous cells in the body. Quantity is simple, intuitive, and practical, providing a first-hand summary of dynamics on networks.
Denoting by the equilibrium of , our goal is to approximate the average activity of all nodes, i.e.,
(1) |
using a limited set of sentinel nodes, namely,
(2) |
Here is the number of sentinel nodes in . To obtain , we simulate the system under a range of conditions, e.g., by varying the average edge weight . Parameter is a natural control parameter; as varies, in Eq. (1) may change or undergo critical transitions (Fig. 1). We then seek the optimal node set that minimizes
(3) |
where and are and , respectively, at the th value of . Equation (3) captures the total difference between the approximation and the exact across the different conditions that together sample a range of values. It is minimal when successfully recovers the system average in Eq. (1), including its observed points of transition.
As an example, we consider the coupled double-well dynamics (Fig. 1a) on the dolphin social network (Fig. 1b) under different coupling strength . When uncoupled, each node has two states, i.e., lower and upper states, as equilibria. We initialize each simulation for each value by placing all the nodes in their lower state. We show the equilibrium state values, , for all nodes as a function of by the light gray lines in Fig. 1c–h. The black line represents the average activity of the network, . As increases, increases in stages with a prolonged intermediate range in which some s remain in their lower states (i.e., ) and the other have transitioned to their upper states (i.e., ). This range of values captures a multistage transition [21, 22, 19].
We demonstrate approximating with the sentinel node approximation, , with , , , and by the purple line in Fig. 1c, 1d, 1e, and 1f, respectively. The sentinel node approximation correctly identifies the onset of the bifurcation at for any but over- or underestimates depending on in the range of the multistage transition. In general, larger optimized node sets do not include smaller ones as a subset. In this example, there is no overlap between any of the optimized node sets with , and ; we show the selected sentinel nodes in color in Fig. 1b. However, the approximation accuracy progressively improves as one includes more sentinel nodes. Concretely, the approximation errors for , , , and are , , , and , respectively. Figure 1f demonstrates that, with a microscopic number of nodes (i.e., ), the sentinel node approximation captures major components of the multistage transition, resulting in a small approximation error. As expected, further increasing results in further reduction in approximation error (see SI section S2); however, for all practical purposes is already sufficient.
For comparison, we show the results obtained from the GBB and DART approximations in Fig. 1g and 1h, respectively. Even with just sentinel node, our method performs better than the GBB and DART, reducing by more than 75% (GBB: ; DART: ). This is mainly owing to the fact that, while GBB and DART track the collective state of the system (i.e., in the Introduction section) and thus predict a single transition point, our method can discern the multistage nature of the actual observed transition (black solid line). Most crucially, thanks to its machine learning component, our framework achieves the observed predictability with a much smaller set of observations—here just with nodes (Fig. 1f). In sum, our method realizes a dramatic reduction in complexity along with a comparable, and in the present case even improved, accuracy.
Because our algorithm is stochastic, we ran it 100 times, starting with independent initial node sets, on the same network to assess generality of the results shown in Fig. 1. We set . We show the approximation error, , for the 100 optimized node sets by the blue circles in Fig. 2a. Each circle corresponds to one run. The optimized node set is different in each run in general. However, the values of these optimized node sets are similar to each other, and most importantly they are small. This result supports the robustness of our algorithm with respect to the initial condition and stochasticity of the algorithm.
Next, we select two groups of random node sets for comparison. First, we take the best optimized node set among the 100 runs in terms of , denoted by . We then make 100 node sets by randomly selecting nodes having the same degree sequence as . For example, if the selected optimized node set is composed of four nodes with degrees 1, 3, 3, and 8, then we sample one node with degree 1 uniformly at random from the network and similarly sample two nodes with degree 3 and one node with degree 8. We call this node set the degree-preserving random node set. We show for each degree-preserving random node set by the orange triangles in Fig. 2a. Second, we make 100 node sets with by selecting nodes uniformly at random from the entire network. We call this node set the completely random node set. We calculate for each of the 100 completely random node sets, shown by the green squares in Fig. 2a. As expected, the degree-preserving node sets outperform the completely random ones, exhibiting an approximation error that is concentrated on smaller values in general. The crucial point is, however, that our optimized node sets have consistently smaller errors than both alternatives, better than 100% of the random sets, and 89% of the degree-preserving sets. Therefore, while selecting nodes with appropriate degrees improves the accuracy of approximation, one can substantially reduce by further optimization beyond only using a good degree sequence.
These results remain similar for other networks; see Fig. 2b for results for a Barabási-Albert (BA) network and SI section S3 for results obtained from eight more networks. In all networks, the optimized node sets yield relatively small .
The patterns described for the coupled double-well dynamics across the various networks also hold true for the mutualistic species, gene-regulatory, and SIS dynamics (see SI section S3). Across every combination of one of the four dynamics and one of the ten networks, the worst optimized node set still has a smaller than 100% of completely random node sets and 95.2% of degree-preserving node sets.
We statistically verified these observations by constructing an analysis of variance (ANOVA) model of the approximation error, . The dependent variable is . There are three qualitative independent variables: dynamics (reference: coupled double-well dynamics), network (reference: BA network), and node set type (reference: completely random node sets). We exclude the Erdős-Rényi (ER) network because it yields small regardless of node set type (see SI section S3), presumably because of the small spread of its degree distribution and the relative similarity across all nodes. We show the details of our analysis in SI section S4. Across all dynamics and networks, of the optimized node set is on average more than 200 times smaller than of completely random node sets () and more than 25 times smaller than of degree-preserving node sets ().
II.2 Characteristics of good node sets
We have shown that finding nodes with an appropriate degree sequence is an important but not sufficient condition for finding a good set of sentinel nodes, . In this section, we explore the characteristics of the nodes that our algorithm selects for inclusion in .
Our first observation is that nodes in tend to have a degree sequence that is balanced across the average degree in the entire network. We show this pattern in Fig. 3a for the dolphin network. The top panel of Fig. 3a shows the degree histogram of all nodes in the network. The degree distribution is bimodal, with a predominance of nodes with degree 1 and a secondary group of nodes with degree near the mean degree . The lower panels of Fig. 3a show the aggregate degree histograms realized by the nodes in obtained from 100 independent runs of the algorithm with , , , and , with one panel corresponding to an value. The degrees of the chosen node are sorted such that the blue bars represent the smallest degree node in the optimized node set in the 100 runs, orange the second smallest, red the third smallest, and light blue the largest degree nodes. We find that the algorithm balances the degrees of the selected nodes such that both small-degree and large-degree nodes tend to exist in a node set when (and to a lesser extent when ). For example, in Fig. 1f, the nodes selected for have degrees 1, 6, 7, and 8. The values for these four nodes, shown by the four blue lines in Fig. 1f, appear above and below the target values, , depending on whether the degree of the node is large and small, respectively. As a result, the average of these four lines provides an accurate approximation to . Qualitatively the same phenomenon also occurs for and , as shown in Fig. 1d and e, respectively.
We show in Fig. 3b the results of the same analysis for the BA network used in Fig. 2b. The network has hub nodes, i.e., nodes with large degrees. The top hub nodes, with 38, 40, 66, 76, and 81, are indicated by discrete peaks in the inset of the top panel of Fig. 3b. The bottom panels of Fig. 3b indicate that our optimization algorithm does not select these hub nodes in any of the 100 runs for each . Instead, the algorithm selects nodes the degree of which is close to the mean; note that the mean degree is close to the minimum degree in BA networks. More specifically, the algorithm selects a mixture of nodes with small and moderately large degrees, but avoiding nodes with larger degrees.
The degree histograms of the optimized node sets shown in Fig. 3 appear to markedly differ from that of the entire network. To quantify the difference, we computed the Kullback-Leibler divergence, , between the optimized node sets and the original network in terms of the degree distribution (see SI section S5 for the methods).
We show the values for the dolphin network by the blue circles in Fig. 4a. For comparison, the green squares represent the average between the original degree distribution and completely random degree distributions constructed with the same number of nodes (i.e., nodes) as that used for constructing the degree distribution from the optimized node sets. Figure 4a indicates that the discrepancy between the optimized node sets and the original networks in terms of the degree distribution is substantially large when is small; note the logarithmic scale on the vertical axis. As becomes larger, both the optimized and the random node sets tend to become more similar to the original network in terms of the degree distribution. However, the degree distribution of the optimized node sets is significantly different from the original degree distribution at all . Therefore, although our method tends to select a mix of large- and small- degree nodes, it does not sample the degree values uniformly at random even for relatively large node sets (i.e., up to ). We have verified that the optimized node sets have smaller approximation errors than completely random node sets of equivalent size for the same range of (see SI section S2), extending the results for the dolphin network shown in Fig. 2a for . It should be noted that the approximation error for both optimized and completely random node sets decreases as increases (see SI section S2), which is expected.
We have also found that the average degree of the nearest neighbors of the nodes in the optimized sentinel node set, sentinel nodes’ local clustering coefficients, and their community membership systematically deviate from these quantities for uniformly randomly selected nodes. However, heuristically constructed node sets exploiting the observed network properties, such as the avoidance of hub nodes (informed by Fig. 3) or multiple nodes from the same community, only marginally, though significantly, decrease the approximation error, , compared to completely random node sets. See SI section S6 for these results. Therefore, we conclude that running our optimization algorithm is a necessary step to realize a high accuracy in approximating .
II.3 Transfer learning: Effectiveness of optimized node sets across different dynamics
Our optimization algorithm does not use just the information on the network structure but also implicitly requires the dynamic model running on the networks. The challenge is that, in practice, we often do not know the actual dynamics that produce the observed data. Therefore, here we ask whether and to what extent our optimization algorithm enables transfer learning, that is, the application of node sets optimized with one dynamics, called the training dynamics, to another dynamics, called the test dynamics.
We again use the dolphin network as an example. In each panel of Fig. 5a, we plot the approximation error, , of each optimized (blue circles), degree-preserving (orange triangles), and completely random (green squares) node set. For each node set, we show the approximation error for the training dynamics on the horizontal axis and the test dynamics on the vertical axis. We also show the average result (large symbols), as obtained for 100 node sets of each type.
As expected, node sets optimized on the training dynamics have consistently smaller when evaluated on the same dynamics than on an alternative test dynamics. However, although has more variance when evaluated on the test dynamics, the node sets optimized under a different training dynamics still outperform the completely random node sets on average (see Fig. 5a). See Fig. 5b–d for an example. In nine out of the twelve pairs of training and test dynamics, the optimized node sets also outperform the degree-preserving node sets (see Fig. 5a). Therefore, the optimized node sets are transferrable between different dynamics to some extent. This result is striking in particular because different dynamics may have different bifurcation structures. For example, the coupled double-well dynamics have saddle-node bifurcations, and the SIS dynamics have transcritical bifurcations. Additionally, the completely random node sets in each panel show an approximately linear relationship. Therefore, the random node sets that happen by chance to be good sentinels for a specific training dynamics continue to be good sentinels for the test dynamics on average. This result further supports our claim that the performance of node sets is transferrable across different dynamics.
As before, we assess the generalizability of these observations with an ANOVA. The dependent variable is evaluated on the given test dynamics. The independent variables are the training dynamics, test dynamics, network, and node set type (see SI section S7 for details). Despite the substantial increase in due to the lack of knowledge about the test dynamics, optimized node sets still achieve that is 5.74 times smaller than completely random node sets () and 1.55 times smaller than degree-preserving node sets (). We obtained similar results on the feasibility of transfer learning in the case of weighted networks (see SI section S9) and directed networks (see SI section S10). In sum, these results suggest that our optimization algorithm can select good sentinel node sets when we do not know the test dynamics, or even the type of bifurcation.
II.4 Weighted averaging
We have restricted ourselves to unweighted averages of as our approximators. Previous work has considered the case and chosen the weight vector to be either the degree vector (i.e., is proportional to the degree of the th node) [9, 23, 15] or a particular eigenvector [10, 11, 13, 24, 14]. In this section, we keep small and additionally consider optimization of the weights of each node to allow a weighted average of given by , subject to and . We find these weights using a quadratic programming step (see the Methods section for details) inserted into our original algorithm.
We find that the additional optimization of node weights leads to substantially smaller approximation error, , than the unweighted average examined in the previous sections. Across all dynamics and networks, is on average an additional 46 times smaller when we optimize both node set and node weight than when we only optimize the node set (see SI section S8 for the statistical results).
However, there is no extra advantage to optimizing node weights when one evaluates on alternative dynamics. As in section II.3, we generated, for each dynamics and network, 100 node sets with their node selection and weights optimized on a training dynamics. We then evaluated of the optimized node set on each other test dynamics. We found that, when evaluated on the test dynamics, was not significantly different between the optimized node sets with additional weight optimization and those without (). Therefore, although optimizing node weights drastically improves the approximation to if we know the actual dynamics, this advantage is lost if we do not know it.
III Discussion
As our understanding of complex system dynamics advances [3, 1, 25, 26, 27, 28, 29], a crucial bottleneck that we continue to face is our limited empirical access to the states of their multitude of relevant parameters. This bottleneck hinders the development of new theoretical analyses and empirical validation of existing theories on dynamics. A similar challenge in biology and medicine has been that it is often difficult to track every single metabolite, protein, or cell. In that context, the identification of biomarkers [30, 31] can offer dramatic breakthroughs, potentially allowing us to identify the state of the entire system just by tracking a small set of indicative parameters. Our work here envisions an equivalent opportunity in the context of complex networks.
A crucial aspect of our formulation is that the detected sentinels are largely agnostic to the dynamic model. This indicates that one can transfer the learned set of nodes from one dynamics to infer the state of the system under another dynamics. Such transfer learning is especially useful for systems with unknown dynamics, capturing a rather common challenge in the context of complex networked systems [32, 33, 34, 35, 36]. To further capitalize on this potential advantage, future work should aim to extract a master model, i.e., a nonlinear system of equations whose sentinel nodes optimally transfer to other types of dynamics.
Our work differs from other approaches for approximating the population activity of or efficiently observing a network by attempting to accurately estimate . First, there are methods to select a small number of sentinel nodes for constructing early warning signals for anticipating regime shifts [16, 17, 18, 19, 20], but there is no a priori reason to consider that these sentinel nodes are also good at representing . Second, the theory of network observability allows us to determine the node set, observation of which enables one to reconstruct the system’s complete activity [37]. The method has also been applied for selecting sentinel nodes with which to construct early warning signals [18]. However, this observability concerns inference of the initial condition, i.e., the activity of each node at time . In fact, in the equilibrium or the time course of it, rather than its initial value, would be of practical interest in applications.
Our work also differs from prior work in the importance it attributes to hub nodes in heterogeneous networks. Both the GBB [9] and DART [10, 11] reduce dynamical systems on networks into a similar dynamical system of small dimensions. A key idea behind these methods is to theoretically find an appropriate linear combination of , , and the dynamical system that approximately obeys. To do so, GBB and DART use the degree vector and the dominant eigenvector of the adjacency matrix as , respectively, as the first . In fact, many large empirical networks are scale-free networks, i.e., those in which the degree obeys an approximate power-law distribution [38, 39, 40], so that a small fraction of hub nodes have very large degrees. In a related vein, many empirical and model networks show eigenvector localization phenomena, with which the most entries of the dominant eigenvector of the adjacency matrix are close to [41, 42]. Eigenvector localization implies that, at least in large degree-heterogeneous but otherwise uniformly random networks, most of the entries of are close to and do not contribute to . Therefore, in the GBB and DART is approximately a weighted sum of a small number of . This situation apparently resembles selecting () nodes for in our framework. However, these methods and our sentinel node approximation select very different nodes. The nodes effectively used by GBB and DART (i.e., those whose values are far from ) tend to be hub nodes. Therefore, GBB and DART deliberately neglect the behavior of a majority of nodes, which have a small degree. In contrast, our optimized node set tends to avoid hub nodes, which are outliers, and instead mixes nodes with different degrees that are not extremely large. This discrepancy is because our goal is to observe the unweighted average, , while the goal of GBB and DART is to derive a dynamical system approximately closed in terms of . Although hubs play important roles in dynamics on networks such as impacting on the epidemic threshold [43, 44] and having different responsiveness to perturbation compared to low-degree nodes [25], our optimized node sets does not include them to approximate because their behavior is in general different from that of the majority of nodes.
Our framework accommodates directed and weighted networks, noisy dynamics, and, as mentioned above, the case in which dynamical system equations are unknown. Furthermore, without essential changes, our method allows any weighted sum of as the target quantity to be approximated. Together, these features make our method versatile enough for potential applications. For example, in ecosystem monitoring, our algorithm could help focus monitoring efforts on a small number of key species [45], which may not be the most numerous or well-connected species [46, 47]. Assuming that an estimated network of species interactions is available, which is often the case [48], one can derive a small number of sentinel species (i.e., nodes) by simulating a “ground truth” using a mutualistic species dynamics model on the measured network. Then, the populations of the chosen sentinel species are expected to provide a good approximation of population dynamics of the entire ecosystem.
From a methodological perspective, our drastic reduction from to just a small number of nodes is rooted in a combined toolbox that mixes theoretical modeling with machine learning techniques. The theoretical models, captured within the low-dimensional dynamical systems derived by GBB, DART, or other methods, represent our analytical insights into the system’s internal mechanisms. Such insights, however, are limited by the prohibitive complexity of the system. This is precisely where the machine learning component helps complement the theoretical approach, lending its computational power to help simplify the scale of the problem. This synergy between theoretical insights and the predictive power of modern computational learning technology represents, in our view, one of the main avenues towards predicting, observing, and influencing complex network behavior.
IV Methods
IV.1 Node Selection
Consider an undirected and unweighted network with nodes, edges, and an adjacency matrix with , , and . Each node is characterized by a continuous variable representing, for example, the abundance of a species or the fraction of a population that is infected with a pathogen. A straightforward estimate of the network’s aggregate state is the unweighted average of all node states at equilibrium, , given by Eq. (1). Our goal is to approximate by a linear combination of a small number of equilibrium node states, , given by Eq. (2), with a small error and across a range of a control parameter that represents, e.g., an environmental state. Examples of the control parameter are the strength of mutualistic interactions between species and the infection rate of a contagion process. Choice of the control parameter, its range, and its effect on varies by model and is further described in section IV.2.
We seek a set of sentinel nodes with , . We assume that each node in has equal weight in determining , as in Eq. (2). We relax this assumption in section II.4. We quantify the discrepancy between and by a normalized mean squared error over a given range of the control parameter, i.e., , called the approximation error. Subscript specifies a value of an evenly spaced control parameter, and represents the equilibrium value of for the th value of the control parameter; is omitted in the following text when there should be no confusion. We choose a control parameter which, when varied over the first and last (i.e., th) values, causes bifurcations in . We set in our numerical experiments.
Note that two other known methods for dynamics reduction on networks, GBB [9, 23, 15] and DART [10, 11, 13, 24, 14], attempt to match a different weighted sum of , , from . Specifically, the observables of the GBB and DART are in the form , where the is proportional to the degree of the th node in the case of the GBB and the th entry of the leading eigenvector of the adjacency matrix in the case of the DART.
Given all values (with and ) computed, we determine by combinatorial simulated annealing. Specifically, we first initialize by selecting nodes uniformly at random from the network and calculate the approximation error for , which we denote by . We arbitrarily set , where is the floor operation, unless we state otherwise. Then, in each th iteration of the algorithm, we select an th node uniformly at random from and replace it with a th node that does not belong to and is chosen uniformly at random. The tentative new node set is given by . We compute for , which we denote by . We accept as the new according to the Metropolis criterion, i.e., with probability if and with probability otherwise. The normalization factor decreases as increases. Therefore, an with a larger approximation error than is less likely to be accepted as increases, encouraging convergence to a local minimum of . We set . We also set and confirmed that this number of iteration was sufficient for reaching a local minimum of .
IV.2 Dynamical system models
We test our method on the following four models of dynamical systems on networks.
Many systems have alternative stable states at a single value of a control parameter, the transition between which displays hysteresis. For example, a certain species may be present or extinct in an ecosystem under a given environmental condition, depending on the system’s state in the past [49]. Recovery from the extinct state may be difficult without substantial improvement of the environment. Similarly, tropical ecosystems may show sudden transitions from rainforest to grassland in response to just small changes in local water availability [50]. A coupled double-well dynamics model on networks [51, 52, 53, 54, 55] has been employed for modeling interacting climate regions [50] and biological species [21] and is given by
(4) |
where , , and determine the location of the equilibria and satisfy ; is the coupling strength parameter. We set , , and . In the absence of coupling, this model has stable equilibria at and , and an unstable equilibrium at . In the presence of coupling, all s tend to be near when is sufficiently small, and they tend to be near when is large. We use as the control parameter in the range .
A similar model proposed for mutualistic species interactions is given by
(5) |
where represents the abundance of the th species and , , , , , , and are constants [9]. The constant represents migration rate and the carrying capacity. The Allee constant, , represents the ease with which a species can become established in the environment. In the absence of migration and species interactions, at equilibrium if and only if the initial ; otherwise is the only stable equilibrium. We set , , , , and following [9]. We use as the control parameter in the range ; to observe the transition of all nodes, we use a more extended range of for this model than for the other models described in this section.
The deterministic susceptible-infectious-susceptible (SIS) model on networks, also called the individual-based approximation of the stochastic SIS model, is given by
(6) |
where represents the probability that the th node is infectious, is the infection rate, and is the recovery rate [44]. The second term on the right-hand side expresses the rate at which the th node infects the th node. We set without loss of generality; changing to with a constant is equivalent to scaling the time by a factor of , so it does not affect the equilibrium. We use as the control parameter in the range . One obtains when is below a value called the epidemic threshold. Above the epidemic threshold, all () values are positive given a positive initial value. The parameter has the same role as in the other dynamics models.
A model of gene regulatory dynamics is given by
(7) |
where represents the expression level of the th gene [9]. We set , , and following [9]. We use as the control parameter in the range . Given sufficiently large initial values, all will remain large when is above a threshold value, a situation which represents a living cell. When is small, all s approach zero, representing cell death.
To compute equilibrium values of at each control parameter value, we initially set each to a model-dependent standard value (coupled double-well: , SIS: , mutualistic species: , gene-regulatory: ). Then, we solved the ODEs using the LSODA algorithm [56] provided by the deSolve package for R [57]. We used a total simulation time of , which we found was sufficient to allow each of the above dynamics on each network described below to relax to a point where no further change was noticeable. We used the value of each at as .
IV.3 Networks
We chose five empirical and five model networks to test our method. All networks were coerced to be undirected, simple (i.e., no self- or multi-edges), and unweighted. We used the largest connected component.
In the social network of wild dolphins [58], which we refer to as the dolphin network, each node is a dolphin individual. Two nodes are defined to be adjacent if two individuals were observed together more often than expected by chance. This network has nodes, edges, and an average degree . The coefficient of variation (CV), defined as the standard deviation divided by the mean, of the degree is 0.58.
The BA model generates networks with power-law degree distributions [38]. We initialized a BA network with a complete graph of three nodes and three edges, and added a single node with edges in each time step. The final network had , , , and CV of the degree is equal to .
We used eight other networks as well as the dolphin and BA networks in the ANOVA analyses. See SI section S1 for the description of these eight networks.
IV.4 Optimization of node weights
In section II.4, we approximate with a weighted average of the node states in , . The GBB and DART assign weights to all the nodes in the network. In contrast, here we determine weights only for the nodes in by a quadratic programming optimization.
We insert the quadratic programming step into our node selection method as follows. Assume that we have a set of nodes , . This can be random, as in the initial iteration of the algorithm, or a candidate set from any subsequent iteration. Let be an -dimensional vector of weights. We require that these weights are non-negative and sum to . The mean squared error over the values of the control parameter is given by
(8) |
where is the matrix of (with , ), , and ⊤ represents the transposition. Therefore, we determine by
(9) | ||||
s.t. | ||||
where . We use the qpOASES algorithm [59] to solve for via the ROI package [60] in R. In an iteration of our algorithm, we first tentatively update by carrying out one step of the algorithm for the unweighted averaging, optimize the node weights, , given the updated by solving Eq. (9), and calculate for the updated and optimized . We then compare the obtained with the value of before updating and optimizing , and apply the Metropolis criterion to determine whether or not we adopt the tentatively updated and . We iterate this process as described in Sec. IV.1.
Note that this additional optimization step substantially increases computation time. However, in practice, local minima are reached after fewer iterations of the simulated annealing algorithm. Therefore, we use iterations of the algorithm when we optimize the node weights, instead of the iterations used when we do not optimize the node weights.
Data and code availability
Data and analysis code are available at https://github.com/ngmaclaren/reduction.
Acknowledgements
This work was performed in part at Center for Computational Research, the State University of New York at Buffalo.
Author contributions
B.B. and N. Masuda conceived the study. N.G. MacLaren and N. Masuda developed the method and analyzed the data. N.G. MacLaren wrote the code and ran simulations. All the authors wrote the manuscript.
Funding
B.B. was supported by the Israel Science Foundation (grant no. 499/19), the Israel-China ISF-NSFC joint research program (grant no. 3552/21), and by the VATAT grant for data science research. N. Masuda was supported by the Japan Science and Technology Agency (JST) Moonshot R&D (under grant no. JPMJMS2021), the National Science Foundation (under grant no. 2052720), and JSPS KAKENHI (under grant nos. JP 21H04595, 23H03414, and 24K14840).
References
- [1] M. A. Porter and J. P. Gleeson. Dynamical systems on networks: A tutorial. Springer, London, UK, 2010.
- [2] M. E. J. Newman. Networks. Oxford University Press, Oxford, UK, 2nd edition, 2018.
- [3] A. Barrat, M. Barthélemy, and A. Vespignani. Dynamical processes on complex networks. Cambridge University Press, Cambridge, UK, 2008.
- [4] G. Karlebach and R. Shamir. Modelling and analysis of gene regulatory networks. Nature Reviews Molecular Cell Biology, 9:770–780, 2008.
- [5] C. Trapnell. Defining cell types and states with single-cell genomics. Genome Research, 25:1491–1498, 2015.
- [6] A. Wagner, A. Regev, and N. Yosef. Revealing the vectors of cellular identity with single-cell genomics. Nature Biotechnology, 34(11):1145–1160, 2016.
- [7] M. S. Wisz, J. Pottier, W. D. Kissling, L. Pellissier, J. Lenoir, C. F. Damgaard, C. F. Dormann, M. C. Forchhammer, J.-A. Grytnes, A. Guisan, R. K. Heikkinen, T. T. Høye, I. Kühn, M. Luoto, L. Maiorano, M.-C. Nilsson, S. Normand, E. Öckinger, N. M. Schmidt, M. Termansen, A. Timmermann, D. A. Wardle, P. Aastrup, and J.-C. Svenning. The role of biotic interactions in shaping distributions and realised assemblages of species: Implications for species distribution modelling. Biological Reviews, 88:15–30, 2013.
- [8] J. Bascompte and M. Scheffer. The resilience of plant–pollinator networks. Annual Review of Entomology, 68:363–380, 2023.
- [9] J. Gao, B. Barzel, and A.-L. Barabási. Universal resilience patterns in complex networks. Nature, 530:307–312, 2016.
- [10] E. Laurence, N. Doyon, L. J. Dubé, and P. Desrosiers. Spectral dimension reduction of complex dynamical networks. Physical Review X, 9:011042, 2019.
- [11] V. Thibeault, G. St-Onge, L. J. Dubé, and P. Desrosiers. Threefold way to the dimension reduction of dynamics on networks: An application to synchronization. Physical Review Research, 2(4):043215, 2020.
- [12] C. Tu, P. D’Odorico, and S. Suweis. Dimensionality reduction of complex dynamical systems. iScience, 24:101912, 2021.
- [13] N. Masuda and P. Kundu. Dimension reduction of dynamical systems on networks with leading and non-leading eigenvectors of adjacency matrices. Physical Review Research, 4(2):023257, 2022.
- [14] M. Vegué, V. Thibeault, P. Desrosiers, and A. Allard. Dimension reduction of dynamics on modular and heterogeneous directed networks. PNAS Nexus, 2(5):pgad150, 2023.
- [15] C. Ma, G. Korniss, B. K. Szymanski, and J. Gao. Generalized dimension reduction approach for heterogeneous networked systems with time-delay. arXiv, page 2308.11666, 2023.
- [16] L. Chen, R. Liu, Z.-P. Liu, M. Li, and K. Aihara. Detecting early-warning signals for sudden deterioration of complex diseases by dynamical network biomarkers. Scientific Reports, 2:342, 2012.
- [17] F. Vafaee. Using multi-objective optimization to identify dynamical network biomarkers as early-warning signals of complex diseases. Scientific Reports, 6:22023, 2016.
- [18] A. Aparicio, J. X. Velasco-Hernández, C. H. Moog, Y.-Y. Liu, and M. T. Angulo. Structure-based identification of sensor species for anticipating critical transitions. Proceedings of the National Academy of Sciences of the United States of America, 118(51):e2104732118, 2021.
- [19] N. G. MacLaren, P. Kundu, and N. Masuda. Early warnings for multi-stage transitions in dynamics on networks. Journal of the Royal Society Interface, 20:20220743, 2023.
- [20] N. Masuda, K. Aihara, and N. G. MacLaren. Anticipating regime shifts by mixing early warning signals from different nodes. Nature Communications, 15:1086, 2024.
- [21] J. J. Lever, I. A. van de Leemput, E. Weinans, R. Quax, V. Dakos, E. H. van Nes, J. Bascompte, and M. Scheffer. Foreseeing the future of mutualistic communities beyond collapse. Ecology Letters, 23:2–15, 2020.
- [22] N. Wunderling, M. Gelbrecht, R. Winkelmann, J. Kurths, and J. F. Donges. Basin stability and limit cycles in a conceptual model for climate tipping cascades. New Journal of Physics, 22:123031, 2020.
- [23] H. Zhang, Q. Wang, W. Zhang, S. Havlin, and J. Gao. Estimating comparable distances to tipping points across mutualistic systems by scaled recovery rates. Nature Ecology & Evolution, 6:1524–1536, 2022.
- [24] V. Thibeault, A. Allard, and P. Desrosiers. The low-rank hypothesis of complex systems. Nature Physics, 20:294–302, 2024.
- [25] B. Barzel and A.-L. Barabási. Universality in network dynamics. Nature Physics, 9:673–681, 2013.
- [26] Z. Wang, M. A. Andrews, Z.-X. Wu, L. Wang, and C. T. Bauch. Coupled disease–behavior dynamics on complex networks: A review. Physics of Life Reviews, 15:1–29, 2015.
- [27] U. Harush and B. Barzel. Dynamic patterns of information flow in complex networks. Nature Communications, 8:2181, 2017.
- [28] C. Hens, U. Harush, S. Haber, R. Cohen, and B. Barzel. Spatiotemporal signal propagation in complex networks. Nature Physics, 15:403–412, 2019.
- [29] R. M. D’Souza, M. di Bernardo, and Y.-Y. Liu. Controlling complex networks with complex nodes. Nature Reviews Physics, 5:250–262, 2023.
- [30] J. P. B. O’Connor, E. O. Aboagye, J. E. Adams, H. J. W. L. Aerts, S. F. Barrington, A. J. Beer, R. Boellaard, S. E. Bohndiek, M. Brady, G. Brown, D. L. Buckley, T. L. Chenevert, L. P. Clarke, S. Collette, G. J. Cook, N. M. deSouza, J. C. Dickson, C. Dive, J. L. Evelhoch, C. Faivre-Finn, F. A. Gallagher, F. J. Gilbert, R. J. Gillies, V. Goh, J. R. Griffiths, A. M. Groves, S. Halligan, A. L. Harris, D. J. Hawkes, O. S. Hoekstra, E. P. Huang, B. F. Hutton, E. F. Jackson, G. C. Jayson, A. Jones, D.-M. Koh, D. Lacombe, P. Lambin, N. Lassau, M. O. Leach, T.-Y. Lee, E. L. Leen, J. S. Lewis, Y. Liu, M. F. Lythgoe, P. Manoharan, R. J. Maxwell, K. A. Miles, B. Morgan, S. Morris, T. Ng, A. R. Padhani, G. J. M. Parker, M. Partridge A. P. Pathak, A. C. Peet, S. Punwani, A. R. Reynolds S. P. Robinson, L. K. Shankar, R. A. Sharma, D. Soloviev, S. Stroobants, D. C. Sullivan, S. A. Taylor, P. S. Tofts, G. M. Tozer, M. van Herk, S. Walker-Samuel, J. Wason, K. J. Williams, P. Workman, T. E. Yankeelov, K. M. Brindle, L. M. McShane, A. Jackson, and J. C. Waterton. Imaging biomarker roadmap for cancer studies. Nature Reviews Clinical Oncology, 14:169–186, 2017.
- [31] R. M. Califf. Biomarker definitions and their applications. Experimental Biology and Medicine, 243:213–221, 2018.
- [32] B. Barzel, Y.-Y. Liu, and A.-L. Barab’asi. Constructing minimal models for complex system dynamics. Nature Communications, 6:7186, 2015.
- [33] H.-T. Wai, A. Scaglione, B. Barzel, and A. Leshem. Joint network topology and dynamics recovery from perturbed stationary points. IEEE Transactions on Signal Processing, 67(17):4582–4596, 2019.
- [34] Y.-C. Lai. Finding nonlinear system equations and complex network structures from data: A sparse optimization approach. Chaos, 31:082101, 2021.
- [35] T.-T. Gao and G. Yan. Autonomous inference of complex network dynamics from incomplete and noisy data. Nature Computational Science, 2:160–168, 2022.
- [36] J. Koch, Z. Chen, A. Tur, J. Drgona, and D. Vrabie. Structural inference of networked dynamical systems with universal differential equations. Chaos, 33:023103, 2023.
- [37] Y.-Y. Liu, J.-J. Slotine, and A.-L. Barabási. Observability of complex systems. Proceedings of the National Academy of Sciences of the United States of America, 110(7):2460–2465, 2013.
- [38] A.-L. Barabási and R. Albert. Emergence of scaling in random networks. Science, 286(5439):509–512, 1999.
- [39] M. E. J. Newman. Power laws, Pareto distributions and Zipf’s law. Contemporary Physics, 46(5):323–351, 2005.
- [40] I. Voitalov, P. Van Der Hoorn, R. Van Der Hofstad, and D. Krioukov. Scale-free networks well done. Physical Review Research, 1:033034, 2019.
- [41] A. V. Goltsev, S. N. Dorogovtsev, J. G. Oliveira, and J. F. F. Mendes. Localization and spreading of diseases in complex networks. Physical Review Letters, 109(12):128702, 2012.
- [42] R. Pastor-Satorras and C. Castellano. Distinct types of eigenvector localization in networks. Scientific Reports, 6:18847, 2016.
- [43] R. Pastor-Satorras and A. Vespignani. Epidemic spreading in scale-free networks. Physical Review Letters, 86(14):3200–3203, 2001.
- [44] R. Pastor-Satorras, C. Castellano, P. Van Mieghem, and A. Vespignani. Epidemic processes in complex networks. Reviews of Modern Physics, 87(3):925–979, 2015.
- [45] S. L. Hale and J. L. Koprowski. Ecosystem-level effects of keystone species reintroduction: A literature review. Restoration Ecology, 26(3):439–445, 2018.
- [46] L. S. Mills, M. E. Soulé, and D. F. Doak. The keystone-species concept in ecology and conservation: Management and policy must explicitly consider the complexity of interactions in natural systems. BioScience, 43(4):219–224, 1993.
- [47] H. E. W. Cottee-Jones and R. J. Whittaker. Perspective: The keystone species concept: A critical appraisal. Frontiers of Biogeography, 4(3), 2012.
- [48] E. Delmas, M. Besson, M.-H. Brice, L. A. Burkle, G. V. Dalla Riva, M.-J. Fortin, D. Gravel, P. R. Guimar aes Jr., D. H. Hembry, E. A. Newman, J. M. Olesen, M. M. Pires, J. D. Yeakel, and T. Poisot. Analysing ecological networks of species interactions. Biological Reviews, 94:16–36, 2019.
- [49] M. Scheffer, J. Bascompte, W. A. Brock, V. Brovkin, S. R. Carpenter, V. Dakos, H. Held, E. H. Van Nes, M. Rietkerk, and G. Sugihara. Early-warning signals for critical transitions. Nature, 461:53–59, 2009.
- [50] N. Wunderling, A. Staal, B. Sakschewski, M. Hirota, O. A. Tuinenburg, J. F. Donges, H. M. J. Barbosa, and R. Winkelmann. Recurrent droughts increase risk of cascading tipping events by outpacing adaptive capacities in the Amazon rainforest. Proceedings of the National Academy of Sciences of the United States of America, 119(32):e2120777119, 2022.
- [51] N. E. Kouvaris, H. Kori, and A. S. Mikhailov. Traveling and pinned fronts in bistable reaction-diffusion systems on networks. PLOS ONE, 7(9):e45029, 2012.
- [52] C. D. Brummitt, G. Barnett, and R. M. D’Souza. Coupled catastrophes: Sudden shifts cascade and hop among interdependent systems. Journal of The Royal Society Interface, 12:20150712, 2015.
- [53] J. Krönke, N. Wunderling, R. Winkelmann, A. Staal, B. Stumpf, O. A. Tuinenburg, and J. F. Donges. Dynamics of tipping cascades on complex networks. Physical Review E, 101(4):042311, 2020.
- [54] P. Kundu, H. Kori, and N. Masuda. Accuracy of a one-dimensional reduction of dynamical systems on networks. Physical Review E, 105(2):024305, 2022.
- [55] P. Kundu, N. G. MacLaren, H. Kori, and N. Masuda. Mean-field theory for double-well systems on degree-heterogeneous networks. Proceedings of the Royal Society A, 478:20220350, 2022.
- [56] Linda Petzold. Automatic selection of methods for solving stiff and nonstiff systems of ordinary differential equations. SIAM Journal on Scientific and Statistical Computing, 4(1):136–148, 1983.
- [57] K. Soetaert, T. Petzoldt, and R. W. Setzer. Solving differential equations in R: Package deSolve. Journal of Statistical Software, 33(9):1–25, 2010.
- [58] D. Lusseau, K. Schneider, O. J. Boisseau, P. Haase, E. Slooten, and S. M. Dawson. The bottlenose dolphin community of Doubtful Sound features a large proportion of long-lasting associations. Behavioral Ecology and Sociobiology, 54:396–405, 2003.
- [59] H. J. Ferreau, C. Kirches, A. Potschka, H. G. Bock, and M. Diehl. qpOASES: A parametric active-set algorithm for quadratic programming. Mathematical Programming Computation, 6:327–363, 2014.
- [60] S. Theußl, F. Schwendinger, and K. Hornik. ROI: An extensible R optimization infrastructure. Journal of Statistical Software, 94(15):1–64, 2020.
- [61] J. Kunegis. KONECT – The Koblenz Network Collection. In Proceedings of the 22nd International Conference on the World Wide Web, pages 1343–1350, 2013.
- [62] L. Isella, J. Stehlé, A. Barrat, C. Cattuto, J.-F. Pinton, and W. Van den Broeck. What’s in a crowd? Analysis of face-to-face behavioral networks. Journal of Theoretical Biology, 271:166–180, 2011.
- [63] H. Jeong, B. Tombor, R. Albert, Z. N. Oltvai, and A.-L. Barabási. The large-scale organization of metabolic networks. Nature, 407:651–654, 2000.
- [64] L. Šubelj and M. Bajec. Robust network community detection using balanced propagation. European Physical Journal B, 81:353–362, 2011.
- [65] R. Guimerà, L. Danon, A. Díaz-Guilera, F. Giralt, and A. Arenas. Self-similar community structure in a network of human interactions. Physical Review E, 68(6):065103, 2003.
- [66] A. A. Hagberg, D. A. Schult, and P. J. Swart. Exploring network structure, dynamics, and function using NetworkX. In G. Varoquaux, T. Vaught, and J. Millman, editors, Proceedings of the 7th Python in Science Conference, pages 11–15, Pasadena, CA USA, 2008.
- [67] G. Csárdi, T. Nepusz, V. Traag, Sz. Horvát, F. Zanini, D. Noom, and K. Müller. igraph: Network Analysis and Visualization in R, 2024. R package version 2.0.3.
- [68] P. Holme and B. J. Kim. Growing scale-free networks with tunable clustering. Physical Review E, 65(2):026107, 2002.
- [69] K.-I. Goh, B. Kahng, and D. Kim. Universal behavior of load distribution in scale-free networks. Physical Review Letters, 87(27):278701, 2001.
- [70] F. Chung and L. Lu. Connected components in random graphs with given expected degree sequences. Annals of Combinatorics, 6:125–145, 2002.
- [71] Y. S. Cho, J. S. Kim, J. Park, B. Kahng, and D. Kim. Percolation transitions in scale-free networks under the Achlioptas process. Physical Review Letters, 103(13):135702, 2009.
- [72] A. Lancichinetti, S. Fortunato, and F. Radicchi. Benchmark graphs for testing community detection algorithms. Physical Review E, 78(4):046110, 2008.
- [73] A. Arenas, A. Díaz-Guilera, and C. J. Pérez-Vicente. Synchronization reveals topological scales in complex networks. Physical Review Letters, 96(11):114102, 2006.
- [74] M. T. Schaub, J.-C. Delvenne, R. Lambiotte, and M. Barahona. Structured networks and coarse-grained descriptions: A dynamical perspective. In P. Doreian, V. Batagelj, and A. Ferligoj, editors, Advances in Network Clustering and Blockmodeling, pages 333–361. John Wiley & Sons, Ltd, 2020.
- [75] V. D. Blondel, J.-L. Guillaume, R. Lambiotte, and E. Lefebvre. Fast unfolding of communities in large networks. Journal of Statistical Mechanics, 2008:P10008, 2008.
- [76] Y. Takahata. Diachronic changes in the dominance relations of adult female Japanese monkeys of the Arashiyama B group. In L. M. Fedigan and P. J. Asquith, editors, The Monkeys of Arashiyama: Thirty-five Years of Research in Japan and the West, pages 123–139. State University of New York Press, Albany, NY, 1991.
- [77] J. S. Coleman. Introduction to Mathematical Sociology. Collier-Macmillan, London, 1964.
- [78] L. C. Freeman, C. M. Webster, and D. M. Kirke. Exploring social structure using dynamic three-dimensional color images. Social Networks, 20(2):109–118, 1998.
- [79] T. P. Peixoto. The Netzschleuder network catalogue and repository, 2020. https://networks.skewed.de/, accessed 18 April 2024.
- [80] L. C. Freeman, S. C. Freeman, and A. G. Michaelson. On human social intelligence. Journal of Social and Biological Structures, 11(4):415–425, 1988.
- [81] B. Hayes. Connecting the dots. American Scientist, 94(5):400–404, 2006.
- [82] R. B. Correia, L. P. de Araújo Kohler, M. M. Mattos, and L. M. Rocha. City-wide electronic health records reveal gender and age biases in administration of known drug–drug interactions. NPJ Digital Medicine, 2:74, 2019.
- [83] M. E. J. Newman. Finding community structure in networks using the eigenvectors of matrices. Physical Review E, 74(3):036104, 2006.
- [84] S. J. Cook, T. A. Jarrell, C. A. Brittin, Y. Wang, A. E. Bloniarz, M. A. Yakovlev, K. C. Q. Nguyen, L. T.-H. Tang, E. A. Bayer, J. S. Duerr, H. E. Bülow, O. Hobert, D. H. Hall, and S. W. Emmons. Whole-animal connectomes of both Caenorhabditis elegans sexes. Nature, 571:63–71, 2019.
- [85] R. Hausmann, C. A. Hidalgo, S. Bustos, M. Coscia, A. Simoes, and M A. Yildirim. The Atlas of Economic Complexity: Mapping Paths to Prosperity. MIT Press, 2013.
- [86] R. M. Thompson and C. R. Townsend. Impacts on stream food webs of native and exotic forest: An intercontinental comparison. Ecology, 84(1):145–161, 2003.
- [87] J. Coleman, E. Katz, and H. Menzel. The diffusion of an innovation among physicians. Sociometry, 20(4):253–270, 1957.
- [88] R. Michalski, S. Palus, and P. Kazienko. Matching organizational structure and social network extracted from email communication. In W. Abramowicz, editor, 14th International Conference on Business Information Systems, Lecture Notes in Business Information Processing, pages 197–206, 2011.
- [89] L. Šubelj and M. Bajec. Community structure of complex software systems: Analysis and applications. Physica A, 390(16):2968–2975, 2011.
- [90] S. S. Shen-Orr, R. Milo, S. Mangan, and U. Alon. Network motifs in the transcriptional regulation network of Escherichia coli. Nature Genetics, 31:64–68, 2002.
- [91] R. Milo, S. Shen-Orr, S. Itzkovitz, N. Kashtan, D. Chklovskii, and U. Alon. Network motifs: simple building blocks of complex networks. Science, 298(5594):824–827, 2002.
- [92] Bureau of Transportation Statistics. T-100 domestic market, 2020. https://networks.skewed.de/net/us_air_traffic, accessed 18 April 2024.
- [93] United States Federal Aviation Administration. Air traffic control system command center, 2010. https://networks.skewed.de/net/faa_routes, accessed 18 April 2024.
Supplementary Materials for:
Approximating nonlinear dynamics on networks by sentinel nodes
Neil G. MacLaren, Baruch Barzel, and Naoki Masuda
Appendix S1 Undirected and unweighted networks used in the analysis
In the main text, we have shown results from two undirected and unweighted networks, i.e., the dolphin network and a network generated by the Barabási-Albert (BA) model. We used eight other undirected and unweighted networks, of which four are empirical networks and the other four are model networks, in our statistical analyses.
We downloaded the five empirical networks, including the dolphin network described in the main text, from the KONECT repository [61] at http://konect.cc. The other four empirical networks are as follows:
- Proximity
-
A network of visitors at a museum [62]. Each visitor is a node. Two nodes are adjacent (i.e., directly connected by an edge) if any face-to-face contact of 20 seconds or more was recorded between them. There are 69 days of recording [62]. We use the day with the largest number of contacts, which is the network provided in the KONECT repository. The network has , , , and CV of the degree equal to .
- Metabolic
-
A metabolic network of the nematode Caenorhabditis elegans [63]. In this network, nodes are metabolic compounds. Two nodes are adjacent if one metabolite is a product of the other. Note that the original study treated this network as directed, but we use the undirected version here. This network has , , , and CV of the degree equal to .
- Road
-
A network of major European roads [64]. Each node represents a city. Two cities are adjacent if there is a road connection between them. Our version of this network has , , , and CV of the degree equal to .
-
A network of email exchanges at the University of Rovira i Virgili [65]. Nodes in this network are email accounts. Two nodes are adjacent if at least one email was sent between them. Our version of this network has , , , and CV of the degree equal to .
We used instances of five undirected random network models, including the BA model, with nodes. We removed any self-loops or multi-edges and retained the largest connected component. We generated the Erdős-Rényi (ER), BA, Holme-Kim (HK), and Lancichinetti-Fortunato-Radicchi (LFR) models using NetworkX [66], and the Gao-Kahng-Kim (GKK) model using igraph [67]. The BA network is described in the main text. The remaining four networks are as follows:
- ER
-
We generated an undirected ER network with the probability of connecting two edges set to . The resulting network was connected and had , , , and CV of the degree equal to .
- HK
-
The HK model is a variation of the BA model that aims to produce high clustering (i.e., large density of triangles) [68]. We set and a target local clustering coefficient of . The final network had , , , CV of the degree equal to , and an average local clustering coefficient of .
- GKK
- LFR
-
The LFR benchmark model produces networks that have both heterogeneous degree distributions and community structure with heterogeneous community sizes [72]. We set the expected power-law exponents to and for the degree distribution and the distribution of community sizes, respectively. We set the probability of connecting nodes between communities to 0.1, the expected average degree to 4, and the minimum community size to 20. The final network had , , , and CV of the degree equal to .
Appendix S2 Approximation error as a function of
In the main text (section II.2), we showed that the degree distributions of optimized node sets remain distinct from those of completely random node sets up to for the dolphin and BA networks. Figure S6 indicates that the approximation errors of optimized node sets also remain distinct from and lower than those of completely random node sets. We note that the approximation error of both optimized and completely random node sets decreases as increases, which is expected.
Appendix S3 Distribution of approximation errors for various networks
In Figs. 2(a) and (b) in the main text, we demonstrated that the state averaged over the nodes in the optimized node set can closely approximate the state averaged over all the nodes in the coupled double-well dynamics on the dolphin and BA networks, respectively. We show the corresponding results for all ten networks in Fig. S7, as well as for the mutualistic interaction, SIS, and gene-regulatory dynamics in Figs. S8, S9, and S10, respectively. Figures S7(a) and (g) are identical to Figs. 2(a) and (b), respectively.
Across all dynamics and networks, the optimized node sets have relatively small approximation error. However, the relationship between degree-preserving and completely random node sets differs. In some networks, the difference between the degree-preserving and completely random node sets is large, such as for the dolphin network (Fig. S7a). However, it is not the case for the road network (Fig. S7d) and the LFR network (Fig. S7j). This latter result may be because the degree sequence may not contain sufficient information to characterize these networks: the road network has a complicated community structure imposed by geography [64], and the LFR network has a marked community structure by design [72]. Either of these cases may make particular nodes more suitable or less so for inclusion in for reasons other than the node’s degree. In addition, the road network has a narrow degree distribution, probably making the degree a less important indicator of a node’s importance in representing the dynamics of the entire network. Even in these cases, our algorithm finds node sets with relatively low approximation error.
Appendix S4 Statistical results for the effect of node set type on approximation error
To systematically assess the performance of our optimization algorithm across different dynamics and networks, we generated 100 optimized node sets by running the optimization algorithm 100 times, for each combination of dynamics and network. For comparison, we also generated 100 degree-preserving node sets, one per optimized node set, 100 completely random node sets for each network, and 100 node sets from each heuristic algorithm introduced in section S6 (-constrained, -quantiled, -constrained, and community-based) for each network. Note that neither the completely random nor heuristic algorithm node sets depend on the dynamics.
We computed the approximation error for each node set obtained by each of the seven algorithms, each of the four dynamics, and each of the ten networks. To compare the approximation error, we conducted a multi-way analysis of variance (ANOVA) with three independent variables, i.e., dynamics (reference: coupled double-well dynamics), network (reference: BA network), and node set type (reference: completely random node sets). We exclude the ER network because all node sets achieve small approximation errors on this network, probably due to limited heterogeneity in the degree distribution. The dependent, or response, variable in the model is the approximation error, . We use because tiny (i.e., near zero) error values are present; the error values obey skewed distributions for most dynamics, networks, and node set types; and the variance of tends to be large when the mean of is large.
Overall, our ANOVA model predicts well (). In part due to the large sample size (i.e., 25,200 observations), all three independent variables are highly significant (dynamics: , , , where the statistic is the mean-square error of the factor divided by the mean-square error of the residuals; network: , , ; node set type: , , ).
We show the differences between the average error for each pair of node set types, as computed by a Tukey’s honestly significant difference test, in Table S1. Each row of Table S1 specifies the estimated difference in average between the two node set types, the 95% confidence interval of the estimated mean difference, and a -value for the difference adjusted for multiple comparisons. For example, the first row states that, across dynamics and networks, optimized node sets have an average value that is 5.625 smaller than that of completely random node sets. On the natural scale, the average for optimized node sets is times smaller than the average for completely random node sets.
Difference | CI | ||
---|---|---|---|
Optimized Random | |||
Degree-preserving Random | |||
-constrained Random | |||
-quantiled Random | |||
-constrained Random | |||
Community-based Random | |||
Degree-preserving Optimized | |||
-constrained Optimized | |||
-quantiled Optimized | |||
-constrained Optimized | |||
Community-based Optimized | |||
-constrained Degree-preserving | |||
-quantiled Degree-preserving | |||
-constrained Degree-preserving | |||
Community-based Degree-preserving | |||
-quantiled -constrained | |||
-constrained -constrained | |||
Community-based -constrained | |||
-constrained -quantiled | |||
Community-based -quantiled | |||
Community-based -constrained |
The average of any node set type is smaller than that of completely random node sets (1st–6th rows of Table S1). In fact, optimized node sets have the smallest error (1st and 7th–11th rows), followed by the degree-preserving node sets (2nd, 7th, and 12th–15th rows), followed by the node sets generated by the heuristic algorithms (remaining rows). The node sets generated by the heuristic algorithms are in general poorly differentiated within them (last six rows of Table S1).
Appendix S5 Kullback-Leibler divergence
We measure how different a sampled degree distribution is from the original degree distribution of the network with the Kullback-Leibler divergence, . The Kullback-Leibler divergence is defined as
(S10) |
where is the degree distribution of the original network (i.e., the proportion of nodes having degree ), is the degree distribution based on the set of sampled nodes, and is the set of unique degree values in the original network. To compute , we first generated 100 optimized node sets with a given . Then, we calculated the proportion of nodes, across the 100 node sets, which had each degree in .
Appendix S6 Effects of structural features on the inclusion of nodes in optimized node sets
In the main text, we analyzed the degree distributions of optimized sentinel node sets in comparison with the degree distribution of completely randomly node sets. Other structural features of the network may also play roles in making nodes suitable for inclusion in optimized node sets. In this section, we investigate three such features.
S6.1 Effects of three structural features on the approximation error
First, we examined the effect of the average nearest neighbor degrees of the nodes in the optimized node sets. The average nearest neighbor degree of an th node is given by
(S11) |
where is the set of the neighbors of the th node. We compute the average of over the nodes in the node set by
(S12) |
for each optimized and completely random node set. We show in Fig. S11 the distribution of in the optimized and completely random node sets for the coupled double-well dynamics on the ten networks used in Fig. S7. The figure suggests that nodes in optimized node sets tend to have larger, or at least not smaller, than completely random node sets on average. Qualitatively, this observation suggests that our algorithm prefers nodes that “see” more of the network, i.e., nodes with neighbors receiving input from a larger portion of the network.
Second, we examined the effect of the local clustering coefficient. The local clustering coefficient of an th node is given by [2]
(S13) |
We computed the average of over the nodes in node set by
(S14) |
for each optimized and completely random node set. We show the distribution of in the optimized and completely random node sets for the coupled double-well dynamics on various networks in Fig. S12. The figure indicates that does not much differ between optimized and completely random node sets.
Third, we hypothesized that nodes in optimized node sets are more likely to come from different communities than those in completely random node sets. This hypothesis is intuitive because nodes in the same community are expected to show relatively similar dynamics [73, 10, 74, 14], and therefore it is probably redundant to devote multiple sentinel nodes to a single community when one can only use a small number of sentinel nodes. To test the hypothesis, we confined ourselves to six networks, i.e., the five empirical networks and the LFR network, which have relatively strong community structure. We obtained a partition of each network into communities using the Louvain algorithm [75]. Then, for each node set, we counted the number of nodes in the same community and recorded the maximum such number over all the communities, which we denote by . In Fig. S13, we show the distribution of for the optimized and completely random node sets. We find that the optimized node sets seem to have a somewhat smaller number of sentinel nodes coming from the same community (thus, smaller ) than the randomized node sets, supporting our claim, albeit weakly in appearance.
To formalize these observations, we attempted to classify each node set as either optimized or completely random based only on structural features of the node set. A successful classification would imply that one can likely construct a high-performance node set by relying on these node quantities and avoid running our optimization algorithm. We used logistic regression for this classification task. Specifically, we use a generalized linear model with binomial errors and a logit link function in which the dependent variable is the binary outcome of a trial (i.e., either a node set is completely random, which is the reference, or it is optimized). The independent variables are the simulation conditions (i.e., dynamics and network); , the average degree of the nodes in the node set; , the average nearest neighbor degree (i.e., ) averaged over the nodes (see Eqs. (S11) and (S12)); , the average local clustering coefficient of the nodes (see Eqs. (S13) and (S14)); and , the maximum number of nodes in a node set assigned to the same community. We analyzed the same number of node sets of each type: 100 optimized node sets for each combination of dynamics and network, and an equal number of completely random node sets (i.e., 400 random node sets for each network). We again exclude the ER network because of its relatively homogeneous degree distribution.
We show the results of this analysis in Table S2. We find that the classification is unsuccessful; our model explains less than 1% of the variance in classification of a node set as random or optimized (McFadden’s pseudo-). However, the coefficients on each node quantity are statistically significant and consistent with our analysis above: optimized node sets are associated with smaller (model coefficient , ), larger (, ), smaller (, ), and smaller (, ). Note that the coefficient on is the least extreme among the four (), consistent with our analysis above, while the -value is small due to a large sample size. Additionally, the controls for dynamics in this logistic regression are not significant, suggesting that the composition of optimized node sets may be more strongly related to network structure than dynamics. In sum, our model supports that, across dynamics and networks, optimized node sets avoid large-degree nodes, include nodes with better connected neighbors which do not in turn connect with each other, and avoid nodes that come from the same community. However, all these effects are weak.
Estimate | SE | |||
Intercept | ||||
Dynamics | ||||
Mutualistic species | ||||
SIS | ||||
Gene-regulatory | ||||
Network | ||||
Proximity | ||||
Metabolic | ||||
Road | ||||
BA | ||||
HK | ||||
GKK | ||||
LFR | ||||
Null deviance | 9981 | : 7199 | ||
Residual deviance | 9903 | : 7184 | ||
Pseudo- | 0.008 |
S6.2 Heuristic algorithms for node set selection
To explore the possibility of using the information obtained from these analyses to eliminate the need for our optimization algorithm, we designed four heuristic algorithms for node set selection based on our observations. These algorithms do not depend on the dynamics and only use the information on the network structure to different extents. We avoided algorithms using because, as we showed with Fig. S12, its distribution was apparently indifferent between the optimized and completely random node sets for at least some networks.
For the first algorithm, which we call “-constrained,” we reject the largest 5% of nodes in terms of degree and select nodes uniformly at random without replacement from the remaining 95% of nodes. We also reject the 5% largest-degree nodes before selecting nodes without replacement in each of the following algorithms.
In the “-quantiled” algorithm, we select one node uniformly at random from each of divisons of the degree distribution. For example, if , then we select one node from the smallest 25% of nodes in terms of degree, one node from the 25th–50th percent of nodes, and so on, among the 95% of nodes with the smallest degrees.
In the “-constrained” algorithm, we reject the bottom 5% of nodes in terms of and select nodes uniformly at random and without replacement from the remaining nodes.
Finally, the “community-based” algorithm runs as follows. First, we partition the network into communities using the Louvain algorithm [75]. Then, we select nodes softly avoiding multiple nodes from the same community. Specifically, we select the th community with probability , where is the number of nodes in the th community and is the number of communities in the network, then select one node uniformly at random without replacement from the th community. We repeat this procedure times. Note that the unbiased sampling of nodes would select each community with probability . Therefore, nodes in large communities are underrepresented in our community-based node set such that selection of multiple nodes from the same community is discouraged.
We found that selecting node sets according to these algorithms yielded smaller approximation error than with completely random node sets. Specifically, the -constrained, -quantiled, -constrained, and community-based node sets have 1.19, 1.15, 1.30, and 1.17 times smaller approximation error, respectively, than the completely random node sets (see Table S1). This result verifies that the structural properties that our optimization algorithm emphasizes, i.e., degree, average nearest-neighbor degree, and community membership, characterize good sentinel nodes. However, their contribution to suppressing the approximation error is modest. In contrast, one can achieve much smaller approximation error by actually running our optimization algorithm, suggesting that our optimization algorithm determines efficient sentinel node sets by exploiting more complex information on the given network than commonly known properties such as the node degrees and community structure. These observations also hold true when we do not know the test dynamics (Table S3) and for weighted (Tables S6 and S7) and directed (Tables S8 and S9) networks.
Appendix S7 Evaluating approximation error on an alternative dynamics
We have assumed that we can use the equations of the actual dynamical system in order to optimize node set selection. This condition is unlikely to hold in practice. In this section, we assess the consequences of optimizing with a proposed, or training, dynamics that is not the actual, or test, dynamics. Our procedure works as follows. For a given network, we pretend that we do not know the test dynamics (e.g., SIS dynamics) and therefore run a training dynamics (e.g., coupled double-well dynamics). Then, we analyze the approximation error obtained by the node sets we optimized with the training dynamics when the actual dynamics are the test dynamics (see Figure 5a in the main text).
We followed this procedure for each combination of training dynamics, test dynamics, network, and node set type. Specifically, for each network, we used the 100 node sets optimized on the training dynamics (e.g., coupled double-well dynamics) to calculate approximation errors on each test dynamics (i.e., SIS dynamics, gene-regulatory dynamics, and mutualistic species dynamics if the training dynamics is the coupled double-well dynamics). We carry out this procedure for each pair of different training and test dynamics, each network, and each node set type. Note that only the optimized and degree-preserving node sets use information on the dynamics. Therefore, there are 100 optimized and degree-preserving node sets for each pair of training dynamics and network, but 100 node sets for each network for each of the other five types of node set. As in section S4, we use as the dependent variable and built a generalized linear model with Gaussian errors and an identity link function. We excluded data from the ER network for the same reason as that stated in section S4.
We analyzed the obtained values by a multi-way ANOVA as in section S4. Even without knowledge of the test dynamics, our model explains a substantial portion of the variance in (), although it is less than when we do know the test dynamics (see section S4). Each of the four independent variables is highly significant (training dynamics: , , ; test dynamics: , , ; network: , , ; node set type: , , ). Note that the large number (i.e., ) of observations in part explains the small -values.
Table S3 shows the differences in average , estimated by Tukey’s honestly significant difference test. Despite not knowing the test dynamics, optimized node sets are still associated with the smallest , followed by the degree-preserving, heuristic algorithms, and completely random node sets. Although the difference between several pairs of the four heuristic algorithms in terms of is statistically significant, the magnitude of the differences among them is small.
Difference | CI | ||
---|---|---|---|
Optimized Random | |||
Degree-preserving Random | |||
-constrained Random | |||
-quantiled Random | |||
-constrained Random | |||
Community-based Random | |||
Degree-preserving Optimized | |||
-constrained Optimized | |||
-quantiled Optimized | |||
-constrained Optimized | |||
Community-based Optimized | |||
-constrained Degree-preserving | |||
-quantiled Degree-preserving | |||
-constrained Degree-preserving | |||
Community-based Degree-preserving | |||
-quantiled -constrained | |||
-constrained -constrained | |||
Community-based -constrained | |||
-constrained -quantiled | |||
Community-based -quantiled | |||
Community-based -constrained |
Appendix S8 Optimizing node weights
In this section, we analyze the effect of optimizing node weights in additional to optimizing node selection.
S8.1 An example
In Fig. 1in the main text, we demonstrate our algorithm on sentinel node sets of size for the coupled double-well dynamics on the dolphin network. In Fig. S14, we show a similar example when we also optimize node weights. When we use , the additional optimization step—that is, optimizing node weights in addition to the combinatorial optimization—allows us to even more closely approximate the averaged network activity, .
S8.2 Effect of node set type on approximation error
To quantify performances of the optimized node sets in which we also optimize the node weights, we built an ANOVA model using as the dependent variable, as we did in section S4. We generated 100 weight-optimized node sets for each pair of dynamics and network. For comparison, we use the same completely random and combinatorially optimized node sets (i.e., without optimizing node weights) from section S4. The three independent variables were dynamics, network, and node set type (random, optimized, and weight-optimized). All three independent variables were significant (dynamics: , , ; network: , , ; node set type: , , ).
We computed the differences between the three node set types with Tukey’s honestly significant difference test. We show the results in Table S4. As described in the main text, the average for the weight-optimized node sets is small, i.e., times smaller than the optimized node sets without the additional weight optimization step.
Difference | CI | ||
---|---|---|---|
Optimized Random | |||
Weight-optimized Random | |||
Weight-optimized Optimized |
S8.3 Transfer learning
In this section, we investigate performances of weight-optimized node sets when one does not know the test dynamics. As in section S7, we generated 100 weight-optimized node sets optimized with a training dynamics and evaluated the approximation error of those node sets on a test dynamics. We did this for each combination of training dynamics, test dynamics, and network. For comparison, we include the completely random and optimized node sets generated in the analysis in section S7.
All of the independent variables of the constructed ANOVA model are significant (training dynamics: , , ; test dynamics: , , ; network: , , ; node set type: , , ), and the ANOVA model fits the data well (). As reported in the main text, there is no significant difference between weight-optimized node sets and our standard optimized node sets (i.e., without node-weight optimization) when we optimize on a dynamics that is not the test dynamics ().
Difference | CI | ||
---|---|---|---|
Optimized Random | |||
Weight-optimized Random | |||
Weight-optimized Optimized |
Appendix S9 Sentinel node set optimization on weighted networks
In the main text, we focused on unweighted networks (i.e., networks in which all the edges have the same weight equal to ). In this section, we show that our sentinel node approximation also performs well for weighted networks.
We collected ten weighted networks from online repositories. From the KONECT project [61], we used a dominance network of Japanese macaques [76] (, ), a friendship network of high school students in Illinois, USA [77] (, ), a friendship network of Australian university students [78] (, ), and the proximity network from the main text but with edge weights retained [62] (, ). From the Netzschleuder repository [79], we used a network of interpersonal contacts between windsurfers [80] (, ), a network of contacts between individuals involved in the train bombing in 2004 in Madrid, Spain [81] (, ), a network of drug interactions gathered from health records in Blumenau, Brazil [82] (, ), a coauthorship network [83] (, )), a neuronal network of Caenorhabditis elegans [84] (, ), and a product export network [85] (, ). As we did for unweighted networks in the main text, we coerced each network to be undirected, discarded any self-edges, and analyzed only the largest connected component.
As before, we simulated each dynamics on each network, using the parameters described in the main text, obtaining . We then selected 100 node sets of size of each type.
We show the approximation error for the coupled double-well dynamics on the ten weighted networks in Fig. S15. As was the case for unweighted networks, our optimization algorithm consistently (i.e., over 100 independent algorithm runs and for each network) finds sentinel node sets with lower approximation error than degree-preserving and completely random node sets.
To systematically verify that the sentinel node approximation performs better than the other node set selection methods, we ran the same statistical analysis as the one we used for unweighted networks (see section S4). The ANOVA results were similar to those for unweighted networks (model ; dynamics: , , ; network: , , ; node set type: , , ). The optimized node sets had an average approximation error that was 960 times smaller than completely random node sets (, , ) and 262 times smaller than degree-preserving node sets (difference in coefficients: , , ); see Table S6. We note that the ordering of node set types in terms of approximation error is similar to that for unweighted networks, except that there is less difference between the heuristic node sets and the completely random node sets in the case of weighted networks. For example, both the -constrained and community-based node sets are not significantly different from the completely random node sets.
Difference | CI | ||
---|---|---|---|
Optimized Random | |||
Degree-preserving Random | |||
-constrained Random | |||
-quantiled Random | |||
-constrained Random | |||
Community-based Random | |||
Degree-preserving Optimized | |||
-constrained Optimized | |||
-quantiled Optimized | |||
-constrained Optimized | |||
Community-based Optimized | |||
-constrained Degree-preserving | |||
-quantiled Degree-preserving | |||
-constrained Degree-preserving | |||
Community-based Degree-preserving | |||
-quantiled -constrained | |||
-constrained -constrained | |||
Community-based -constrained | |||
-constrained -quantiled | |||
Community-based -quantiled | |||
Community-based -constrained |
The performance of our algorithm on weighted networks is also similar to that on unweighted networks when we do not know the test dynamics. In fact, by running the same analysis as that for the unweighted networks (see section S7), we find similar ANOVA results (; training dynamics: , , ; test dynamics: , , ; network: , , ; node set type: , , ). The average approximation error for the optimized node sets is 9.67 times smaller than for completely random node sets (, , ; Table S7) and 3.66 times smaller than degree-preserving node sets (difference in coefficients: , , ).
Difference | CI | ||
---|---|---|---|
Optimized Random | |||
Degree-preserving Random | |||
-constrained Random | |||
-quantiled Random | |||
-constrained Random | |||
Community-based Random | |||
Degree-preserving Optimized | |||
-constrained Optimized | |||
-quantiled Optimized | |||
-constrained Optimized | |||
Community-based Optimized | |||
-constrained Degree-preserving | |||
-quantiled Degree-preserving | |||
-constrained Degree-preserving | |||
Community-based Degree-preserving | |||
-quantiled -constrained | |||
-constrained -constrained | |||
Community-based -constrained | |||
-constrained -quantiled | |||
Community-based -quantiled | |||
Community-based -constrained |
Appendix S10 Sentinel node set optimization on directed networks
In this section, we show that our sentinel node approximation also performs well for directed networks. For simplicity, we consider the largest weakly connected component of each network and do not consider networks with edge weights.
We collected ten directed networks from the Netzschleuder repository [79]: a freshwater trophic network [86] (, ), a social network of physicians [87] (, ), an email network from a manufacturing company [88] (, ), a dependency network of the Flamingo software [89] (, ), a transcription network of the bacterium Escherichia coli [90] (, ), a transcription network of the yeast Saccharomyces cerevisiae [91] (, ), a network of US air carrier flights in 2020 [92] (, ), a dependency network of the JUNG software [89] (, ), the directed version of the university email network from the main text [65] (, ), and a network of air routes preferred by the US Federal Aviation Administration [93] (, ). We discarded any self-loops and the multiplicity of any multi-edges.
We show the approximation error for the coupled double-well dynamics on the ten directed networks in Fig. S16. The figure indicates that our optimization algorithm reliably identifies node sets that obtain relatively small approximation error in each of the ten directed networks.
We verified our observations with an ANOVA (model ; dynamics: , , ; network: , , ; node set type: , , ). On average, the approximation error for optimized node sets was 211 times smaller than completely random node sets (, , ) and 62.4 times smaller than degree-preserving node sets (difference in coefficients: , , ); see Table S8.
Difference | CI | ||
---|---|---|---|
Optimized Random | |||
Degree-preserving Random | |||
-constrained Random | 0.921 | ||
-quantiled Random | |||
-constrained Random | 0.996 | ||
Community-based Random | |||
Degree-preserving Optimized | |||
-constrained Optimized | |||
-quantiled Optimized | |||
-constrained Optimized | |||
Community-based Optimized | |||
-constrained Degree-preserving | |||
-quantiled Degree-preserving | |||
-constrained Degree-preserving | |||
Community-based Degree-preserving | |||
-quantiled -constrained | |||
-constrained -constrained | - | 0.999 | |
Community-based -constrained | |||
-constrained -quantiled | |||
Community-based -quantiled | |||
Community-based -constrained |
The ANOVA for directed networks in the case when we do not know the test dynamics fits the data reasonably well (model ; training dynamics: , , ; test dynamics: , , ; network: , , ; node set type: , , ). As is the case for undirected networks, the performance of optimized node sets is worse when the test dynamics is different from the training dynamics, but optimized node sets still outperform all other node sets. Optimized node sets had on average 3.02 times lower approximation error than completely random node sets (, , ) and 1.81 times smaller error than degree-preserving node sets (difference in coefficients: , , ); see Table S9.
Difference | CI | ||
---|---|---|---|
Optimized Random | |||
Degree-preserving Random | |||
-constrained Random | 0.422 | ||
-quantiled Random | |||
-constrained Random | 0.925 | ||
Community-based Random | |||
Degree-preserving Optimized | |||
-constrained Optimized | |||
-quantiled Optimized | |||
-constrained Optimized | |||
Community-based Optimized | |||
-constrained Degree-preserving | |||
-quantiled Degree-preserving | |||
-constrained Degree-preserving | |||
Community-based Degree-preserving | |||
-quantiled -constrained | |||
-constrained -constrained | 0.976 | ||
Community-based -constrained | |||
-constrained -quantiled | |||
Community-based -quantiled | |||
Community-based -constrained |