Introduction

A basic and important quantity characterizing a large variety of complex dynamical systems in the real world is flow or flux. For example, in a transportation network traffic flux is the main quantity of interest; in the Internet the flux of packets is key to information propagation and spreading; in an electrical power grid the normal flow of electricity is indication of system's designed operation; and in a neuronal network the flux of electrical pulses is responsible for information processing and ultimately for all kinds of biological functions. Due to the complex nature of the systems and inevitable presence of noise, in general the flux tends to fluctuate about its average in time intervals in which the system may be regarded as stationary.

In the study of complex dynamical systems, a fundamental question of continuous interest is whether there exists a universal law between the average flux and the fluctuation1,2,3,4,5,6,7. In this regard, an early work revealed a power-law (algebraic) relation between the two with the exponent taking on a finite set of discrete values, such as 1/2 or 11. Subsequently it was suggested3 that the power-law exponent can assume continuous values in the range [1/2, 1]. Quite recently, the notion of power-law scaling between the fluctuation and the average flux was refuted and a non-algebraic type of relation between the two quantities was obtained6, with support from both model simulations and data from a realistic communication network system. In particular, let 〈fi〉 be the average flux and σi be the amount of fluctuation, the non-algebraic type of flux-fluctuation law is given by6

where is a single parameter determined by the property of the external driving M(t) only, σext and 〈M〉 are the standard deviation and the expectation value of M(t), respectively. The discovery of Eq. (1) is important as it reveals a simple but definite relation between the flux and fluctuations, in spite of the complex nature of the underlying physical system.

In spite of the success of Eq. (1) in explaining the flux-fluctuation relation observed from certain real systems, there exists a paradox. In particular, Eq. (1) implies that, as the flux increases continuously, so would the fluctuation. Consider, for example, a complex network of small size, where the total amount of traffic, or flux, is finite. In such a system, the traffic flow through various nodes will exhibit different amount of fluctuations, depending on the corresponding flux. In the special but not unlikely case where most of the traffic flow passes through a dominant node in the network, the flux is large but the fluctuation observed from it must be small, since the total amount of traffic is fixed. For other nodes in the network the opposite would occur. Thus, in a strict sense, Eq. (1) is applicable only to physical systems of infinite size with less flux heterogeneity. An example of the failure of Eq. (1) for a small system is demonstrated in Fig. 1 panels (a) and (b), where the flux-fluctuation relation obtained from a real Microchip system1 is shown. We see that, on a logarithmic scale [see panel (a)], the flux-fluctuation behavior from the real data (open diamonds) appears to mostly agree with the prediction of Eq. (1) (dashed curve). However, as indicated in panel (b), on a linear scale there is substantial deviation of the real behavior from the prediction of Eq. (1). A careful examination of the flux-fluctuation relation for model network systems, especially for small systems with weak external driving or those with a high nodal flux heterogeneity, reveals that the deviation from the theoretical prediction is systematic. Curiosity demands that we ask the following question: in small complex physical system, is there a general flux-fluctuation law?

Figure 1
figure 1

Empirical and numerical evidences for the breakdown of the previous flux-fluctuation law Eq. (1).

Nodal flux fluctuation σi versus the average flux 〈fi〉, (a) and (b) for real data from microchips1 and (c,d) and (e,f) for the numerical data from heterogeneous networks on logarithmic and linear scales, respectively. The dashed and solid curves are the predictions of the previous flux-fluctuation law Eq. (1) and our new theory Eq. (2), respectively. And the dotted curves in (a,b) are fitting of real data which can be explained by our theory. Numerical simulations are realized on scale-free networks of size N = 2000 and mean degree 〈k〉 = 2, under constant external driving M = 4000. The networks of (c,e) and (d,f) are schematically illustrated in (g) and (h), respectively.

In this paper, we uncover a universal flux-fluctuation law in small systems. Taking into account realistic physical effects such as the contribution of internal randomness and combined effects of multiple external driving, we may obtain more accurate flux-fluctuation relation agreeing well to real data and numerical results (dotted and solid curves in Fig. 1). A key to our success lies in distinguishing the external driving from the intrinsic fluctuations in terms of their respective contributions to the interplay between flux and fluctuation, where the former represents the systematic or random perturbation upon the system from the outside world and determines the total flux of the system in any given time period. For example, in a river network, the external drive can be the precipitation in the basin region; for Internet or the urban traffic systems, external drive can be the daily rhythmic behavior of human activities8, such as the traffic in a city introduced by human's commuting between place of residence and place of work. Intrinsic fluctuations of the system, however, are generated by randomness in processes such as package generating, source-destination selection, path selection and asymmetry of the underlying network topology, etc. We show that, for a small system, the effects of internal randomness on the flux-fluctuation interplay must be included and treated properly and this leads to a nontrivial correction to Eq. (1) and results in a new law that is generally applicable to complex systems of small size and reduces to Eq. (1) in the limit of large system size. Since realistic physical systems are finite, especially considering that the statistical physics of small systems are of great recent interest9,10,11, we expect our result to be appealing to the broader scientific community.

Results

Here we give the numerical evidence of systematic breakdown of Eq. (1) and validity of new flux-fluctuation law,

with the theoretical analysis of which given in Sec. Methods. Compared with the previously obtained1,2,3,4,5,6,7 flux-fluctuation law [Eq. (1)], Eq. (2) has the additional term −〈fi2/〈M〉, which accounts for the contribution to the fluctuations by the internal randomness.

Flux-fluctuation law in scale-free networks

To provide more evidence for the breakdown of Eq. (1) in physical systems, we consider scale-free networks12 and implement packet-flow dynamics13,14. At time step t, the system generates M(t) packets. Each packet is assigned a pair of randomly selected source and destination. Packets are delivered step-by-step through the respective shortest paths from their sources to destinations. Here, the external drive can be characterized by M(t). We firstly consider the simple case of constant external drive M (i.e., σext = 0), under which Eqs. (1) and (2) correspond to and , respectively. The constant external drive is ubiquitous in real systems, e.g., the river flow replenished by the confined groundwater and stable flow on Internet introduced by the pre-installed task processing programs (which are not restricted to the daily surfing rhythm of users). Effective constant drive also takes place in the networked system composed of nodes with limited delivery capacity. For example, a node with saturated flow will deliver a constant number of packets at each time step, which thus acts as a constant external drive to the downstream subsystem. Constant external drive also exists in closed traffic systems, such as the blood circulation systems of animals and water heating system for buildings. Furthermore, the large observation time scale to traffic systems3,4,5,6,7 also give rise to the situation of a constant external drive, in case that the window size exceeds the characteristic period and thus the detailed temporal information of the traffic flow is bypassed effectively.

Figure 1(c) shows, on a logarithmic scale, the fluctuation σi versus the average flux 〈fi〉 for various nodes, where M = 4000, the network size is N = 2000, the dashed line is from Eq. (1), the solid curve is from our theory and the open circles are from simulation. Figure 1(e) shows the same data but on a linear scale. For the simulation results, the error bars associated with the points obtained from different realizations of the dynamics are smaller than the symbol size. One typical realization of the network structure is shown in Fig. 1(g). We see that the failure of Eq. (1) mainly occurs in the large 〈fi〉 regime. To further illustrate the deviation, we consider the extreme case where most of the network traffic is through a super-hub node so that 〈fi〉 ≈ M. The resulting flux-fluctuation relation is shown in Figs. 1(d) and (f) and the corresponding network structure is shown in Fig. 1(h). We see that the data point specifying the flux-fluctuation of the super-hub node, marked by a star, deviates significantly from Eq. (1) in that the fluctuation amount is small, but it still falls on our theoretical curve. Intuitively, this can be understood by noting that, because the external drive is constant, flux fluctuations are caused entirely by the intrinsic randomness that is minimal for the super-hub node. In a realistic physical system, the components bearing relatively large amounts of flux tend to have small fluctuations due to the boundedness of the total amount of flux in the system, a feature that Eq. (1) fails to incorporate.

Flux-fluctuation law in small systems

We next test networked systems of much smaller size, which are ubiquitous in the physical world such as functional biological networks composed of a few proteins, quantum communication networks of a limited number of quantum repeaters and local ad hoc computer/communication networks supporting a small group of users. For a variety of combinations of (small) network size and mean degree, we obtain essentially the same results as in Fig. 1: large deviations from the previous flux-fluctuation law [Eq. (1)] and excellent agreement with our theory. Representative examples are shown in Fig. 2 for a number of networked systems, all of N = 50 nodes but with different structural parameters. A constant external drive with parameter M = 4000 and the shortest path-length routing protocol are used. Plotted in each panel in Fig. 2 are predictions from Eq. (1) (dashed curves) and from our theory Eq. (2) (solid curves), as well as simulation results (open circles). We see that, for small systems, the disagreement between numerics and Eq. (1) becomes more drastic, especially for smaller mean-degree value. However, in all cases, our new law [Eq. (2)] agrees excellently with the corresponding numerical results, indicating the importance and necessity of including our correctional term [−〈fi2/〈M〉] in the flux-fluctuation law for small sparse networked systems.

Figure 2
figure 2

Flux-fluctuation relationship in small systems.

Nodal flux fluctuation σi versus the average flux 〈fi〉 for small networks of size N = 50. The mean degree is 〈k〉 = 4 for (a,b) and 〈k〉 = 2 for (c,d). Panels (e,f) are results from a modified network of mean degree 〈k〉 = 2 but with a super-hub node. In panels (a,c,e) the flux-fluctuation relations are plotted on a logarithmic scale while in panels (b,d,f), a linear scale is used. The dashed curves are obtained from Eq. (1) and the solid curves are predictions from our modified flux-fluctuation law Eq. (2). All systems are under a constant external drive defined by M = 4000.

Validity of Eq. (2) with respect to network topologies and routing schemes

To demonstrate the general applicability Eq. (2), we carry out numerical simulations of packet-flow dynamics13,14 under a large number of combinations of complex-network topologies and routing schemes. Specifically, we use scale-free12, random15 and small-world16 networks and routing protocols such as those based on shortest path-length, random-walk and efficient-path scheme (EPS)17. In all cases considered, there is excellent agreement between the numerics and Eq. (2). For example, Fig. 3 shows the results from random and small-world networks under the shortest path-length routing protocol. The small-world networks are generated by adding 5 links randomly on a regular one-dimensional ring lattice of size N = 100 and mean degree c = 4. Interestingly, notwithstanding the intrinsic homogeneity underlying this standard class of small-world network model16, there is still wide spread of flux due to the inhomogeneous distribution of traffic flow caused by shortest path-length routing. Figure 4 shows the results of efficient-path routing scheme on scale-free and random networks. In this scheme, node i in the network is weighted by , where ki is i's degree and γ is a turnable parameter characterizing the routing strategy. A packet from source j1 to destination j2 will choose a route with the minimum sum of weights: , where denotes the path from j1 to j2. By varying the parameter γ, we can select certain subsets of nodes on the packet-transport path, such as hubs or small-degree nodes. From Fig. 4, we see that, while different routing schemes lead to large spread in the range of the flux values, the flux-fluctuation relations all collapse into the single curve predicted by our theory.

Figure 3
figure 3

Flux-fluctuation relationship on different network topologies.

Nodal flux fluctuation σi versus average flux 〈fi〉 for networks of different topologies but of the same size N = 100. The mean degrees 〈k〉 of random and small-world networks are 5 and 4, respectively. The dashed and solid curves are predictions of Eq. (1) and Eq. (2), respectively. The constant external drive has strength M = 4000. The subgraph is the magnification of the small-flux regions.

Figure 4
figure 4

Flux-fluctuation relationship under different routing schemes.

Nodal flux fluctuation σi versus the average flux 〈fi〉 for (a) scale-free networks and (b) small-world networks of size N = 100 and mean degree 〈k〉 = 4 under efficient-path routing schemes. The dashed and solid curves are predictions of Eq. (1) and Eq. (2), respectively. The constant external drive has strength M = 4000. The subgraphs are the respective magnifications of the small-flux regions.

In all cases examined, we find that, insofar as the flux in the system is heterogeneous, regardless of the source of heterogeneity (e.g., network topology or routing scheme), our correctional term in Eq. (2) is absolutely necessary to account for the numerically calculated flux-fluctuation relations.

Time-dependent external driving

To further demonstrate the general validity of Eq. (2), we present examples of time-dependent random external driving M(t), i.e., with nonzero . Figure 5 shows, for three cases where 〈M〉 = 4000 but and 49923, numerically obtained flux-fluctuation relations and the corresponding theoretical predictions from both Eqs. (1) and (2). Again, there is excellent agreement between our theory and the numerics. For the case where the external driving is more random, the contribution of the internal randomness [the first and third terms in Eq. (2)] is relatively small. In this case, the previous theory [Eq. (1)] agrees reasonably well with the numerics, as it is particularly suitable for situations where the external driving is highly fluctuating. Our theory is more general as it accurately includes the effects of both intrinsic and external randomness and is thus more broadly applicable. We have also considered flux through links and found that the link flux fij also renders applicable Eq. (2).

Figure 5
figure 5

Flux-fluctuation relationship under time-dependent external drive.

Nodal flux fluctuation σi versus the average flux 〈fi〉 for external drive with three values of σext (from bottom: 0, 10034 and 49923) but identical mean driving strength 〈M〉 = 4000. The dashed and solid curves respectively are the predictions of Eq. (1) and Eq. (2). The scale-free network is of size N = 50 and mean degree 〈k〉 = 2.

Our formula, Eq. (2), also makes possible a detailed understanding of the effect of random external drive. Consider, for example, the special case where the sequence of the external driving M(t) follows a Poisson distribution so that . In this case, Eq. (2) gives . As the external driving has shifts away from 〈M〉, no matter how small, the nodal fluctuation immediately becomes a nonlinear function of the average flux. For , fluctuations at the large-flux nodes are relatively larger (smaller), with the quadratic coefficient in Eq. (2) being positive (negative). We note that, in the previous formula Eq. (1), the coefficient in the quadratic term is always positive, whereas in our formula [Eq. (2)], this coefficient can take on either positive or negative values, depending on the degree of randomness of the external driving. An example of negative coefficient from real-world systems is shown in Figs. 1(a)(b).

Discussion

To summarize, we argue and demonstrate that the previously obtained flux-fluctuation law is valid but in principle only for large complex physical systems. Especially, among others it predicts continuously enhanced fluctuations as the average flux is increased, a situation that cannot occur in small physical systems under finite external drive. The failure of this law is demonstrated using both real and model systems. By analyzing the validity of the mathematical assumption for the probability distribution of the flow dynamics, we derive a general flux-fluctuation law, which correctly predicts the possible maximized fluctuation for intermediate flux. Our law includes the previously obtained flux-fluctuation law as a special case and it is universally applicable to all kinds of complex dynamical systems, large or small, homogeneous or heterogeneous. One immediate application of our flux-fluctuation law is to understand the dynamics of extreme events on complex systems18,19, where simultaneous occurrence of many extreme events can have devastating consequences on the functions of the corresponding networks. The flux-fluctuation law can be used to forecast the number of extreme events on the network, providing guidance to articulating control strategies to suppress extreme events19. The flux-fluctuation relation is a fundamental characteristic of any complex system. The new law presented in this paper can provide insights into the various dynamical processes on small complex systems and this can be important in view of the growing recent interest in the statistical mechanics of small systems in physics, chemistry and biology9,10,11.

Methods

Here, we derive a general flux-fluctuation law for small physical systems. The probability for one given packet to visit node i with ki links is pi = ki/2E in the stationary regime6, where E is the total number of links and . If the system is under a constant external drive M, the expectation value of the flux at i is 〈fi〉 = Mpi. In the previous derivation of Eq. (1), the probability of fi = n is assumed to follow the Poisson distribution with λi = Mpi. We note, however, that this assumption is not proper for heterogeneous, small size systems where the probability distribution is actually binomial. The Poisson distribution is an asymptotic form of the binomial distribution in the limit of M → ∞ for fixed Mpi. Here, pi is related to the heterogeneity and the size N of the system. For example, for a highly heterogeneous networked system, the value of pi associated with super-hubs can be large. For small networks, all nodes are with relatively large values of pi. In both cases, the assumption of Poisson distribution cannot be properly justified. Our hypothesis is then that, the probability that node i gets n packets obeys a binomial distribution: , where M is the total number of packets in the system. For the case where the external driving is time-dependent, the number M itself follows some probability distribution, denoted by Pext(M). We thus have

The average flux is given by

where and are respectively the first and second moments of the external drive. The second-order moment of the flux is

The flux fluctuation of node i can then be calculated as

where is the variance of the external driving. With , we obtain Eq. (2).

Equation (2) can be generalized to the situations where complex system is driven by multiple external inputs MJ (t) (J = 1, 2, …). Take the system with two external drives M1(t) and M2(t) as an example, the flux on one given node i is n = n1 + n2, i.e., the sum of the two fluxes n1 and n2 due to the two external drives. The temporal behaviors of n1 and n2 on node i are determined by the sequences of M1(t) and M2(t), as well as the respective fractions of the fluxes distributed on node i, denoted by {pi1} and {pi2} with i [1, N]. The variance of the total flux can be written as

where the two variances and are given by Eq. (2) with the respective parameters of external drives, αJ and 〈MJ〉 (J = 1, 2). In Eq. (3), C12 is the Pearson correlation coefficient between n1 and n2 defined as

For the case of independent n1 and n2, we have C12 = 0 and so . For the extreme case of C12 = 1, e.g., n1 = n2, we have . For the other case C12 = −1, e.g., n1 + n2 = const., we get σn2 = 0.

The correlation between n1 and n2 are intimately related to the correlation between the external drives M1(t) and M2(t). Independent M1(t) and M2(t) lead to independent n1 and n2 (i.e., C12 = 0). In this case, Eq. (3) can be written as

In the following, we present a number of examples with independent M1(t) and M2(t), for which analytical formulas relating σn2 and 〈n〉 can be derived.

Independently and identically distributed external drives with identical values of {pi}

If M1(t) and M2(t) are independently and identically distributed (IID) and pi1 = pi2, we have , 〈M1〉 = 〈M2〉 and 〈n〉 = 2〈n1〉, leading to

where m = 2 is the number of external drives. Equation (6) in fact gives the general flux-fluctuation law for the system under m N IID external drives. However, the identical distribution of external drives is not a necessary condition to obtain Eq. (6). Insofar as the external drives have the identical values of and 〈M〉 (identical first and second moments), Eq. (6) can be obtained.

Multiple independent drives with one constant drive

Suppose that M2(t) = M2 is a constant drive but its value of {pi} is identical to that of the time-dependent drive M1(t). We can then write Eq. (5) as

which is similar to case of a single external drive as described by Eq. (2), with and 〈M〉 = 〈M1〉 + M2. From Eqs. (6) and (7), we see that the case with {pi1} = {pi2} preserves the form of our flux-fluctuation law.

Independent drives with different {pi}

The situation of external drives with non-identical parameters, {pi1} ≠ {pi2}, becomes slightly more complicated. For example, from Eq. (5) we see that, if 〈M1〉 = 〈M2〉, all nodes receiving the same amount of driving (pi1 + pi2) will have identical average flux 〈n〉, but the contributions of and to the nodal fluctuations of these nodes will depend on the relative values of pi1 and pi2. The nodes with identical value of 〈n〉 may have different values of σn2. From this simple example, we can see that, the single-valuedness of the relation between fluctuation and average flux cannot be guaranteed for external drives with {pi1} ≠ {pi2}.

Here, we consider a special case for which a single-valued flux-fluctuation relation can be analytically obtained. Suppose M2(t) = M2 is a constant external drive providing a background flux to all the nodes, i.e., it distributes the flux homogeneously among nodes with probability pi2 = 1/N. We can rewrite Eq. (5) as

where

and the constant external drive M2 distributes flux to all the nodes with equal probability. It not only adds a constant term to the mean flux of the nodes, but also introduces fluctuation to each node.

For the deterministic case where the drive M2 contributes M2/N amount of flux but without fluctuation to each node, we have

where

We see that, the stable background flux introduces a nonzero constant term c (or c′) into the flux-fluctuation law. Also, the linear coefficient b is no longer limited to unity. In this case, the functional form of σn2 versus 〈n〉 has three coefficients, where the number of system parameters, i.e., , 〈M1〉 and M2, are also three. In a real traffic system under identical background input to each node and a time-varying external drive, the parameters of the drives can be derived according to the values of a, b and c or c′, which can be obtained from a parabolic fit to the actual flux-fluctuation data.

In addition, the behavior of flux fluctuation from real data, such as the multiple-valued function of average flux, or a single-valued function with c ≠ 0 or b ≠ 1, implies some kind of “cooperation” among the external drives with different values of {pi}. As a specific example, the flux-fluctuation behavior observed in the microchip system shown in Fig. 1 with a = −0.427, b = 0.667 and c = 0 can be interpreted as due to the system's being under multiple external drives with different values of {pi}.

In real physical systems, correlations among the external drives MJ may improve the complexity of the flux fluctuation relationship. For example, both atmospheric precipitation and ice/snow melting can contribute to the flow of a river, but both drives may depend on the temperature. An urban traffic system can be driven by public traffic and other specific traffic demands, both being affected by the daily rhythmic behavior of human activities. From a more general perspective, the external drives with large positive correlation can be regarded as one effective single drive M with MJ being the weight to combine {piJ}, i.e., , where pi characterizes the share of the whole drive on node i.