19
Closed-Loop Control of Complex Networks: A Trade-Off between Time and Energy Yong-Zheng Sun, 1,2 Si-Yang Leng, 1,3,4 Ying-Cheng Lai, 5 Celso Grebogi, 6 and Wei Lin 1,3,* 1 Center for Computational Systems Biology of ISTBI, Fudan University, Shanghai 200433, China 2 School of Mathematics, China University of Mining and Technology, Xuzhou 221116, China 3 School of Mathematical Sciences and LMNS, Fudan University, Shanghai 200433, China 4 Collaborative Research Center for Innovative Mathematical Modelling, Institute of Industrial Science, The University of Tokyo, Tokyo 153-8505, Japan 5 School of Electrical, Computer, and Energy Engineering, Arizona State University, Tempe, Arizona 85287-5706, USA 6 Institute for Complex Systems and Mathematical Biology, University of Aberdeen, Aberdeen AB24 3UE, United Kingdom (Received 27 April 2017; revised manuscript received 3 October 2017; published 7 November 2017) Controlling complex nonlinear networks is largely an unsolved problem at the present. Existing works focus either on open-loop control strategies and their energy consumptions or on closed-loop control schemes with an infinite-time duration. We articulate a finite-time, closed-loop controller with an eye toward the physical and mathematical underpinnings of the trade-off between the control time and energy as well as their dependence on the network parameters and structure. The closed-loop controller is tested on a large number of real systems including stem cell differentiation, food webs, random ecosystems, and spiking neuronal networks. Our results represent a step forward in developing a rigorous and general framework to control nonlinear dynamical networks with a complex topology. DOI: 10.1103/PhysRevLett.119.198301 Recent years have witnessed a growth of interest in controlling complex networks. Avast majority of the existing works in this area dealt with the controllability and control of linear dynamical networks [127]. Controlling complex networks with nonlinear dynamics has been limited to brute force strategies such as local pinning [2831] or to specific systems exhibiting a simple kind of multistability [3236]. Most existing methods of controlling nonlinear networks were of the open-loop type; i.e., one selects a suitable subset of nodes and applies predefined control signals or parameter perturbations, which are state independent, to drive the system from an initial state to a desired target. It is, however, difficult to formulate a general and robust open-loop control framework. It is thus of interest to investigate closed-loop control for complex nonlinear dynamical networks, in which a predesigned feedback loop generates control signals according to the instantaneous state of the system. Closed- loop control thus provides a theoretically relevant and significant alternative to controlling complex nonlinear networks. In controlling chaos in low-dimensional dynamical systems, both open- and closed-loop controls were exten- sively investigated. The Ott-Grebogi-Yorke [37] principle, in which small, deliberate, and time-dependent perturba- tions calculated from measured time series are applied to a parameter or a dynamical variable to keep the system in the vicinity of a target periodic orbit, belongs to the open-loop category. Because of the hallmark of chaos, i.e., sensitive dependence on initial conditions, the control perturbation can be small, and there is great flexibility to switch the target orbit. However, real-time observations of the system are needed, and control can be fragile to external disturbances. The method of Pyragas [38,39] is a closed- loop type of control in which a delayed feedback term is added to the system equations. It does not require real-time observation and analysis of the system, so experimental implementation is greatly facilitated and control can be robust against noise, but the time for control realization is infinite and control flexibility is limited. The developmen- tal history of the field of chaos control provides another motivation for us to consider frameworks as an alternative to open-loop methods for nonlinear network control. In this Letter, we articulate and analyze a global, finite- time, and closed-loop control framework for complex non- linear dynamical networks. To ensure that our framework is physically significant, we focus on the control energy and the time required to achieve control and investigate their trade- off. We study how network parameters and structure affect the control time and energy and test the control framework using a variety of real biophysical systems including stem cell differentiation, food webs, random ecosystems, and neuronal networks. Analytically, we derive rigorous upper bounds for both the control energy and time. These results suggest that to develop closed-loop control with optimized control time and energy not only is fundamental to the network control field but also has applied values. We consider nonlinear dynamical networks described by _ x i ¼ fðx i Þþ P N i¼1 c ij Γx j ðtÞþu½xðtÞB i , 1 i N, where N is the network size, x i ¼½x i1 ; ;x id R d denotes the d- dimensional state variable of the ith node, x represents the state variables of the whole network, fR d R d is a nonlinear velocity field governing the nodal dynamics and satisfying fðxÞlxor jx fðxÞj lx2 (x R d ) PRL 119, 198301 (2017) PHYSICAL REVIEW LETTERS week ending 10 NOVEMBER 2017 0031-9007=17=119(19)=198301(6) 198301-1 © 2017 American Physical Society

Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

Closed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

Yong-Zheng Sun,1,2 Si-Yang Leng,1,3,4 Ying-Cheng Lai,5 Celso Grebogi,6 and Wei Lin1,3,*1Center for Computational Systems Biology of ISTBI, Fudan University, Shanghai 200433, China

2School of Mathematics, China University of Mining and Technology, Xuzhou 221116, China3School of Mathematical Sciences and LMNS, Fudan University, Shanghai 200433, China

4Collaborative Research Center for Innovative Mathematical Modelling, Institute of Industrial Science,The University of Tokyo, Tokyo 153-8505, Japan

5School of Electrical, Computer, and Energy Engineering, Arizona State University, Tempe, Arizona 85287-5706, USA6Institute for Complex Systems and Mathematical Biology, University of Aberdeen, Aberdeen AB24 3UE, United Kingdom

(Received 27 April 2017; revised manuscript received 3 October 2017; published 7 November 2017)

Controlling complex nonlinear networks is largely an unsolved problem at the present. Existing worksfocus either on open-loop control strategies and their energy consumptions or on closed-loop controlschemes with an infinite-time duration. We articulate a finite-time, closed-loop controller with an eyetoward the physical and mathematical underpinnings of the trade-off between the control time and energyas well as their dependence on the network parameters and structure. The closed-loop controller is tested ona large number of real systems including stem cell differentiation, food webs, random ecosystems, andspiking neuronal networks. Our results represent a step forward in developing a rigorous and generalframework to control nonlinear dynamical networks with a complex topology.

DOI: 10.1103/PhysRevLett.119.198301

Recent years have witnessed a growth of interest incontrolling complex networks.Avastmajority of the existingworks in this area dealt with the controllability and control oflinear dynamical networks [1–27]. Controlling complexnetworks with nonlinear dynamics has been limited to bruteforce strategies such as local pinning [28–31] or to specificsystems exhibiting a simple kind of multistability [32–36].Most existing methods of controlling nonlinear networkswere of the open-loop type; i.e., one selects a suitable subsetof nodes and applies predefined control signals or parameterperturbations, which are state independent, to drive thesystem from an initial state to a desired target. It is, however,difficult to formulate a general and robust open-loop controlframework. It is thus of interest to investigate closed-loopcontrol for complex nonlinear dynamical networks, in whicha predesigned feedback loop generates control signalsaccording to the instantaneous state of the system. Closed-loop control thus provides a theoretically relevant andsignificant alternative to controlling complex nonlinearnetworks.In controlling chaos in low-dimensional dynamical

systems, both open- and closed-loop controls were exten-sively investigated. The Ott-Grebogi-Yorke [37] principle,in which small, deliberate, and time-dependent perturba-tions calculated from measured time series are applied to aparameter or a dynamical variable to keep the system in thevicinity of a target periodic orbit, belongs to the open-loopcategory. Because of the hallmark of chaos, i.e., sensitivedependence on initial conditions, the control perturbationcan be small, and there is great flexibility to switch thetarget orbit. However, real-time observations of the systemare needed, and control can be fragile to external

disturbances. The method of Pyragas [38,39] is a closed-loop type of control in which a delayed feedback term isadded to the system equations. It does not require real-timeobservation and analysis of the system, so experimentalimplementation is greatly facilitated and control can berobust against noise, but the time for control realization isinfinite and control flexibility is limited. The developmen-tal history of the field of chaos control provides anothermotivation for us to consider frameworks as an alternativeto open-loop methods for nonlinear network control.In this Letter, we articulate and analyze a global, finite-

time, and closed-loop control framework for complex non-linear dynamical networks. To ensure that our framework isphysically significant, we focus on the control energy and thetime required to achieve control and investigate their trade-off. We study how network parameters and structure affectthe control time and energy and test the control frameworkusing a variety of real biophysical systems including stemcell differentiation, food webs, random ecosystems, andneuronal networks. Analytically, we derive rigorous upperbounds for both the control energy and time. These resultssuggest that to develop closed-loop control with optimizedcontrol time and energy not only is fundamental to thenetwork control field but also has applied values.We consider nonlinear dynamical networks described by

_xi¼fðxiÞþPN

i¼1cijΓxjðtÞþu½xðtÞ&Bi, 1 ≤ i ≤ N, whereNis the network size, xi ¼ ½xi1;…; xid&⊤ ∈ Rd denotes the d-dimensional state variable of the ith node, x represents thestate variables of the whole network, f∶Rd → Rd is anonlinear velocity field governing the nodal dynamics andsatisfying ∥fðxÞ∥ ≤ l∥x∥ or jx⊤fðxÞj ≤ l∥x∥2 (∀x ∈ Rd)

PRL 119, 198301 (2017) P HY S I CA L R EV I EW LE T T ER Sweek ending

10 NOVEMBER 2017

0031-9007=17=119(19)=198301(6) 198301-1 © 2017 American Physical Society

Page 2: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

with a positive constant l, C ¼ ðcijÞ ∈ RN×N is the couplingmatrix determined by the network structure, Γ ∈ Rd×d

describes the internal coupling configuration at each node,u½xðtÞ& ¼ ½uiðtÞ&1≤i≤M ∈ Rd×M (M ≤ N) is the closed-loopcontrol protocol to be designed, and Bi ¼ ½bi1;…; biM&⊤ ∈RM (bim ¼ 0, 1) characterizes the driving by the controller uto the ith node. Going beyond the existing works on open-loop control of complex networks, where the goal is to drivethe system to an instantaneous state, we set the control targetto be an unstable steady state, which, for mathematicalconvenience, is assumed to be xi ¼ 0 for all i. For anynontrivial target state, a direct translation can be used totransfer the state to xi ¼ 0.For a general nonlinear dynamical system, a straightfor-

ward approach to realizing closed-loop control [40–42] is toset each component of u as ui¼−kxi≜uLi (1≤i≤M≤N). Inprinciple, this linear feedback controller of strength k is ableto steer the dynamics to converge to the target xi ¼ 0, but thetime required for convergence is infinite. We thus seekalternative methods [43–46] to achieve a finite control timeand robustness against disturbances. A typical form of thefeedback controller is ui ¼ −ksigðxiÞα≜uFi , which can drivethe system to xi ¼ 0 for all t ≥ TF

f with TFf < ∞, where

sigðxiÞα ¼ ½sgnðxi1Þjxi1jα;…; sgnðxidÞjxidjα&⊤, sgnð·Þ is asign function, k is the control strength, and α ∈ ð0; 1Þ is thesteepness exponent. The mathematical underpinning of thecontroller uFi lies in that the non-Lipschitzian j · jα at xi ¼ 0violates the solution uniqueness of the system of coupleddifferential equations.To gain physical insights into the control process, we

consider the potential function EL;Fp ðxiÞ ¼

R xi0 uL;Fi dxi,

which can be determined from the closed-loop feedbackcontroller. We find that uLi is located higher than uFi forjxij > 1, while the opposite occurs for jxij < 1, as shown inFig. 1(a). On the potential landscape, the controlled systemtrajectory can be regarded as a particle moving along someoptimal path towards the target xi ¼ 0, the minimum of thepotential. The particle experiences a stronger potential forcealong a path determined by uLi (uFi ) for jxij > 1 (jxij < 1).The maximum force occurs for jxij < 1 and α → 0. In thiscase, uFi jα¼0 corresponds to a double-valued and closed-loopcontroller, similar to the classical bang-bang control [47].The basic principle is then to design two controllers incomplementary regions of the phase space. This consider-ation leads us to propose the following global, compoundcontroller: ui ¼ uFi IU þ uLi IUc≜uSi , where 1 ≤ i ≤ M, theunit ball is defined by U ¼ f∥x∥ < 1g, x ¼ ½x⊤1 ;…; x⊤N &⊤,∥ · ∥ denotes an appropriate norm of the underlying vector,Uc is the complement of U, and I is the indication functionfor a given subscript set. The norm can be taken as the Lp orL∞. To be representative and without the loss of generality,we study theL2 norms. As shown in Fig. 1(b), the compoundcontroller uSi switches from uLi to uFi when the system entersthe unit sphere.

We now prove that the controller uS ¼ ½uSi &1≤i≤M enablesfinite-time control and provide an estimate of TS

f, the timerequired to achieve control. To be concrete, we setM ¼ N,bii ¼ 1, and bim ¼ 0 for i ≠ m. As shown in Fig. 1(b), forxð0Þ ∉ U, the control protocol is set as uSi ¼ uLi . A directcalculation gives d∥xðtÞ∥2=dt ≤ −2ðk − l − ηmaxÞ∥xðtÞ∥2,where ηmax is the maximal eigenvalue of the matrix H ≡½ðC ⊗ ΓÞ⊤ þ C ⊗ Γ&=2 and ⊗ represents the Kroneckerproduct for matrices. Setting k > lþ ηmax when the net-worked system is outside of the ball U, we get the timeinstant t' such that xðtÞjt¼t' hits the sphere of U with t' ≤½ln ∥xð0Þ∥&=ρ and ρ≜k − l − ηmax > 0. Once the orbit xðtÞenters U after t', because of the dissipation inside U (seeSupplemental Material [48]), the system will never leave it,so that uSi becomes uFi with the corresponding value k fort > t', as shown in Fig. 1(b). The dynamical systems theory[48] stipulates that d∥xðtÞ∥2=dt ≤ −2ρ∥xðtÞ∥1þα for t ≥ t'

and that xðtÞ≡ 0 for all t ≥ t' þ 1=ρð1 − αÞ. An analogousanalysis applies to the case xð0Þ ∈ U with uSi ¼ uFi . Theupper bound for TS

f is then given by

TSupf ¼

8<

:

!ln ∥xð0Þ∥þ 1

1−α

"; xð0Þ ∉ U;

∥xð0Þ∥1−α 1ρð1−αÞ ; xð0Þ ∈ U;

ð1Þ

with the condition ρ > 0. We see that, for given values of αand xð0Þ as well as specific network dynamics with l, C,and Γ, the estimation (1) is on the order of Oð1=kÞ, whereOð1Þ is a positive and bounded quantity. Accordingly, uS

with a larger value of k can expedite control.For our controller uS, the required energy cost is [7]

ESc ¼

R TSf

0

PNi¼1 ∥uSi ðtÞ∥2dt. A lengthy calculation [48]

leads to the following upper bound for the energy cost:

-1 10

uiF(t)

uiL(t) Control

Switching

x = 1

uiL(t)

p

(a) (b)

uiF(t)

uiF(t) =0

xxi

FIG. 1. Physical underpinning of our closed-loop feedbackcontroller. (a) System moving according to the potential functionEL;Fp (dashed curves) underlying closed-loop feedback controllers

uL;Fi , where uLi specifies a linear feedback controller that actsoutside of the unit sphere and uFi denotes a general feedbackcontroller that is activated once the system is inside the unitsphere. (b) Controlled system trajectory in the phase space by uSi ,where a control switch occurs when the system crosses the unitsphere ∥x∥ ¼ 1.

PRL 119, 198301 (2017) P HY S I CA L R EV I EW LE T T ER Sweek ending

10 NOVEMBER 2017

198301-2

Page 3: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

ESupc ¼

(k2 1

!1 − ∥xð0Þ∥−2 þ 2ζ

1þα

"; xð0Þ ∉ U;

k2 ζρð1þαÞ ∥xð0Þ∥

1þα; xð0Þ ∈ U;ð2Þ

where ζ ¼ ðNdÞ1−α. Since ρ ∼ k, ESc is bounded from above

by a quantity on the order ofOðkÞ. This indicates that, for agiven network and given values of α and xð0Þ, increasing kwill raise the energy cost. In addition, for fixed values of αand xð0Þ, if k is sufficiently large, increasing l or ηmax willlead to larger upper bounds for both the control time andenergy. For example, for an unweighed and undirectednetwork with Γ being an identity matrix, the quantity ηmaxbecomes λmaxðCÞ, so increasing the maximum eigenvaluewould demand more time and energy for the uS-drivencontrol to be successful.Using ∂αðlnT

Supf Þ¼ ln∥xð0Þ∥−1þ1=ð1−αÞ, ∥xð0Þ∥≤1,

and α ∈ ð0; 1Þ, we can prove that TSupf is an increasing

function of α, i.e., ∂αðTSupf Þ > 0, implying that control can be

expedited by using a smaller value of the steepness exponentα. In addition, the condition ∂αðE

Supc Þ < 0 implies that

smaller values of α lead to higher energy costs. Thedependence of the energy onα is consistentwith the intuitive,potential-landscape-based physical scenario of control.These results reveal a trade-off between the control timeand energy cost for our controller uS with respect tovariations in α or k. For example, consider the indexJ γ;βðkÞ ¼ γ⌊TS

f⌋þ β⌊ESc⌋, where γ and β are adjustable

weights determined by the specific system and ⌊ · ⌋ is anormalization function. Since J γ;βðkÞ ∼Oð1=kÞ þOðkÞ,theremust exist a number kc ≳ lþ ηmax atwhich the quantityJ γ;β reaches its minimum. The optimal control strength isthus given by k ¼ kc in the sense that control can be achievedin less time with a lower energy cost in terms of theindex J γ;β.We demonstrate the working of our optimal closed-loop

controller uS, its superior performance as compared withthe conventional controllers uL ¼ ½uLi &1≤i≤M, and the cor-responding analytic bounds of the control time and energy,using a number of representative real-world complexnonlinear dynamical networks.Controlling stem cell fate.—We demonstrate that our

closed-loop controller can drive two different cell fates tothe critical expression level to enable stem cells to remastertheir cell fate for cellular differentiation. Specifically, weconsider the following network model for hematopoieticstem cells [56], which describes the interaction between twosuppressors during cellular differentiation for neutrophil andmacrophage cell fate choices [57,58]: _x1 ¼ 0.5 − x1, _x2¼5x1=½ð1þx1Þð1þx43Þ&−x2, _x3¼5x4=ð1þx4Þð1þx42Þ−x3,_x4¼0.5=ð1þx42Þ−x4, _x5¼½x1x4=ð1þx1x4Þþ4x3=ð1þx3Þ&=ð1þx42Þ−x5, and _x6¼½x1x4=ð1þx1x4Þþ4x2=ð1þx2Þ&=ð1þx43Þ−x6, where x2;3 are the expression levels of twolineage-specific counteracting suppressors Gfi-1 and

Egr(1,2), which are activated by their transcription factorsx1;4 and simultaneously regulate the downstream genes x5;6,respectively. As specified in Fig. 2, the system has threesteady states: U1;2;3, where U1;3 correspond to different cellfates and are stable and U2 represents a critical expressionlevel connecting the two fates and is unstable. Figure 2(a)shows that initially x2 of the uncontrolled systemconverges to the stable steady state U1 or U3. Fromt ¼ 30, we apply the finite-time controller uS ¼ uFIU þuLIUC withU ¼ f∥x −U2∥ < 1g,uL ¼ −kðx2 −U22Þ, anduF ¼ −ksgnðx2 −U22Þjx2 −U22jα to x2, which is the onlyvariable experimentally accessible [56]. Here, U22 is thesecond component ofU2. The controlled system in either ofthe stable states is driven rapidly to the critical state U2,indicating that a finite-time, closed-loop intervention canmake the stem cells remaster their cell fate for cellulardifferentiation. Furthermore, for sufficiently strong controlstrength k, the converging time with the controller uS isshorter than that with uL, as shown in Fig. 2(b). Figure 2(c)shows that, for a fixed value of k, the required control energydecreases with the steepness exponent α, as predicted by ouranalysis.Controlling nonlinear ecosystems on food-web

networks.—The nonlinear ecological model is describedby _xi ¼ xið1 − xi=KiÞðxi=Ai − 1Þ≜fðxiÞ, where xi is thespecies abundance, f characterizes the logistic growth, andthe carrying capacity is Ki. The model includes the Alleeeffect, where the species is destined for extinction if itsabundance is lower than a threshold value (xi < Ai) [59–61]. We demonstrate that our control method can success-fully restore the system out of extinction to a sustainablestate. In particular, for each i, the model has two stablesteady states (xi ¼ 0, Ki, corresponding to species extinc-tion and capacity overload, respectively) and one unstablesteady state (xi ¼ Ai). To prevent the system from evolvinginto one of the stable steady states, we choose the controltarget to be xi ¼ Ai for all i that represents restoration orsustainment of species to a state with moderate abundance.

0 20 40 60 80 1000

0.5

1

1.5

7 9 11 13 15

10

15

0.1 0.3 0.5 0.7 0.90

50

(a) (b)

(c)

FIG. 2. Controlling a cellular differentiation network modelfrom the steady state U1 ¼ ð0.5; 1.66; 0.03; 0.06; 0.02; 2.53Þ orU3 ¼ ð0.5; 0.19; 1.66; 0.50; 2.69; 0.10Þ to the steady stateU2 ¼ ð0.5; 0.75; 1.05; 0.38; 1.69; 0.83Þ. (a) Uncontrolled dynam-ics [for t ∈ ½0; 30Þ] and controlled dynamics (for t ≥ 30) for theexpression levels of suppressor x2, where k ¼ 10 and α ¼ 0.5when uS is switched on. (b) For α ¼ 0.5, the control time versus kfor the two controllers uS;L. (c) For k ¼ 10, the control energyversus α for controller uS.

PRL 119, 198301 (2017) P HY S I CA L R EV I EW LE T T ER Sweek ending

10 NOVEMBER 2017

198301-3

Page 4: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

The coupling matrices C are constructed from a largenumber of real food-web networks [48]. For thethree controllers uS;F;L, we calculate the respective controltime TS;F;L

f required to drive the system into the neighbor-hood of the target: jxiðtÞ − Aij ≤ 10−4, 1 ≤ i ≤ N.The controller uS results in the least control time (seeTable S1 in [48] for detailed values from all 22 food-webnetworks).To verify our analytic prediction of optimal control

through the control indices J γ;β, we use the Florida foodweb [48] and calculate the indices as a function of k or α.Figure 3 shows that the optimal values of kc and αc dependon the combination of the preferential weights ðγ; βÞ, whichagree well with the respective analytic results. Simulationsfurther reveal that the optimal value kc is more sensitive tothe choice of the preferential weights than αc, which isreasonable as decreasing the control time tends to make thevalue of kc larger.Controlling complex random ecosystems.—Consider a

general ecosystem described by _x ¼ Cx, where eachspecies xi is one-dimensional, C ¼ ðcijÞN×N describesthe random mutual interactions with cii ¼ −r, and N isthe population size. Three types of random matrices C werestudied extensively, which correspond to three typicalecosystems: (a) May’s classic ecosystem [62], where, withprobability P, the off-diagonal elements cij are set asmutually independent Gaussian random variablesN ð0; σ20Þ and the probability for the elements to be zerois (1 − P); (b) a mixed ecosystem of competition andmutualism [63], where the off-diagonal elements cij and cjihave the same sign, which are drawn from the distribution((jYj, (jYj) with probability P and are zero with prob-ability (1 − P); and (c) the predator-prey (PP) ecosystem[63], where cij and cji have the opposite signs and are fromthe distribution ((jYj, ∓ jYj). As either N or the varianceof C’s elements increases, all three ecosystems eventuallybecome unstable, reflecting the instability of a certainsteady state in the original ecosystem from which thelinear random system was derived [62,63].We employ uS to control the ecosystems, which becomes

a particular case of our general nonlinear network control

frameworkwith l ¼ 0,Γ ¼ 1, bii ¼ 1, and all other bim ¼ 0.To achieve finite-time control, we estimate the maximaleigenvalue ηmax of H ¼ ðC⊤ þ CÞ=2 (see SupplementalMaterial). For May’s classic ecosystem, the well-knownsemicircle law for random matrices stipulates that H’seigenvalues are located in [−

ffiffiffiffiffiffiffiffiffiffi2NP

pσ0 − r,

ffiffiffiffiffiffiffiffiffiffi2NP

pσ0 − r]

asN → ∞ (SupplementalMaterial). According to Eq. (1), torealize finite-time control requires k > ηmax ¼

ffiffiffiffiffiffiffiffiffiffi2NP

pσ0 − r

(condition A). As shown in Fig. 4(a), successful control isachieved for sufficiently large values of k. However, from theestimates of the control time and energy [Eqs. (1) and (2),respectively], we see that, for a fixed large value of k, anincrease in either N or σ0 slows down the control andconsumesmore energy, eventually violating conditionA andcausing the control to fail, as shown in Figs. 4(b) and 4(c).While the controller uS requires the least control time amongthe three available controllers, for a large system size thecorresponding energy cost is not necessarily minimum.For the mixed ecosystem with Y ∼N ð0; σ20Þ, from H’s

eigenvalue distribution obtained in Ref. [48], we have k >ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi2NPð1þ 2=πÞ

pσ0 − r (condition B) that ensures finite-

time control in the probabilistic sense. Similarly for the PPsystem, we require k >

ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi2NPð1 − 2=πÞ

pσ0 − r (condition

C). Overall, conditions A–C reveal a hierarchy where thePP, May’s classic, and mixed ecosystems require theweakest, intermediate, and strongest control strength k,respectively. The control time for the three systems can bemade finite and identical, because the respective choices ofthe k value can result in the same value of ρ in Eq. (1). Inspite of this, the ordering of the control energy for the threetypes of ecosystems cannot be altered, because k appearsstill in Eq. (2) in addition to ρ.Akin to the previous example of controlling stem cell

fate via only one suppressor, we apply our finite-timecontroller to different numbers of species in the ecosystemwith an undirected scale-free coupling matrix C, whichreveals a high flexibility of our controller (see [48]).In summary, we develop a closed-loop control frame-

work for nonlinear dynamical networks to drive the systemto a desired unstable steady state in a finite time and with a

4 8

0.4

0.6

0.2 0.8

0.4

0.6

FIG. 3. Dependence of the optimal control strength or steepnessexponent on preferential weights. For the Florida food web,optimal locations of the control indices J γ;βðkÞjα¼0.1 andJ γ;βðαÞjk¼10 versus the weights, as indicated by the markersalong the horizontal axis.

5 7 9 11 13 150

1

k

Prob

abili

ty

0

1

200 400 600 800 1000

50

150

uS uF uL

(a) (b)

(c)

FIG. 4. For May’s classic ecosystems, the probability ofsuccessful control versus k (a), where the vertical dashed linecorresponds to ηmax, N ¼ 250, P ¼ 0.25, σ0 ¼ 1, r ¼ 1, andα ¼ 0.6, and the required control time cost (b) and energy cost(c), respectively, with the increase of N for k ¼ 1.1ηmax.

PRL 119, 198301 (2017) P HY S I CA L R EV I EW LE T T ER Sweek ending

10 NOVEMBER 2017

198301-4

Page 5: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

predictable energy. Because of the closed-loop nature andhigh flexibility of the controller, it is suitable for theexperimental control of nonlinear networks. We obtainphysical and mathematical understandings of the trade-offbetween the control time and energy. Our closed-loopcontroller is also effective for realizing synchronization innonlinear neuronal networks (see [48]). While the issue ofoptimal energy associated with closed-loop control andsingle- or two-layer structure has been investigated [64,65],prior to our work a closed-loop control scheme for non-linear dynamical networks with both optimal time andenergy had not been achieved. Our work provides a base fordeveloping a general, physically realizable closed-loopcontrol scheme for complex nonlinear networks withcompletely unknown steady states.

W. L. is supported by the National Science Foundation ofChina (NSFC) (Grants No. 11322111 and No. 61773125).Y.-Z. S. is supported by the NSFC (Grant No. 61403393).Y.-C. L. acknowledges support from the Vannevar BushFaculty Fellowship program sponsored by the BasicResearch Office of the Assistant Secretary of Defensefor Research and Engineering and funded by the Office ofNaval Research through Grant No. N00014-16-1-2828.

Y.-Z. S. and S.-Y. L. contributed equally to this work.

*[email protected][1] A. Lombardi and M. Hörnquist, Phys. Rev. E 75, 056110

(2007).[2] B. Liu, T. Chu, L. Wang, and G. Xie, IEEE Trans. Autom.

Control 53, 1009 (2008).[3] A. Rahmani, M. Ji, M. Mesbahi, and M. Egerstedt, SIAM J.

Control Optim. 48, 162 (2009).[4] Y.-Y. Liu, J.-J. Slotine, and A.-L. Barabási, Nature (London)

473, 167 (2011).[5] W.-X. Wang, X. Ni, Y.-C. Lai, and C. Grebogi, Phys. Rev. E

85, 026115 (2012).[6] J. C. Nacher and T. Akutsu, New J. Phys. 14, 073005

(2012).[7] G. Yan, J. Ren, Y.-C. Lai, C.-H. Lai, and B. Li, Phys. Rev.

Lett. 108, 218703 (2012).[8] T. Nepusz and T. Vicsek, Nat. Phys. 8, 568 (2012).[9] Y.-Y. Liu, J.-J. Slotine, and A.-L. Barabási, Proc. Natl.

Acad. Sci. U.S.A. 110, 2460 (2013).[10] Z.-Z. Yuan, C. Zhao, Z.-R. Di, W.-X. Wang, and Y.-C. Lai,

Nat. Commun. 4, 2447 (2013).[11] T. Jia, Y.-Y. Liu, E. Csóka, M. Pósfai, J.-J. Slotine, and

A.-L. Barabási, Nat. Commun. 4, 3002 (2013).[12] D. Delpini, S. Battiston, M. Riccaboni, G. Gabbi, F.

Pammolli, and G. Caldarelli, Sci. Rep. 3, 1626 (2013).[13] J. C. Nacher and T. Akutsu, Sci. Rep. 3, 1647 (2013).[14] G. Menichetti, L. DallAsta, and G. Bianconi, Phys. Rev.

Lett. 113, 078701 (2014).[15] J. Ruths and D. Ruths, Science 343, 1373 (2014).[16] S. Wuchty, Proc. Natl. Acad. Sci. U.S.A. 111, 7156 (2014).

[17] Z.-Z. Yuan, C. Zhao, W.-X. Wang, Z.-R. Di, and Y.-C. Lai,New J. Phys. 16, 103036 (2014).

[18] F. Pasqualetti, S. Zampieri, and F. Bullo, IEEE Trans.Control Netw. Syst. 1, 40 (2014).

[19] Y.-D. Xiao, S.-Y. Lao, L.-L. Hou, and L. Bai, Phys. Rev. E90, 042804 (2014).

[20] F. Sorrentino, Chaos 17, 033101 (2007).[21] F.-X. Wu, L. Wu, J.-X. Wang, J. Liu, and L.-N. Chen, Sci.

Rep. 4, 4819 (2015).[22] A. J. Whalen, S. N. Brennan, T. D. Sauer, and S. J. Schiff,

Phys. Rev. X 5, 011005 (2015).[23] J. C. Nacher and T. Akutsu, Phys. Rev. E 91, 012826 (2015).[24] T. H. Summers, F. L. Cortesi, and J. Lygeros, IEEE Trans.

Control Netw. Syst. 3, 91 (2015).[25] Y.-Y. Liu and A.-L. Barabási, Rev. Mod. Phys. 88, 035006

(2016).[26] Y.-Z. Chen, L.-Z. Wang, W.-X. Wang, and Y.-C. Lai, R. Soc.

Open Sci. 3, 160064 (2016).[27] L.-Z. Wang, Y.-Z. Chen, W.-X. Wang, and Y.-C. Lai, Sci.

Rep. 7, 40198 (2017).[28] X. F. Wang and G. Chen, Physica A (Amsterdam) 310, 521

(2002).[29] X. Li, X. F. Wang, and G. Chen, IEEE Trans. Circuits Syst. I

51, 2074 (2004).[30] F. Sorrentino, M. di Bernardo, F. Garofalo, and G. Chen,

Phys. Rev. E 75, 046103 (2007).[31] W. Yu, G. Chen, and J. Lü, Automatica 45, 429 (2009).[32] B. Fiedler, A. Mochizuki, G. Kurosawa, and D. Saito, J.

Dyn. Differ. Equ. 25, 563 (2013).[33] A. Mochizuki, B. Fiedler, G. Kurosawa, and D. Saito, J.

Theor. Biol. 335, 130 (2013).[34] D. K. Wells, W. L. Kath, and A. E. Motter, Phys. Rev. X 5,

031036 (2015).[35] L.-Z. Wang, R.-Q. Su, Z.-G. Huang, X. Wang, W.-X. Wang,

C. Grebogi, and Y.-C. Lai, Nat. Commun. 7, 11323 (2016).[36] J. G. T. Zanudo, G. Yang, and R. Albert, Proc. Natl. Acad.

Sci. U.S.A. 114, 7234 (2017).[37] E. Ott, C. Grebogi, and J. A. Yorke, Phys. Rev. Lett. 64,

1196 (1990).[38] K. Pyragas, Phys. Lett. A 170, 421 (1992).[39] K. Pyragas, Phil. Trans. R. Soc. A 364, 2309 (2006).[40] W. Lin, Phys. Lett. A 372, 3195 (2008).[41] Y. Wu and W. Lin, Phys. Lett. A 375, 3279 (2011).[42] H. Ma, D.W. C. Ho, Y.-C. Lai, and W. Lin, Phys. Rev. E 92,

042902 (2015).[43] S. P. Bhat and D. S. Bernstein, SIAM J. Control Optim. 38,

751 (2000).[44] F. Amato, M. Ariola, and C. Cosentino, IEEE Trans. Autom.

Control 55, 1003 (2010).[45] B. Xu and W. Lin, Int. J. Bifurcation Chaos Appl. Sci. Eng.

25, 1550166 (2015).[46] H. Rios, D. Efimov, J. A. Moreno, W. Perruquetti, and J. G.

Rueda-Escobedo, IEEE Trans. Autom. Control PP, 1(2017).

[47] W. Fleming and R. Rishel, Deterministic and StochasticOptimal Control (Springer, New York, 1975).

[48] See Supplemental Material at http://link.aps.org/supplemental/10.1103/PhysRevLett.119.198301 for ana-lytical estimations of upper bounds for the control timeand energy cost, data information and convergence times for

PRL 119, 198301 (2017) P HY S I CA L R EV I EW LE T T ER Sweek ending

10 NOVEMBER 2017

198301-5

Page 6: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

controlling food-web networks, the numerical validation ofcontrol flexibility, and the realization of finite-time synchro-nization in coupled spiking neuronal models, which in-cludes Refs. [26,27,49–55].

[49] G. H. Hardy, J. E. Littlewood, and G. Pólya, Inequalities(Cambridge University Press, Cambridge, England, 1988).

[50] W. Rudin, Functional Analysis (McGraw-Hill Science,Singapore, 1991).

[51] V. Lakshmikantham and S. Leela, Differential and IntegralInequalities (Academic, New York, 1969).

[52] E. P. Wigner, Ann. Math. 67, 325 (1958).[53] G.W. Anderson, A. Guonnet, and O. Zeitouni, An Intro-

duction to Random Matrices (Cambridge University Press,Cambridge, England, 2009).

[54] A.-L. Barabási and R. Albert, Science 286, 509 (1999).[55] J. L. Hindmarsh and R. M. Rose, Nature (London) 296, 162

(1982).

[56] P. Laslo, C. J. Spooner, A. Warmflash, D. W. Lancki, H.-J.Lee, R. Sciammas, B. N. Gantner, A. R. Dinner, and H.Singh, Cell 126, 755 (2006).

[57] N. Radde, Bioinformatics 26, 2874 (2010).[58] N. Radde, BMC Syst. Biol. 6, 57 (2012).[59] J. N. Holland, D. L. DeAngelis, and J. L. Bronstein, Am.

Nat. 159, 231 (2002).[60] C. Hui, Ecol. Model. 192, 317 (2006).[61] W. C. Allee, O. Park, A. E. Emerson, T. Park, and K. P.

Schmidt, Principles of Animal Ecology, 1st ed. (W. B.Saunders, London, 1949).

[62] R. M. May, Nature (London) 238, 413 (1972).[63] S. Allesina and S. Tang, Nature (London) 483, 205 (2012).[64] M. Ellisa and P. D. Christofides, Automatica 50, 2561

(2014).[65] I. Michailidis, S. Baldi, E. B. Kosmatopoulos, and P. A.

Ioannou, IEEE Trans. Autom. Control (to be published).

PRL 119, 198301 (2017) P HY S I CA L R EV I EW LE T T ER Sweek ending

10 NOVEMBER 2017

198301-6

Page 7: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

Supplementary Information for

Closed-loop control of complex nonlinear networks: Atradeoff between time and energy

Yong-Zheng Sun, Si-Yang Leng, Ying-Cheng Lai, Celso Grebogi, and Wei Lin

Corresponding author: Wei Lin ([email protected])

CONTENTS

I. Upper bounds for control time and energy cost 2A. Preliminaries 2B. Estimate of control time 2C. Estimate of control energy cost 4

II. Controlling food-web networks: Data and analyses 6

III. Eigenvalue distributions of ecological networks 6A. Wigner semicircle law 7B. Eigenvalue distributions of ecological networks 7

IV. Flexibility of control 9

V. Hindmarsh-Rose neuronal model 9

References 9

1

Page 8: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

I. UPPER BOUNDS FOR CONTROL TIME AND ENERGY COST

We provide mathematical estimates of the upper bounds for control time and the associatedenergy cost with the proposed closed-loop controller uS .

A. Preliminaries

We list two Lemmas that will be used in our analysis.

Lemma S1.1 ([1]). Let ⇠

1

, ⇠

2

, . . . , ⇠

n

� 0 and 0 < p < 1. The following inequality holds:

n

X

i=1

p

i

n

X

i=1

i

!

p

.

Lemma S1.2 ([2]). For any 0 < q p, there exist two positive numbers ⇣

1,2

such that

1

k · kp

k · kq

2

k · kp

,

where k · kh

(h = p, q) is the L

h

-norm for the n-dimensional space Rn

. Specifically, ⇣

1

= 1 and

2

= n

1

q�1

p.

B. Estimate of control time

For the general closed-loop controlled network dynamics in the main text, we introduce thefollowing Lyapunov function:

V (x) =N

X

i=1

x

>i

x

i

=

N

X

i=1

kxi

k2 = kxk2, (S1.1)

where x =

x

>1

, · · · , x>N

⇤> 2 RNd and k · k represents the L

2

-norm of the given vector. Weassume x(0) /2 U =

kx(0)k < 1

. Differentiating the function V along a typical trajectoryof the system, we obtain

dV

dt

= 2

N

X

i=1

x

>i

f(x

i

) + 2

N

X

i=1

x

>i

N

X

j=1

c

ij

�x

j

� 2k

N

X

i=1

x

>i

x

i

(S1.2)

2(l � k)

N

X

i=1

x

>i

x

i

� 2x>Hx �2(k � l � ⌘

max

)V (t),

where H ⌘ 1

2

(C ⌦ �)> +C ⌦ �⇤

is a matrix and ⌘

max

is its maximum eigenvalue. Theglobal Lipschitz condition on f can be relaxed to the one-sided uniform Lipschitz condition (afunction f is said to be one-sided uniformly Lipschitzian if for some l > 0, we have |x>

f(x)| lkxk2 for all x 2 Rn). Choosing k > l + ⌘

max

and integrating the differential inequality (S1.2)from 0 to t, we get V [(x(t)] = kx(t)k2, which is circumscribed by an exponentially decreasingquantity. We thus have V (x(t⇤)) = 1 and

kx(t⇤)k = 1 with t

⇤ ln kx(0)k⇢

> 0, (S1.3)

2

Page 9: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

where ⇢ = k � l � ⌘

max

(as defined in the main text).We next prove that kx(t)k < 1 for all t 2 (t

⇤,+1). Intuitively, this is a result of system

dissipation. The proof is carried out by contradiction. Specifically, assume this is not the case.We can then obtain the first time instant at which the trajectory x(t), after entering the unit ballU , hits the ball again. Denote this time by

t

0= inf

n

t 2 [

ˆ

t, t

1

)

kx(t)k = 1

o

,

where the time instants ˆt and t

1

satisfy kx(t)k < 1 with t

⇤< t <

ˆ

t < t

0< t

1

< +1. All thetime instants can be found because of the continuity of the trajectory x(t) and the assumptionthat x(t) can hit the unit ball. For t 2 [

ˆ

t, t

0), taking the derivative of V (t) with respect to t yields

dV

dt

= 2

N

X

i=1

x

>i

f(x

i

) + 2

N

X

i=1

x

>i

N

X

j=1

c

ij

�x

j

� 2k

N

X

i=1

x

>i

sig(x

i

)

2(l + ⌘

max

)x>x� 2k

N

X

i=1

x

>i

sig(x

i

)

.

(S1.4)

From Lemma S1.1, we have

N

X

i=1

x

>i

sig(x

i

)

=

N

X

i=1

d

X

j=1

|xij

|↵+1 �

N

X

i=1

d

X

j=1

|xij

|2!

↵+1

2

,

which gives a further estimation for dV/dt:

dV

dt

2(l + ⌘

max

)V (t)� 2k [V (t)]

↵+1

2

. (S1.5)

Since V (t) = kx(t)k2 1 for all t 2 [

ˆ

t, t

0), we have V (t) V

↵+1

2

(t) for all t 2 [

ˆ

t, t

0). Hence,

the estimation in (S1.5) can be refined as:

dV

dt

�2⇢V

↵+1

2

(t), for all t 2 [

ˆ

t, t

0). (S1.6)

This implies dV /dt 0 for all t 2 [

ˆ

t, t

0), so we have

1 > kx(ˆt)k2 = V [x(ˆt)] � V [x(t)]

for all t 2 [

ˆ

t, t

0). In the limit t ! t

0, we have 1 > V (x(ˆt)) � V (x(t0)) = 1. This is acontradiction, which implies that for all t 2 (t

⇤, t

1

), x(t) 2 U holds, where t

1

can be extendedto +1.

We can now prove that the trajectory x(t) of the general nonlinear network system in themain text approaches the desired target within a finite-time duration in (t

⇤,+1). In particular,

from the estimation in (S1.6) and the theory of differential inequalities [3], we have V (t) W (t), where t 2 (t

⇤,+1) and W (t) satisfies the following equation:

dW

dt

= �2⇢W

↵+1

2

(t), for all t > t

⇤, (S1.7)

3

Page 10: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

with the initial condition W (t

⇤) = V (t

⇤) = 1. From (S1.7), we have

1

1� ↵

W

1�↵2

(t) = �⇢t+ c

0

, for all t > t

⇤, (S1.8)

where c

0

= ⇢t

⇤+

1

1�↵

V

1�↵2

(t

⇤) and t

⇤ is defined in (S1.3). From (S1.8), we have

V (t) W (t) = [(1� ↵)(�⇢t+ c

0

)]

2

1�↵. (S1.9)

Letting W (t) = 0, we obtain the upper bound for the time T

S

f

to achieve control:

T

S

f

t

⇤+

kx(t⇤)k1�↵

⇢(1� ↵)

= t

⇤+

1

⇢(1� ↵)

.

For the case of x(0) 2 U , a similar argument leads to the upper bound for T S

f

as

T

S

f

kx(0)k1�↵

⇢(1� ↵)

.

The estimated upper bound for T S

f

can thus be summarized as

T

S

up

f

=

(

1

ln kx(0)k+ 1

⇢(1�↵)

, x(0) /2 U ,1

⇢(1�↵)

kx(0)k1�↵

, x(0) 2 U . (S1.10)

For the special case of controlled linear network dynamics x = Cx+

uS

⇤>, we set l = 0,� = 1, b

ii

= 1, and all other bim

= 0. The upper bound of the required control time can beestimated as

T

S

up

f

=

(

1

ln kx(0)k+ 1

(k�µ

max

)(1�↵)

, x(0) /2 U ,1

(k�µ

max

)(1�↵)

kx(0)k1�↵

, x(0) 2 U ,

where µ

max

is the maximal eigenvalue of the matrix 1

2

C +C>⇤.

C. Estimate of control energy cost

Case 1: x(0) /2 U . From the definition in the main text, the energy cost is given by

ES

c

=

Z

Tf

0

N

X

i=1

u

S

i

(t)

2

dt =

Z

t

0

N

X

i=1

u

L

i

(t)

2

dt+

Z

Tf

t

N

X

i=1

u

F

i

(t)

2

dt.

Outside the unit ball U , the energy cost can be estimated asZ

t

0

N

X

i=1

u

L

i

(t)

2

dt = k

2

Z

t

0

�x(t)�

2

dt = k

2

Z

t

0

V (t)dt.

From the estimate (S1.2), we get

k

2

Z

t

0

V (t)dt k

2

V (0)

Z

t

0

e

�2⇢t

dt

= k

2

V (0)

� 1

2⇢

e

�2⇢t

⇤+

1

2⇢

k

2

1

2⇢

� 1

2⇢kx(0)k2

. (S1.11)

4

Page 11: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

Note that

N

X

i=1

u

F

i

(t)

2

= k

2

N

X

i=1

d

X

j=1

|xij

(t)|2↵ = k

2

�x(t)�

2↵

2↵

⇣k

2

�x(t)�

2↵

= ⇣k

2

V

(t),

where the inequality follows from Lemma S1.2 and ⇣ = (⇣

2

)

2↵

=

h

(Nd)

1

2↵� 1

2

i

2↵

= (Nd)

1�↵.This, with (S1.9), gives an estimate of the energy cost inside U :

Z

Tf

t

N

X

i=1

u

F

i

(t)

2

dt ⇣k

2

Z

Tf

t

⇤V

(t)dt ⇣k

2

Z

Tf

t

⇤(1� ↵)

2

1�↵(�⇢t+ c

0

)

2↵1�↵

dt

= ⇣k

2

1

⇢(1 + ↵)

(1� ↵)

1+↵1�↵

h

(�⇢t

⇤+ c

0

)

1+↵1�↵ � (�⇢T

f

+ c

0

)

1+↵1�↵

i

, (S1.12)

where c

0

= 1/(1� ↵). Substituting the estimation of Tf

into (S1.12), we get

Z

Tf

t

N

X

i=1

u

F

i

(t)

2

dt ⇣k

2

1

⇢(1 + ↵)

. (S1.13)

Finally, from (S1.11) and (S1.13), we obtain the upper bound estimate of the energy-cost as

ES

up

c

= k

2

1

2⇢

1� kx(0)k�2

+

2⇣

1 + ↵

.

Case 2: x(0) 2 U . The energy cost is

Ec

=

Z

Tf

0

N

X

i=1

u

F

i

(t)

2

dt ⇣k

2

Z

Tf

0

V

(t)dt.

Following the argument for Case 1, we get

Ec

⇣k

2

Z

Tf

0

(1� ↵)

2

1�↵(�⇢t+ c

0

)

2↵1�↵

dt

= ⇣k

2

1

⇢(1 + ↵)

(1� ↵)

1+↵1�↵

h

(c

0

)

1+↵1�↵ � (�⇢T

f

+ c

0

)

1+↵1�↵

i

,

where c

0

=

1

1�↵

kx(0)k1�↵. From the estimated T

f

in (S1.10), we get

ES

up

c

=

⇣k

2

⇢(1 + ↵)

kx(0)k1+↵

.

To summarize, the analytical estimate for the upper bound of the energy cost is given by

ES

up

c

=

(

k

2

1

2⇢

1� kx(0)k�2

+

2⇣

1+↵

, x(0) /2 U ;k

2

⇢(1+↵)

kx(0)k1+↵

, x(0) 2 U ,

where ⇣ = (Nd)

1�↵.

5

Page 12: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

TABLE S1. Results of controlling 22 nonlinear food-web networks with the controllers uS,F,L, whereK

i

= 5, Ai

= 1, k = 2, and ↵ = 1

2

. The dynamical variables in the initial state are chosen randomlyfrom the interval [0, 5]. Each data point is the result of averaging 100 control realizations.

Food-web name # of nodes # of edges TS

f

TF

f

TL

f

Chesapeake 39 177 2.88 5.45 7.32ChesLower 37 166 2.84 5.37 7.05ChesMiddle 37 203 2.85 5.34 6.96ChesUpper 37 206 2.90 5.43 7.30CrystalC 24 125 2.91 5.49 7.34CrystalD 24 100 2.91 5.48 7.15Everglades 69 916 2.92 5.50 7.35Florida 128 2106 2.92 5.50 7.25Maspalomas 24 82 2.80 5.27 7.48Michigan 39 221 2.91 5.49 7.18Mondego 46 400 2.90 5.44 7.18Narragan 35 220 2.94 5.52 7.50Rhode 20 53 2.90 5.46 7.22St. Marks 54 356 2.87 5.37 7.28baydry 128 2137 2.92 5.50 7.36baywet 128 2106 2.92 5.49 7.06cypdry 71 640 2.90 5.47 7.16cypwet 71 631 2.90 5.48 7.05gramdry 69 915 2.92 5.50 7.28gramwet 69 916 2.93 5.52 7.30Mangrove Dry 97 1491 2.92 5.50 7.28Mangrove Wet 97 1492 2.93 5.52 7.31

II. CONTROLLING FOOD-WEB NETWORKS: DATA AND ANALYSES

All the results on control time for controlling the 22 food-web networks are shown in Tab. S1.The food-web data are from the website:http://vlado.fmf.uni-lj.si/pub/networks/data/bio/foodweb/foodweb.htm

As shown in Fig. S1, the required control time and energy cost for controlling the Floridafood-web network exhibit exactly the opposite trends with increasing k and ↵. This, togetherwith Fig. 2 in the main text, reveals a control trade-off between the time and the energy costinherent to the controller uS .

III. EIGENVALUE DISTRIBUTIONS OF ECOLOGICAL NETWORKS

Here we prove that, for May’s classic ecosystem, H’s eigenvalues are distributed in theinterval

h

�r �p2NP�

0

,�r +

p2NP�

0

i

in a probabilistic sense as N ! 1. Thus, to realize

6

Page 13: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

control requiresk > ⌘

max

=

p2NP�

0

� r (Condition-A).For the mixed ecosystem, H’s eigenvalues are distributed in the interval

�p

2NP [D(Y) + E2

(|Y|)]� r,

p

2NP [D(Y) + E2

(|Y|)]� r

as N ! 1. Particularly, for Y ⇠ N (0, �

2

0

), this interval becomes⇥

�p

2NP (1 + 2/⇡)�

0

�r,

p

2NP (1 + 2/⇡)�

0

� r

, yielding

k >

p

2NP (1 + 2/⇡)�

0

� r (Condition-B)

which ensures finite-time control in the probabilistic sense. For the PP system, we have

k >

p

2NP (1� 2/⇡)�

0

� r (Condition-C)

for realizing control in the probabilistic sense.

A. Wigner semicircle law

Lemma S3.1 (Semicircle Law [4, 5]). Let {Zi,j

}1i<j

and {Yi

}1i

be two independent families

of i.i.d., zero mean, and real-valued random variables with E(Z2

1,2

) = 1. Further, assume that

for all integers k � 1,

r

k

, max

n

E|Z1,2

|k,E|Y1

|ko

< 1.

Set the elements of the symmetric N ⇥N matrix XN

as:

XN

(i, j) = XN

(j, i) =

Z

i,j

/

pN, i < j,

Y

i

/

pN, i = j.

Let the empirical measure be L

N

=

1

N

P

N

i=1

�i , where �

i

(1 i N) are the real eigenvalues

of XN

. Let the standard semicircle distribution be the probability distribution �(x)dx on Rwith the density

�(x) =

1

2⇡

p4� x

2I|x|<2

,

where I is the indication function of a given set. Then, L

N

converges weakly probabilistically

to the standard semicircle distribution as N ! 1.

B. Eigenvalue distributions of ecological networks

May’s classic ecosystem. For this system, we have c

ii

= �r and the off-diagonal ele-ments c

ij

are mutually independent random variables that obey the Gaussian normal distri-bution N (0, �

2

0

) with probability P and are zero with probability 1 � P . Denote each ele-ment of the symmetric matrix H =

1

2

C +C>⇤ by ⇠

ij

=

1

2

(c

ij

+ c

ji

). The expectation isE(⇠

ij

) =

1

2

[E(cij

) + E(cji

)] = 0 and the variance is given by

D(⇠ij

) =

1

4

D(cij

+ c

ji

) =

1

2

D(cij

) =

1

2

E(c2ij

)� 1

2

E2

(c

ij

) =

1

2

P�

2

0

.

From the semicircle law for random matrices (Lemma S3.1), the eigenvalues of H =

1

2

(C>+

C) are located inh

�r �p2NP�

0

,�r +

p2NP�

0

i

in a probabilistic sense as N ! 1. Thus,

to realize control requires k > ⌘

max

=

p2NP�

0

� r (Condition-A).

7

Page 14: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

Mixed ecosystem. In a mixed network with competition and mutualistic interactions, wehave c

ii

= �r and the off-diagonal elements (cij

, c

ji

) have the same sign, which with probabilityP are drawn from the distribution (±|Y|,±|Y|) and are zero with probability (1�P ). We thenhave

D(⇠ij

) =

1

4

D�

c

ij

+ c

ji

) =

1

4

[D(cij

) + D(cji

) + 2Cov(c

ij

, c

ji

)]

=

1

4

[2PD(Y) + 2E(cij

c

ji

)� 2E(cij

)E(cji

)]

=

1

2

[PD(Y) + E(cij

c

ji

)] =

1

2

P

D(Y) + E2

(|Y|)⇤

.

The semicircle law implies that the eigenvalues of 1

2

(C>+C) are located in

h

� r �p

2NP [D(Y) + E2

(|Y|)],�r +

p

2NP [D(Y) + E2

(|Y|)]i

in the probabilistic sense as N ! 1. In particular, for Y ⇠ N (0, �

2

0

), we have D(Y) = �

2

0

and

E(|Y|) =Z

+1

�1|y| 1p

2⇡�

0

e

� y2

2�2

0

dy =

r

2

0

.

In this case, the eigenvalues of 1

2

(C>+C) are located in

"

�r �

s

2NP

1 +

2

0

,�r +

s

2NP

1 +

2

0

#

in the probabilistic sense as N ! 1. Figure S2 shows the accuracy of the control criterionk > k

⇤=

q

2NP

1 +

2

0

� r (Condition-B) obtained from the above estimated intervalfor the eigenvalue distributions. Figure S2 also shows how the growth of population size N

affects the required control time and energy cost. These results agree well with the analyticalestimates.

Predator-prey ecosystem. In this system, we have c

ii

= �r and the off-diagonal elements(c

ij

, c

ji

) have the opposite sign, which with probability P are drawn from the distribution(±|Y|,⌥|Y|), and are zero with probability (1� P ). We have

D(⇠ij

) =

1

2

[PD(Y) + E(cij

c

ji

)] =

1

2

P

D(Y)� E2

(|Y|)⇤

.

Applying the semicircle law, we have that the eigenvalues of H =

1

2

(C>+C) are located in

h

� r �p

2NP [D(Y)� E2

(|Y|)],�r +

p

2NP [D(Y)� E2

(|Y|)]i

in the probabilistic sense as N ! 1. Especially, for Y ⇠ N (0, �

2

0

), the eigenvalues of H =

1

2

(C>+C) are located in"

�r �

s

2NP

1� 2

0

,�r +

s

2NP

1� 2

0

#

in the probabilistic sense as N ! 1. The control criterion in the probabilistic sense becomesk >

p

2NP (1� 2/⇡)�

0

� r (Condition-C).

8

Page 15: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

IV. FLEXIBILITY OF CONTROL

We demonstrate the flexibility of control with different configurations of C and B

i

usingthe ecosystems. In particular, the off-diagonal elements c

ij

(j 6= i) are constructed from anundirected scale-free network (SFN) [6] while the diagonal elements are chosen to be c

ii

=

⇠�P

N

j=1,j 6=i

c

ij

with ⇠ > 0. We have �max

(C) = ⇠ > 0, so the uncontrolled system is unstable.With our controller uS , setting k > ⇠ is sufficient for achieving control if we set b

ii

= 1 forall i. In applications, it is desired to reduce the number of controlled nodes. We thus randomlyselect N

D

nodes for control (i.e., bijij = 1 for 1 j N

D

) and define n

D

⌘ N

D

/N .We find that the energy cost decreases as n

D

is increased (a result consistent with that inlinear network control [7, 8]), as controlling more nodes can significantly reduce the controltime, and increasing the mean degree m of the network can reduce both the control time andenergy (for a given n

D

value), as shown in Fig. S3(a). We also find that controlling high-degreenodes can reduce the time and energy for n

D

. 0.2. However, if many nodes are accessible tocontrol, controlling low-degree nodes can yield better performance, as shown in Fig. S3(b).

V. HINDMARSH-ROSE NEURONAL MODEL

We consider a small-world network of Hindmash-Rose (HR) neurons y

i

with the couplingscheme

P

N

j=1

c

ij

�hij

(y

i

, y

j

), where � = diag[1, 0, 0] and h

S

ij

= u

S

i

|xi=yj�yi . In the network,

the i-th neuron y

i

(1 i N) is described of the HR type [9]:8

<

:

y

i1

= y

i2

� y

i3

+ 3y

2

i1

� y

3

i1

+ I,

y

i2

= 1� y

i2

� 5y

2

i1

,

y

i3

= �ry

i3

+ 4⌫(y

i1

+ 1.6),

where yi1

is the membrane potential, yi2

stands for the recovery variable associated with the fastcurrent, y

i3

is a slowly changing adaptation current, I = 3.281 is the external current input, and⌫ = 0.0012 is the damping rate of the slow ion channel. Figure S4(a) shows that synchronizationcan be achieved rapidly through control. Comparing with the linear coupling scheme h

L

ij

=

u

L

i

|xi=yj�yi , our controller hS

ij

leads to a faster transition, regardless of the network size N , asshown in Fig. S4(b).

[1] G. H. Hardy, J. E. Littlewood, G. Polya, Inequalities (Cambridge University Press, Cambridge,1988).

[2] W. Rudin, Functional Analysis (McGraw-Hill Science, Singapore, 1991).[3] V. Lakshmikantham and S. Leela, Differential and Integral Inequalities (Academic Press, New York,

1969).[4] E. P. Wigner, Ann. Math. 67 325 (1958).[5] G. W. Anderson, A. Guonnet, and O. Zeitouni, An Introduction to Random Matrices (Cambridge

University Press, Cambridge, 2009)[6] A.-L. Barabasi and R. Albert, Science 286, 509 (1999).[7] Y.-Z. Chen and L.-Z. Wang and W.-X. Wang and Y.-C. Lai, Royal Soc. Open Sci. 3, 160064 (2016).[8] L.-Z. Wang and Y.-Z. Chen and W.-X. Wang and Y.-C. Lai, Sci. Rep. 7, 40198 (2017).[9] J. L. Hindmarsh and R. M. Rose, Nature 296 162 (1982).

9

Page 16: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

3

8

E

3 5 7 90

1

2

Tf

k

(b)

(a)

× 103

(a)

6

8

E

0.2 0.4 0.6 0.80.2

0.5

Tf

α

× 103

(c)

(d)

(b)

FIG. S1. Trade-off between required control time and energy cost. Effects of increasing k and ↵ oncontrol time and energy cost for the Florida food-web network: (a) energy cost versus k, (b) control timeversus k, (c) energy cost versus ↵, and (d) control time versus ↵. The initial state values are randomlytaken from the interval [0, 5].

10

Page 17: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

10 15 20

0

1

k

Pro

bab

ilit

y

(a)

(a)

0.5

1.5

Tf

200 400 600 800 1000

100

300

N

E

uS

uF

uL

(b)

(c)

(b)

FIG. S2. Eigenvalue distribution and estimates of the required control time and energy cost formixed ecosystems. (a) The probability of successfully controlling a mixed ecosystem when feedbackcontrol strength k passes through the critical value k⇤ =

q

2NP�

1 + 2

�0

�r (indicated by the verticaldashed line). The probability is calculated by simulating 100 random matrices with N = 250, P = 0.25,�0

= 1, and r = 1. (b,c) Required control time and energy cost, respectively, for the controlled mixedecosystem subject to controllers uS (circles), uF (squares) and uL (diamonds). The parameters areP = 0.25, �

0

= 1, k = 1.1k⇤, ↵ = 0.8, and N 2 [50, 1000]. All the initial state values of the networkedsystem are randomly chosen from the interval [�5, 5].

11

Page 18: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

0

15

30

Tf

0.2 0.4 0.6 0.8 10

500

1000

nD

E

m=4 m=6 m=8

(a)

5

15

25

35

Tf

0.3 0.5 0.7 0.90

500

1000

nD

E

low medium high

(b)

FIG. S3. Flexibility performance with different control configurations. For scale-free networks,control time and energy versus the density n

D

of driver nodes for (a) mean degrees m = 4, 6, 8 and (b)m = 6 and driver nodes of high, medium, and low degrees. The network size is N = 500 and controllerparameters are ⇠ = 1 and k = 30. Other parameters are the same as those in Fig. 4 in the main text.

12

Page 19: Closed-Loop Control of Complex Networks: A Trade-Off ...chaos1.la.asu.edu/~yclai/papers/PRL_2017_SLLGL.pdfClosed-Loop Control of Complex Networks: A Trade-Off between Time and Energy

−1

0

1

10−−2

0 200 400 600

0.5

1.0

1.5

2.0

−1

0

1

(a)

t

yi1

Neu

rons

200 400 600 800 1000

0.1

0.2

0.3

0.4

N

Tra

nsi

tio

n t

ime

hS

ij hij

L

N

(b)

FIG. S4. Controlled generation synchronization of spiking HR neuronal networks. (a) Time course(upper) and color map (lower) of all potentials y

i1

of a HR neuronal network, where ↵ = 1/2, k = 0.15,hSij

is activated at t = 200, and the rewiring probability 0.1 and N = 200 are used for generating thesmall-world network. (b) Synchronization transition time for different values of N .

13