Abstract
When complex systems are driven to depletion by some external factor, their non-stationary dynamics can present an intermittent behaviour between relative tranquility and burst of activity whose consequences are often catastrophic. To understand and ultimately be able to predict such dynamics, we propose an underlying mechanism based on sharp thresholds of a local generalized energy density that naturally leads to negative feedback. We find a transition from a continuous regime to an intermittent one, in which avalanches can be predicted despite the stochastic nature of the process. This model may have applications in many natural and social complex systems where a rapid depletion of resources or generalized energy drives the dynamics. In particular, we show how this model accurately describes the time evolution and avalanches present in a real social system.
Similar content being viewed by others
Introduction
Avalanches or bursts of activity are present in many natural and social systems that range from sand piles1, earthquakes2, solar flares3, plastic deformation4, domain flips in ferromagnets5, species mass extinctions6, neuronal activity7, forest fires8, landslides9, clustering of self driven particles10 and hydrodynamics11, to daily website hits12, attendance to motion pictures13, financial markets14 and book sales15. Understanding and ultimately predicting the dynamics of these avalanches is of great scientific and practical importance, as they can lead to catastrophic events, of which large earthquakes and stock market crashes serve as two dramatic examples.
A very fruitful approach to understand the dynamics of many of these systems has been to assume local and relatively simple interactions of their constituting elements which drive the system to a state that displays emergent behaviour. Importantly, this emergence results without the need of an external tuning parameter16,17. This is the premise of Self Organized Criticality (SOC)1, for which models now abound. A paradigmatic example is that of earthquakes, which may be modelled as dissipative systems presenting SOC18,19. There, a slow energy input eventually leads to relatively fast breakdown events spanning many orders of magnitude. Variations of this model20, based on the Bak, Tang and Wiesenfeld (BTW) sand-pile model21, are able to recover the main characteristics of earthquakes statistics. Roughly speaking, this class of BTW models have two main ingredients. First, there is a continuous input of energy into the system that may continue indefinitely. Second, bursts of activity occur due to excess stress accumulation which is then toppled to neighbouring constituents giving rise to avalanches.
There exist, however, a plethora of other systems which are instead characterized by a steady decrease of their activity all the way to complete inertness. This happens as a result of a steady decay of the input energy, which translates into the system as an effective stress to which it must adapt, reaching at every step a new equilibrium configuration. While in some instances this is achieved in a relatively smooth way, in others the system is unable to adapt fast enough giving rise to large, often catastrophic events. Indeed, one may see an intermittent behaviour between relative tranquility and bursts of activity. Actually, it is now recognized that continuous driving forces can induce transitions between continuous and intermittent dynamics22. This feature is of great importance, since systems that seem to be adapting well (smoothly) to such external stresses, may suddenly break down without any apparent warning signs. Examples of systems presenting this general behaviour range from the group of theaters showing a particular movie as weekly audience decreases, the number of surviving a mammalian genera during an extinction period or the price of a stock during a sell-off.
Model definitions
To model this behaviour we consider a system of non-interacting elements that receive (but do not accumulate) a share of the energy externally provided. Each element is pre-assigned a sharp threshold such that if the energy it has received is below this threshold, the element is permanently removed from the system. These thresholds are considered as intrinsic properties of the elements, and therefore do not change with time. We show below that this simple model naturally leads to a negative feedback responsible for the adaptation of the system as a whole. The general mechanism proposed is depicted in Fig. 1. This model reproduces both the smooth response as well as the intermittent one and provides a means of predicting catastrophic events in complex systems as they are driven to extinction. To be mathematically precise, our model consists of N basic elements labelled with i = 1, …, N. We then introduce a time-decaying external input signal q(t), that, for sake of clarity, we assume takes integer values and decays rapidly with time. This function represents the total generalized available energy, which is randomly distributed among the N(t) active elements at each time step t. An element belonging to this group becomes -and remains- inactive when the amount of energy allotted to it is below its own, pre-assigned threshold. To achieve this, a fixed set of time-independent thresholds x i > 0 for each of the constituent elements i = 1, …, N is drawn randomly from a distribution. We stress the point that at any given time step each element can be either active or inactive, but once it has become inactive it remains in that state. Let σ i (t) be the state of element i, with σ i (t) = 0 for the element being inactive, or one otherwise. If \(N(t)={\sum }_{i=1}^{N}{\sigma }_{i}(t)\) denotes the number of active elements at time t, the system evolves according to the following simple microscopic dynamical rule:
Here Θ(x) represents the Heaviside step function, and T i (t) is a portion of the input signal uniformly and randomly allotted only to active element i such that \({\sum }_{i=1}^{N(t)}{T}_{i}(t)=q(t)\). Henceforth, we will call the set of variables T i (t) the occupancies. Notice that at a given time t, the probability of finding a particular configuration {T1(t), …, TN(t)(t)} follows a multinomial distribution with uniform probability 1/N(t). This implies that the average occupancy is the same for all elements and equal to T(t) ≡ E[T i ] = q(t)/N(t), with variance being Var[T i (t)] = q(t)(1 − 1/N(t))/N(t). We take the initial conditions in which all constituents are active at t = 0, that is N(t = 0) = N, and define the activity for this model as the number of elements removed at each step ΔN(t) = N(t) − N(t + 1).
One can gain some intuition on how the system behaves under this mechanism by looking at the time evolution of the density of active thresholds and the density of occupancies, denoted as ρ t (x) and ρ t (T) respectively. This will become useful to gain a good grasp on the mean-field solution to the model, presented below. Figure 2a shows a sketch of the dynamical evolution of the system in terms of these two densities. Let us assume that at a given time these two distributions do not overlap (Fig. 2a, t = 0). Then, as time evolves, the distribution ρ t (T) moves to its left since the average occupancy T(t) = q(t)/N(t) decreases over time, as q(t) is a decreasing function and N(t) has not changed yet. Eventually, the two distributions do overlap (Fig. 2a, t = 1). This means that the overlapping fraction of active thresholds will become inactive, increasing the average occupancy T(t), and pushing, in turn, the distribution ρ t (T) back towards higher values. As a consequence, a non-zero activity indirectly hinders any further activity, in what constitutes a negative feedback mechanism. Now again, the distributions are not overlapping (Fig. 2a, t = 2) but, as time evolves, this mechanism reoccurs (Fig. 2a at t = 3 and t = 4). This sequence of events repeats itself until all elements have become inactive. Since in this sequence the system goes through periods of zero activity, Fig. 2a actually illustrates its typical response when it is in the herein called intermittent regime. But with this representation it is also possible to foresee that if the external signal decays relatively slowly, the system will be able to adapt to the depletion of resources, so that small but finite portions of ρ t (x) are removed at every iteration (Fig. 2c). We call this the continuous regime since the activity is always non-zero. The different behaviour of the system in both regimes can be appreciated in the plots of N(t) and ΔN(t) presented on Fig. 2b and d for the intermittent and continuous regimes, respectively. These plots also help illustrate an important characteristic of the model: the maximum activity can be larger in the intermittent regime by over an order of magnitude as compared to the continuous one.
At this point it is important to contrast our model with the BTW model, as both present avalanches and are based on a sharp threshold dynamics as a response to some external energy input. In the BTW model, the elements q i (t) may represent the accumulated stress allocated in one of the N(t) geological faults, and, as in our model, an earthquake or avalanche occurs when a fault crosses its threshold. But, unlike our model in which the elements remain inactive once they are brought to that state, as soon as a geological fault has toppled its excess stress, it can start again accumulating new stress. Another important difference is that in the BTW model the input signal keeps providing energy which the system continuously dissipates, while, in our case, the input signals evolves in times towards zero. Furthermore, our model does not allow any stress accumulation; in other words, it is history independent. Indeed, despite their shared characteristics, the actual mechanism giving raise to bursts of activity in each model is completely opposite in nature: in the BTW model avalanches result from a positive feedback mechanism, while in ours, a negative feedback one plays the central role.
Results
For concreteness, to quantify the behaviour of the model we have chosen an exponentially decaying external signal \(q(t)={q}_{0}{e}^{-t/\tau }\) and proceeded to identify the continuous and intermittent regimes of the model in its space of parameters. As relevant parameters, apart of τ, we have also chosen the initial coefficient of variation κ ≡ σ/μ of the distribution of active thresholds ρt = 0(x), where μ and σ2 are its first two cumulants. We have subsequently estimated the dynamical phase diagram corresponding to the the microscopic dynamics of equation (1) using two methods: i) by deriving a simple dynamical mean-field equation and ii) by Monte Carlo simulations.
Even though it is possible to obtain an exact effective macroscopic dynamics using the method of the generating functional analysis a la Martin-Siggia-Rose23, the resulting equations are rather cumbersome to analyse. Thus we have opted to derive a simpler dynamical mean-field equation, which turns out to describe the exact microscopic dynamics remarkably well. After some algebra, a dynamical mean-field equation for the average number of active elements, which we also denote as N(t), is given by (see SI)
To identify in which regime the model is in the parameter space (κ, 1/τ), we introduce two order parameters. The first one is a natural way to quantify intermittency through the normalized cumulative time of inactivity (see SI). In particular, this quantity is 0 when the system is in the continuous regime, and non-zero when in the intermittent one. The second parameter characterizes the ability of the system to follow the input signal and corresponds to see whether \(z(t)\equiv \frac{\mu -T(t)}{\sqrt{\mathrm{2(}{\sigma }^{2}+T(t))}}\) equals a constant \({z}_{\ast }\) after some transient. By iterating the dynamical mean field equation (2) and following the values of these two parameters we are able to identify four regimes or phases in the (κ, 1/τ)-plane. Moreover, we are able to obtain analytical expressions for some of the transition lines. These four regimes are shown in Fig. 3a. The intermittent regime, depicted in Fig. 3a by a red filled area, is characterised by the impossibility of the system to synchronise with the external signal, resulting in avalanches. The continuous & asynchronous regime I (shown as the dark blue area in the same figure) corresponds to the system being again unable to synchronize to the external signal, but this time in a smooth way, i.e., avalanches are no longer generated. On the other side, in the continuous & synchronous regime, shown by the green area in Fig. 3a, the system is able to follow the external signal. Finally, the continuous & synchronous regime II, captures the impossibility of the system to match the external signal due solely to restrictions in the initial conditions T(t) > 0.
Notice that, within the mean-field approximation, it is possible to obtain analytically the bifurcation line, denoted as κ c (τ), separating the asynchronous to the synchronous regimes, as well as the bifurcation line κna(τ) separating the synchronous to the asynchronous regime II. The first line is derived by assuming that the synchronous regime is characterised by \(z(t)={z}_{\ast }\) being a constant. This implies, in turn, that \({z}_{\ast }\) and τ are related by the formula \({z}_{\ast }(\tau )={{\rm{erfc}}}^{-1}(2{e}^{-\mathrm{1/}\tau })\).
Naturally, the transition to the intermittent regime is derived by assuming a continuous bifurcation of z(t) around \({z}_{\ast }\). After some algebra, the line separating both regimes in the (κ, 1/τ)-plane is given by the following set of coupled equations:
with \(\frac{1}{\tau }=-{\rm{l}}{\rm{o}}{\rm{g}}(\frac{{\rm{e}}{\rm{r}}{\rm{f}}{\rm{c}}({z}_{\ast })}{2})\). Thus, given μ, the solution of (3) results in a pair \(({\kappa }_{c}(\tau ),{T}_{\ast }(\tau ))\), where the first function κ c (τ) corresponds to the bifurcation line separating the aforementioned regimes, while line \({T}_{\ast }(\tau )\) tells which value T(t) takes precisely at the transition. As shown in Fig. 3a, the agreement between the bifurcation line (3) and the dynamical phase diagram obtained from the same equation is excellent (see the SI for more details on the synchronization plots for this and other values of μ). The second bifurcation line, as reported in Fig. 3a, follows from the fact that in the continuous and synchronous regime we must have \(z(t)={z}_{\ast }=[\mu -{T}_{\ast }]/\sqrt{\mathrm{2(}{\sigma }^{2}+{T}_{\ast })}\) and, since N(t) decays precisely like the signal q(t), one can easily derive from equation (2) that \(1/\tau =-{\rm{l}}{\rm{o}}{\rm{g}}[\frac{1}{2}{\rm{e}}{\rm{r}}{\rm{f}}{\rm{c}}(\frac{\mu -{T}_{\ast }}{\sqrt{2({\sigma }^{2}+{T}_{\ast })}})]\). However, as \({T}_{\ast }\ge 0\) there is a part of the phase diagram inaccessible in the synchronous regime, given by the following line κna(τ) in the (κ, 1/τ)-plane (see SI):
How well the mean field description captures the microscopic model can be appreciated by comparing Fig. 3b and c, where we have calculated the cumulative time of inactivity for each model, using Monte Carlo simulations for the microscopic one. Despite the simplicity of equation (2), the agreement with the microscopic model is reasonably good. Notice that these plots show there is a clear border separating the intermittent and synchronous regimes, and that, in general, intermittency can be avoided for faster decays with relatively wide ρ t (x) distributions, as expected. Furthermore, both models present a gap: below a critical value of 1/τ, the system is continuous regardless of how small κ is. The magnitude of this gap is actually a function of μ, and its analytical expression can be found for the mean-field description (see SI). We point out that, unlike the mean-field model, the microscopic one does not present a synchronized regime. Rather, in the latter the activity always lags behind the external signal, i.e., it is always marginally desynchronized. We find, however, that the activity does become less synchronized in the intermittent regime, but no clear transition is observed for this model.
Application to a real system
Despite its apparent simplicity, the model presented here is robust enough to be applicable to real complex systems. As a proof of principle, we now implement it to investigate the dynamics of the supply of theaters for a given movie that played in the US from 1970 to 2000. The dynamics of the attendance to movie theatres in the U.S. has been studied recently in ref.13 where it was shown that the attendance is in general very well described by a decaying exponential (see example of left plot in Fig. 3) as inferred from the weekly revenue of a movie (see SI), and is thus ideally suited to test our model. This system meets our model if we consider that as q(t) people fill up the N(t) theaters at time t, a theater removes the movie at time t + 1 if the local attendance T i (t) is lower than its threshold x i . In other words, a theater removes a movie after the revenue from one week is below some pre-established value. We assume now that the distribution of local thresholds is again normally distributed. As a first order approximation we assume that at time t the whole available population q(t) is randomly distributed over the available theaters N. We realize that this is an enormous simplification of the actual problem since, of course, geographic restrictions limit the available theaters for people. Nevertheless, similar results as the ones presented below are obtained by sectioning the data and assigning smaller variance per section.
The right panel in Fig. 4 presents four examples of how our model (thick pink line and square symbols) is capable of reproducing the theater dynamics (black dots) remarkably well, in some cases spanning almost three orders of magnitude. Note the logarithmic scale on the number of theater axis of this figure. Both small and relatively large events are equally reproducible. In all examples shown, the same parameters μ = 400, σ = 0.45μ, were used. In other words, we only require the initial number of theaters to reproduce the whole time series of N(t) using as input the specific time series for q(t) and a normal distribution of thresholds. Other than the fixed choice of distribution of thresholds, there are no free parameters in this model.
We now apply the model to a collection of 3000 different movies that played in the U.S from 1970 to 2000 (see SI). We postulate that this social system is characterized by a single distribution of thresholds, and therefore, the same parameters μ = 400, σ = 0.45 μ are used in all instances, and only q(t) and N(0) are different for each movie and determined by external factors (see SI for further details). To assess the capability of the model to completely recover the dynamics of this social system we obtain the distribution of ΔN(t) normalized by N(0) for each movie from both the model (solid line in Fig. 5) and the actual data (dots in Fig. 5). Notice that the model recovers the whole shape of the distribution of these normalized avalanches. This distribution is actually well fit to a power law with an exponential tail (not shown). In this particular system, an epidemic branching mechanism is responsible for the exponential decay of the effective energy q(t), ref.13. It is possible that other complex systems also present a similar rapid decline of resources, driving the dynamics towards intermittency.
Conclusions
To conclude, we have introduced a negative feedback model with sharp thresholds to describe the dynamics of complex systems driven to depletion, which is simple enough to be amenable to analytical treatment and yet powerful enough to accurately predict the dynamics in real complex systems. We foresee that this model may be used to explain and predict small and large avalanches in other systems for which there is an exponentially fast decline of some quantity playing the role of an energy source randomly distributed among elements that need a certain minimum amount of it to remain active (or survive). Since large avalanches are indeed catastrophic in many social and natural settings, implementing variations of the model presented in this work could help prevent them.
References
Bak, P. C. T. C. & Wiesenfeld, K. Self-organized criticality: an explanation of the 1/f noise. Phys. Rev. Lett. 59 (1987).
B.B., M. The fractal geometry of nature. W. H. Freeman, San Francisco (1982).
Dennis, B. Solar hard x-ray bursts. Solar physics 100, 465–490 (1985).
D., D. et al. Scale-free intermittent flow in crystal plasticity. Science 312, 1188–1190 (2006).
Barkhausen, H. Zwei mit hilfe der neuen verstarker entdeckte erscheinugen. Physik Z. 20, 401–403 (1919).
Raup, D. & Sepkoski, J. Mass extinctions in the marine fossil record science. New Series 215, 1501–1503 (XXXX).
Beggs, J. & Plenz, D. Neuronal avalanches in neocortical circuits. The Journal of Neuroscience 23, 11167–11177 (2003).
B., M. et al. Forest fires: An example of self-organized critical behavior. Science 281, 1840 (1998).
Malamud, B., Turcotte, D., Guzzetti, F. & Reichenbach, P. Landslide inventories and their statistical properties. Earth Surface Processes and Landforms 29, 687–711 (2004).
Huepe, C. & Aldana, M. Intermittency and clustering in a system of self-driven particles. Physical Review Letters 92, 168701 (2004).
Manneville, P. Dissipative structures and weak turbulence. Academic Press Inc. California, USA (1990).
Adamic, L. A. & Huberman, B. A. The nature of markets in the world wide web. Quarterly Journal of Electronic Commerce 512, 1 (2000).
Escobar, J. V. & Sornette, D. Dynamical signatures of collective quality grading in a social activity: attendance to motion pictures. Plos One 10, 1 (2015).
D Sornette, J. B. & Johansen, A. Stock market crashes, precursors and replicas. Journal de Physique I 6, 167–175 (1996).
Sornette D, G. T., Deschatres, F. & Y, A. Endogenous versus exogenous shocks in complex networks: An empirical test using book sale rankings. Phys. Rev. Lett. 93, 228701 (2004).
Sornette, D. Critical phenomena in natural sciences. Springer, Heidelberg, 2nd edition (2003).
Stanley, H. Scaling, universality, and renormalization: Three pillars of modern critical phenomena. Rev. Mod. Phys. 71, S358 (1999).
Bak, P. & Tang, C. Earthquakes as a self?organized critical phenomenon. Journal Of Geophysical Research, 94 (1989).
A. Sornette, D. S. Self-organized criticality and earthquakes. Europhysics Letters 9, 197 (1989).
Olami, Z. H. F. & Christensen, K. Self-organized criticality in a continuous, nonconservative cellular automaton modeling earthquakes. Phys. Rev. Lett. 68, 1244 (1992).
P. Bak, C. T. & Wiesenfeld, K. Self organized criticality. Phys. Rev. A 38, 364 (1988).
Fischer, R., Gondret, P. & Rabaud, M. Transition by intermittency in granular matter: from discontinuous avalanches to continuous flow. Phys. Rev. Lett. 103, 128002 (2009).
Martin, P. C., Siggia, E. D. & Rose, H. A. Statistical dynamics of classical systems. Phys. Rev. A 8, 423–437, https://doi.org/10.1103/PhysRevA.8.423 (1973).
Acknowledgements
J.V.E. is grateful to Denis Boyer and Leonardo Dagdug for interesting discussions about the model. J.V.E. gratefully acknowledges funds from DGAPA-UNAM No. IA101216 and No. IA103018, as well as from CONACYT No. CB 2013/221235.
Author information
Authors and Affiliations
Contributions
J.V.E. proposed the model. I.P.C. solved the model exactly and helped with the analytical understanding. Data and numerical analysis was done by J.V.E. The authors discussed the results and commented the manuscript.
Corresponding author
Ethics declarations
Competing Interests
The authors declare no competing interests.
Additional information
Publisher's note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Electronic supplementary material
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Escobar, J.V., Pérez Castillo, I. Intermittent dynamics in complex systems driven to depletion. Sci Rep 8, 4825 (2018). https://doi.org/10.1038/s41598-018-23033-x
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-018-23033-x
This article is cited by
-
Simulating the mechanisms of serrated flow in interstitial alloys with atomic resolution over diffusive timescales
Nature Communications (2020)
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.