Abstract
Recently, it has been suggested that network temporality can be exploited to substantially reduce the energy required to control complex networks. This somewhat counterintuitive finding was explained through an evocative example of the advantage of temporal networks: when navigating a sailboat, we raise the sails when the wind helps us while lowering them when it works against us. Unfortunately, controlling complex networks inherits a further analogy with navigating a sailboat: having to face the inherent uncertainty of future winds. We rarely, if ever, have deterministic knowledge of the evolution of the network we want to control. Here, our challenge is to exploit the potential advantages of temporality when only a probabilistic description of the future is available. We prove that, in this more realistic setting, exploiting temporality is no more a panacea for network control, but rather an asset of a wider toolbox made available by the scientific community. One that can indeed turn out useful, provided that the temporality of the network structure matches the intrinsic time scales of the nodes we want to control.
Subject terms: Complex networks; Electrical and electronic engineering; Physics; Statistical physics, thermodynamics and nonlinear dynamics
Introduction
Social networks1,2, animal groups3, power grids4, and metabolic networks5 are examples of large scale systems composed of several interacting entities. Whether we are interested in predicting the emergence of collective behavior, or whether we want to control these systems, the complex dynamical networks paradigm has proved to be the modeling tool of choice. Within this framework, the current state of the single entities, the n network nodes, is collected in a vector , and the current value of the p external signals used to control the network behavior in a vector . As the control signals only affect a limited number of the network nodes, the drivers, controlling complex networks entails exploiting the structure of the interconnections to indirectly affect the remainder of the nodes. Early work on network controllability, the ability to steer the vector x(t) towards any arbitrary state in finite time, hinted to the possibility of controlling real world complex systems by only leveraging a limited number of drivers6–9. However, this enthusiasm has been promptly tempered by the finding that reducing the number of drivers comes at the price of an exponential increase in the energy required to control a network10,11. When only few nodes are directly controlled, even numerically computing the control signal required to steer the network towards an arbitrary state becomes unfeasible12. Is there any workaround to this problem except increasing the number of drivers? The authors of Ref.13 suggested that many complex systems may possess natural mechanisms to avoid traveling along directions of the state space that would require an excessive amount of energy. More recently, Li and collaborators14 suggested that exploiting temporality, that is, network variability over time, could substantially reduce energy requirements without increasing the number of drivers. This finding, being counterintuitive, is intriguing, as we might expect that temporality might hinder our ability to control a network. However, this apparent contradiction is due to the fact that we humans often associate uncertainty to future variability. In the scenario considered in14, instead, there is variability, but without uncertainty, that is, the future evolution of the network is a priori known. In this ideal framework we would certainly feed energy to the network only when it is in a favorable configuration. In other words, we would act as an investor who sells her stocks only when they reach their peak values, while holding them otherwise. Unfortunately, real world investors cannot rely on knowledge of the future, but must forecast market peaks based on stochastic models, thus accepting the possibility of incurring into unpredicted losses. In the same spirit of the investors trusting technical analysis, we revisit the problem of controlling a temporal network in a stochastic setting, where only a probabilistic description of the network evolution is available. The control tools we develop allow us to uncover when the opportunities offered by temporality prevail over uncertainty on the future network evolution.
Minimizing the expected control energy
A temporal network can be viewed as an ordered sequence of m static networks, from now on denoted as snapshots, sharing the same set of n nodes. The k-th snapshot, characterized by a weighted adjacency matrix , describes the node interconnections in the interval . The length of each interval can be interpreted as a measure of the current network temporality. When is small, the network is experiencing a period of fast temporality, while when it is large, the temporality is slow. As in previous works6,7,10,14,15, we focus on temporal networks of linear systems
| 1 |
In Eq. (1), the matrix B identifies the set, equal for all snapshots, of p driver nodes that we directly influence through the control input u with the final goal of controlling the network as a whole. To highlight the fundamental distinction between our setting and previous work14, we give the definition of stochastic temporal network we refer to.
Definition 1
Network (1) is a stochastic temporal network when, at any snapshot , is drawn from a family of admissible adjacency matrices according to the realization of a scalar stochastic process .
Namely, if at time we have , then . Consistently, we will consider any observed sequence , as a realization of the stochastic process . Therefore, the main difference with respect to the existing literature is in the a priori information available at any time for the control design. Indeed, while we still assume to have deterministic knowledge of the current realization of , we can only rely on a probabilistic description of the future snapshots that will depend upon the distribution of the process . In this stochastic scenario, does temporality still represent an advantage for network control?
To answer this question, we must first give a condition for controllability that suits this scenario. As the sequence of future snapshots is unknown a priori, guaranteeing that a temporal network is controllable implies selecting a B such that any possible realization of the pair , is controllable. Under this assumption, to investigate whether temporality can mitigate the control effort, we developed a machinery inspired to stochastic optimal control16. This theoretical framework prescribes to find the signal u(t) that minimizes the expected energy required to drive the network from an initial state to a final state , that is,
| 2a |
| 2b |
| 2c |
where, in (2a), denotes the vector , and
with being the joint probability distribution of the variables .
To solve the optimal control problem in Eq. (2), we must preliminarily note that in moving from to the network state will cross waypoints . It turns out that minimizing (2a) implies transitioning between any two consecutive waypoints with minimum energy. This can be achieved, in each snapshot, by means of the classic minimum energy control. Indeed, we can write
| 3 |
where is the restriction of u(t) to , for . For given values of , , and given the realization of , the input minimizing is the well-known solution of the standard minimum energy control problem
| 4 |
Namely, the optimal solution is
| 5 |
where
is the reachability gramian. For this well-known problem, the optimal value of the cost function is
Coming back to our problem in Eq. (2), noting that for all possible , , and for any realization of we can conclude that the structure of the solution of (2) is obtained by substituting to in Eq. (5). This implies that problem (2) can be viewed as a concatenation of different instances of problem (4) in each of which is given and is the actual decision variable. Accordingly, solving (2) becomes equivalent to selecting the optimal waypoints . Therefore, the a priori control energy required in each snapshot is the stochastic variable
| 6 |
and we can rewrite the minimum energy control problem as
| 7a |
| 7b |
where, at each k, is known. The following theorem provides a recursive solution for computing the optimal waypoints.
Theorem 1
The solution of the optimal control problem (7) is given by
| 8 |
where
| 9 |
with
| 10 |
Furthermore, the associated optimal cost is given by
| 11 |
Proof
See Supplementary Information, section S1.2.
The expression in (11), that is, the expected energy required to drive the temporal network from any to any other turns out to be a quadratic form. We leverage the developed machinery to compare the tasks of controlling a temporal network in the deterministic setting considered in Ref.14 and in our stochastic setting. An explicatory illustration of the effect of uncertainty is reported in Fig. 1, which depicts the energy required to control the same 83 node temporal network considered in Ref.14 and obtained by condensing the time-varying protein-protein binding interactions17 of the yeast Saccharmoyces Cerevisiae over 50 snapshots of equal length . We have ensured each snapshot is asymptotically stable by adding self loops on the diagonal of each of the network adjacency matrices. Morover, we have selected 14 driver nodes so that each possible realization of the pair is controllable. To allow a fair comparison between the stochastic and the deterministic setting, in both cases we take the sequence of snapshots directly from the data. Whereas in the stochastic case we assume this sequence is unknown and thus the waypoints must be computed online, in the deterministic case the sequence is known a priori allowing to compute the waypoints in advance. We find that the stochastic setting demands orders of magnitude more energy when the network temporality is fast. This difference reduces and asymptotically vanishes as the duration of each snapshot increases. Is this a general pattern? In the next section, we introduce the theoretical tools needed to answer this question.
Figure 1.

Control energy requirements in the deterministic (blue) and stochastic (red) scenario for the yeast Saccharmoyces cerevisiae. The solid lines are the minimum energies as a function of averaged over final states selected on the unit hypersphere centered in the origin. The shaded areas are enclosed by the observed minimum and maximum energies. The minimum energy feedback control strategy is implemented both in the stochastic and in the deterministic scenario. The picture shows that in the stochastic scenario the control can be orders of magnitude more energetically demanding with respect to the deterministic scenario. The energy gap tends to vanish when increases, that is, when the temporality becomes slower.
Expected energy for stochastic temporal and static networks
The previous section showed the striking impact of uncertainty, which seems to challenge the claim that network variability enhances our ability to control complex networks14. However, the observation was made with reference to one specific temporal network, i.e. a single realization of the process , and for an arbitrarily selected set of target states . To paint an unbiased picture of whether temporality can still be exploited to our advantage in this stochastic setting, we turn to synthetic networks to ensure independence from the specific sequence of snapshots and from the target state . We consider networks of nodes, build a finite pool of network topologies, and select 10 driver nodes defining a matrix B that guarantees network controllability for any matrix in the pool (see Supplementary Information Section S3 for further details). We assess whether the advantage of temporality persists when the inherent presence of uncertainty is considered by comparing two scenarios. In the first one, we considered a stochastic temporal network as described in Definition 1 where the stochastic process is a sequence of independent uniformly distributed stochastic variables, and computed the a priori explected energy required to control it. This expected energy is then compared with the average energy required to control the network in a second scenario, in which we consider a static network whose topology has been extracted from according to the uniformly distributed random variable . For the first scenario, from Eq. (11), the a priori expected energy required to control a stochastic temporal network can be computed as
| 12 |
Without loss of generality, we assume , and denote
the inverse of the a priori expected gramian over the entire time horizon . Equation (12) can be then rewritten as
The trace of represents the expected energy required to control a stochastic temporal network averaged over all possible target states on the unit hypersphere, and thus considering it ensures independence from a specific . In the second scenario, the expected energy required to control a static network is
| 13 |
where
| 14 |
Hence, the trace of provides a benchmark for the expected energy required to control a stochastic temporal network that is independent of the target state . Notice that our choice is different from that made in14, where the benchmark was selected as the energy required to control the average network described by the matrix , a choice that would yield the paradox of temporality being beneficial even when so slow to be considered negligible.
The results of the comparison between scenarios one and two are shown in Fig. 2. We find that in the fast temporality regime (with very small ) the expected energy required to control a temporal network can exceed by orders of magnitude that required by a static network. On the other hand, in the slow temporality regime, we observe that this difference becomes negligible. These empirical observations are supported by the theoretical analysis performed in Supplementary Information section S2. Our derivations provide a formal proof of the intuition that when the temporality is so fast that we do not have time to exploit it, the effect of uncertainty prevails. When instead the temporality is so slow that most of the energy fed to the network in order to reach a targeted waypoint is dissipated in the next snapshots, we rather wait for the last snapshot, thus treating a temporal network as if it were static. Our formal analysis clarifies that the paradoxical result reported in Ref.14 that temporality is advantageous even when so slow to be negligible was due to the use of an ad hoc static benchmark. Interestingly, we do find that there is a regime where temporality prevails on uncertainty (see the inset of Fig. 2). To delve into this regime, we should take into account that all real world systems that can be modeled as dynamical network are characterized by time scales. Those of digital communication networks18, for instance, are determined by the dynamical flow of the data packets, whereas those of epidemic processes19 depend on the specific infection taking place, and can range from few days to months20. For a linear network, and thus for each of our snapshots, the time scale is related to the eigenvalues of . Our numerical results reveal that shifting the spectrum of the snapshots shifts the regime where the advantage of temporality appears (see Fig. 3). In other words, temporality prevails on uncertainty, provided it matches the time scale of the network we are trying to control. Our results prove to be robust to the removal of the hypothesis of independence of the stochastic process , to variations of the size of the pool , and to variations of the number of snapshots m (see SI Section 4).
Figure 2.

The advantage of temporal networks in the stochastic scenario. The solid lines represent the minimum expected energy averaged over all possible final states on the unit hypersphere centered in the origin (trace of , in red) and the benchmark energy (trace of , in green) as a function of . The shaded areas are enclosed by the minimum and the maximum (in red) and (in green) observed over final states on the unit hypersphere. In the fast regime (i.e., for small ), uncertainty prevails over temporality with the expected energy required to control a temporal network being larger than the benchmark energy. As temporality vanishes (i.e., for large ), the energy difference becomes negligible. The advantage of temporality appears in the intermediate temporality regime and is shown in the inset.
Figure 3.

Network temporality and time scales. We consider 19 temporal networks with nodes over snapshots and differing only in the dominant time constant that is chosen as a measure of the network time scale (see Supplementary Information section S2). The left panel shows the expected control energy averaged over all possible final states on the unit hypersphere centered in the origin for 5 of the 19 networks. The plot illustrates that the network becomes more energetically demanding and that the minimum point of the energy shifts towards faster temporality regimes as becomes smaller (i.e., as the curves become darker). The right panel highlights the relation between temporality and time scales, with the black dots representing as a function of for each of the 19 networks. Specifically, the minimum point , numerically obtained, corresponds to the value of associated to the minimum expected control energy.
Discussion
Coming back to our fundamental question, in real world systems, temporality comes hand in hand with uncertainty. Who can determinstically predict the future chemical reactions in a metabolic network, or the time instant at which a mobile device will activate? In this realistic scenario, is exploiting temporality the workaround to achieve the chimera we are chasing since 20116, that is, controlling complex networks with a very limited number of driver nodes? Our results indicate this is not true, as we never experience that temporality yields orders of magnitude of energy reductions. However, is this a setback for the community working on network control? A careful analysis of our work shows that the answer is no. Rarely, if ever, we find a panacea for real-world problems, and network control proves to be no exception. More often, we develop assets that blended together yield substantial progress. Our findings show that the ability to exploit temporality is one of these assets, one that can allow halving energy requirements, provided it matches the time scale of the network we are trying to control. To put this advantage in perspective, in the aerospace industry, millions of dollars are spent to gain single digit advantages in fuel efficiency.
Supplementary Information
Acknowledgements
The work of P. De Lellis was supported by the Compagnia di San Paolo, Istituto Banco di Napoli – Fondazione, Grant STAR 2018, project ACROSS.
Author contributions
F.G. and F.L.I. conceived the project. P.D., F.L.I., and A.D. performed the analytical calculations. F.L.I, and A.D. performed all the numerical calculations. P.D. wrote a first draft of the manuscript. All authors reviewed and edited the manuscript.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
The online version contains supplementary material available at 10.1038/s41598-021-86059-8.
References
- 1.Watts DJ. A twenty-first century science. Nature. 2007;445(7127):489. doi: 10.1038/445489a. [DOI] [PubMed] [Google Scholar]
- 2.Kitsak M, GallosGallos LK, Havlin S, Liljeros F, Muchnik L, Stanley HE, Makse HA. Identification of influential spreaders in complex networks. Nat. Phys. 2010;6:888–893. doi: 10.1038/nphys1746. [DOI] [Google Scholar]
- 3.Sumpter DJT. Collective Animal Behavior. Princeton University Press; 2010. [Google Scholar]
- 4.Pagani GA, Aiello M. The power grid as a complex network: A survey. Phys. A. 2013;392(11):2688–2700. doi: 10.1016/j.physa.2013.01.023. [DOI] [Google Scholar]
- 5.Almaas E, Kovacs B, Vicsek T, Oltvai ZN, Barabási AL. Global organization of metabolic fluxes in the bacterium Escherichia coli. Nature. 2004;427(6977):839–843. doi: 10.1038/nature02289. [DOI] [PubMed] [Google Scholar]
- 6.Liu Y-Y, Slotine J-J, Barabási A-L. Controllability of complex networks. Nature. 2011;473(7346):167. doi: 10.1038/nature10011. [DOI] [PubMed] [Google Scholar]
- 7.Lo Iudice F, Garofalo F, Sorrentino F. Structural permeability of complex networks to control signals. Nat. Commun. 2015;6(8349):1–6. doi: 10.1038/ncomms9349. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Gao J, Liu Y-Y, D’Souza RM, Barabási A-L. Target control of complex networks. Nat. Commun. 2014;5:5415. doi: 10.1038/ncomms6415. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Yuan Z, Zhao C, Di Z, Wang W-X, Lai Y-C. Exact controllability of complex networks. Nat. Commun. 2013;4:2447. doi: 10.1038/ncomms3447. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Yan G, Tsekenis G, Barzel B, Slotine J-J, Liu Y-Y, Barabási A-L. Spectrum of controlling and observing complex networks. Nat. Phys. 2015;11(9):779. doi: 10.1038/nphys3422. [DOI] [Google Scholar]
- 11.Pasqualetti F, Zampieri S, Bullo F. Controllability metrics, limitations and algorithms for complex networks. IEEE Trans. Control Netw. Syst. 2014;1(1):40–52. doi: 10.1109/TCNS.2014.2310254. [DOI] [Google Scholar]
- 12.Sun J, Motter AE. Controllability transition and nonlocality in network control. Phys. Rev. Lett. 2013;110(20):208701. doi: 10.1103/PhysRevLett.110.208701. [DOI] [PubMed] [Google Scholar]
- 13.Yan G, Ren J, Lai Y-C, Lai C-H, Li B. Controlling complex networks: How much energy is needed? Phys. Rev. Lett. 2012;108(21):218703. doi: 10.1103/PhysRevLett.108.218703. [DOI] [PubMed] [Google Scholar]
- 14.Li A, Cornelius SP, Liu Y-Y, Wang L, Barabási A-L. The fundamental advantages of temporal networks. Science. 2017;358(6366):1042–1046. doi: 10.1126/science.aai7488. [DOI] [PubMed] [Google Scholar]
- 15.Lo Iudice F, Sorrentino F, Garofalo F. On node controllability and observability in complex dynamical networks. IEEE Control Syst. Lett. 2019;3(4):847–852. doi: 10.1109/LCSYS.2019.2919810. [DOI] [Google Scholar]
- 16.Lewis FL, Vrabie D, Syrmos VL. Optimal Control. Wiley; 2012. [Google Scholar]
- 17.Wang J, Peng X, Li M, Pan Y. Construction and application of dynamic protein interaction network based on time course gene expression data. Proteomics. 2013;13(2):301–312. doi: 10.1002/pmic.201200277. [DOI] [PubMed] [Google Scholar]
- 18.Lee EA, Messerschmitt DG. Digital Communication. Springer Science & Business Media; 2012. [Google Scholar]
- 19.Brockmann D, Helbing D. The hidden geometry of complex, network-driven contagion phenomena. Science. 2013;342(6164):1337–1342. doi: 10.1126/science.1245200. [DOI] [PubMed] [Google Scholar]
- 20.Holme P, Saramäki J. Temporal networks. Phys. Rep. 2012;519(3):97–125. doi: 10.1016/j.physrep.2012.03.001. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
