Abstract
Weighted networks capture the structure of complex systems where interaction strength is meaningful. This information is essential to a large number of processes, such as threshold dynamics, where link weights reflect the amount of influence that neighbours have in determining a node's behaviour. Despite describing numerous cascading phenomena, such as neural firing or social contagion, the modelling of threshold dynamics on weighted networks has been largely overlooked. We fill this gap by studying a dynamical threshold model over synthetic and real weighted networks with numerical and analytical tools. We show that the time of cascade emergence depends nonmonotonously on weight heterogeneities, which accelerate or decelerate the dynamics, and lead to nontrivial parameter spaces for various networks and weight distributions. Our methodology applies to arbitrary binary state processes and link properties, and may prove instrumental in understanding the role of edge heterogeneities in various natural and social phenomena.
Similar content being viewed by others
Introduction
Weighted networks provide meaningful representations of the architecture of a large number of complex systems where interacting entities, represented as nodes in a graph, are connected with links weighted by the strength of their interactions. Weighted networks are ubiquitous in biological^{1}, ecological^{2}, infrastructure^{3,4,5}, social^{6,7,8,9}, information, and economic^{10,11} systems, just to mention a few. Their analysis has been in focus from the early stages of complex networks research^{12,13}, with several measures^{14,15,16} and models^{17,18} introduced. These studies show that link weights in real networks are usually heterogeneous, may be correlated with the network structure^{6,19}, and can even capture signed relationships^{20}. More importantly, weights help to differentiate links of varying importance, influence, and role. On a microscopic level, weights identify the most relevant neighbours of a node^{21}; on a network level, they indicate links with special roles or positions in the system^{6,19}. Such information is crucial for dynamical processes evolving on weighted networks. Examples can be found in epidemiology, where important ties maintained by frequent interactions may enhance the spread of infection locally, while ties with infrequent interactions but located between densely connected parts of the network may suppress diffusion globally^{19,22}. Link weights are also relevant in phenomena like random walks, spin models, synchronisation, evolutionary games, as well as cascading failures. Despite this, weighted networks have been less studied than their unweighted counterparts, especially for threshold driven processes, which play an essential role in systems of selforganised criticality^{23,24,25}, epidemiology^{26}, firing neurons^{27,28,29}, or social contagion^{6,30}.
In threshold driven processes, the state of an entity changes when the concentration of incoming stimuli or cumulating force reaches a certain threshold. Some typical examples are neural systems^{27,28}, earthquakes^{31}, and solar flares^{32,33}, commonly identified as selforganised critical systems driven by integrateandfire mechanisms. Thresholds play a role in some epidemic diseases, such as tuberculosis and dysentery^{26}, where infection requires the concentration of pathogens in an individual to overcome a threshold. Moreover, thresholds are associated with social contagion phenomena, where social influence from acquaintances may change the behaviour of an individual after reaching a cognitive limit. Studies of socalled complex contagion date back to Schelling, Axelrod, and Granovetter, but have recently attracted interest thanks to the seminal cascade model by Watts^{30}, and also to the enormous amount of digital data on human behaviour collected to observe, analyse and model social contagion. In threshold models on networks links are usually considered unweighted, such that the stimuli or influence arriving from each neighbour contributes equally to reaching the behavioural threshold. Although this assumption simplifies their modelling, it does not lead to an accurate representation of real world dynamics. For example, in neural systems synaptic connections have weights that quantify the strength of incoming stimuli, and contribute unequally in bringing neurons to an excited state, as recognised recently in models of neural population dynamics^{34}. In social systems link weights are associated with tie strengths that quantify the social influence that individuals have on their peers. Measurement of tie strength is a long standing challenge, but it is generally accepted that social ties are not equal, as some are more influential than others on one’s decision making. Surprisingly, apart from some recent studies^{35,36,37}, weights have been commonly overlooked in models of threshold driven phenomena.
Our aim is to close this gap by exploring the effect of weight heterogeneities on threshold driven contagion processes. We first study a dynamical variant of the Watts cascade model on a simple system, a random regular network with a bimodal weight distribution. We then provide an analytical solution of the dynamics, for arbitrary degrees and weights, together with numerical simulations and combinatorial arguments to show that the speed of spreading depends nonmonotonously on the extent of weight heterogeneity and may drastically accelerate or decelerate as compared to the unweighted case, even for fixed thresholds. We also observe this effect under more realistic synthetic scenarios, such as scalefree networks and lognormal weight distributions, as well as in datadriven simulations over largescale empirical weighted networks. Our contribution is a meaningful step forward in the largely unexplored modelling of dynamical processes with heterogeneous interactions, typical in neural systems and social contagion. Moreover, our results may have broader implications as our methodology is not specific to threshold dynamics and may be easily extended to any binary state process, while our study and conclusions may be useful in accurately modelling other dynamical phenomena over weighted networks.
Results
Threshold model and approximate solutions
To study threshold driven dynamical processes over weighted networks we build on the seminal model proposed by Watts^{30}. Following its standard formulation^{30,38,39,40}, we define a monotone binarystate dynamics over a weighted, undirected network of size N. Degrees take discrete values k = 0, …, N − 1 according to a distribution P(k), and edge weights w > 0 are continuous variables with distribution P(w). The edge weight w_{ ij } represents the capacity of connected nodes i and j to influence each other. Accordingly, the node strength \({q}_{k}(i)={\sum }_{j=1}^{k}{w}_{ij}\) is the total influence node i receives from its k neighbours. Like in other conventional models of spreading dynamics^{41}, nodes can be in two mutually exclusive states, susceptible (initially all nodes), or infected (also called adopter in the social contagion literature). A susceptible node can become infected either spontaneously with rate p^{39,40}, or if the influence of its infected neighbours exceeds a given threshold ϕ (0 < ϕ < 1). However, influence may vary from neighbour to neighbour. We implement this idea by defining the partial strength \({q}_{m}(i)={\sum }_{j=1}^{m}{w}_{ij}\) associated with the influence of the m infected neighbours on node i (where 0 ≤ m ≤ k). If the condition q_{ m } ≥ ϕq_{ k } is fulfilled, node i becomes infected and remains so indefinitely. For simplicity we assume that all nodes have the same threshold ϕ, just as in many other studies^{30,38} (implementation details in Methods).
We explore this model analytically by extending Gleeson’s approximate master equation (AME) formalism for stochastic binarystate dynamics^{41,42,43,44} over weighted networks. Although we only consider monotone dynamics in detail, our formalism can easily be extended to arbitrary binary state processes (see Supplementary Information [SI]). The original AME formalism considers unweighted networks with an arbitrary degree distribution, which are otherwise maximally random. It assumes that all nodes with degree k and number of infected neighbours m follow the same dynamics, forming a node class (k, m) that can be described by a single pair of rate equations. In order to extend this formalism to weighted networks, we discretise P(w) and assume only n possible weight types w_{ j }, such that all distinct weights in the network are contained in the weight vector w = (w_{1}, …, w_{ n })^{T}. Then, a node in class (k, m) has k_{ j } links with weight w_{ j } and m_{ j } = 0, …, k_{ j } infected neighbours across these links, such that \({\rm{k}}={\sum }_{j=1}^{n}{k}_{j}\) and \(m={\sum }_{j=1}^{n}{m}_{j}\). Furthermore, we can define a degree vector k = (k_{1}, …, k_{ n })^{T} and a partial degree vector m = (m_{1}, …, m_{ n })^{T}, generalising the strength and partial strength to q_{ k } = k ⋅ w and q_{ m } = m ⋅ w, respectively. Nodes in class (k, m) have identical strengths and partial strengths, and follow the same pair of rate equations for the fraction s_{k,m}(t) [i_{k,m}(t)] of knodes that are susceptible (infected) at time t and have partial degree vector m (see Methods and SI). Fig. 1a illustrates the case of n = 2, and shows the possible transitions into and out of the class of susceptible nodes with degree vector k = (2, 2) and partial degree vector m = (1, 1).
In threshold driven contagion a susceptible node can become infected in two ways, either spontaneously with rate p, or if its weighted threshold ϕ is reached. As such, the infection rate of susceptible nodes in class (k, m) is
with F_{0,0} = p. The stepwise nature of F_{k,m} allows us to map the rate equations for s_{k,m} and i_{k,m} to a reduceddimension system, as has been done previously for the Watts threshold model^{41,42,44} and unweighted complex contagion^{39,40}. Namely, if we consider as aggregated variables the density ρ(t) of infected nodes and the probability ν_{ j }(t) that a randomly chosen neighbour (across a jtype edge) of a susceptible node is infected (for definitions see Methods), then the description of the dynamics can be reduced to the system of n + 1 equations
where ν = (ν_{1}, …, ν_{ n })^{T} is the vector of probabilities ν_{ j } for all weight types, and g_{ j }(ν, t) and h(ν, t) are functions of binomial terms (see Methods and SI).
Regular networks with bimodal weights
To study the dynamics of our model we first consider a simple structure, the configurationmodel kregular network, with k = 7. Edge weights are sampled from a bimodal distribution with n = 2 values, denoted strong (w_{1}) and weak (w_{2}). The weight distribution is characterised by its average μ, standard deviation σ ≥ 0, and the fraction δ of links that are strong. Thus, weights take the values \({w}_{1}=\mu +\sigma \sqrt{\mathrm{(1}\delta )/\delta }\) and \({w}_{2}=\mu \sigma \sqrt{\delta /\mathrm{(1}\delta )}\). The parameter δ contributes to the skewness of P(w), initially fixed to the symmetric case δ = 0.5. The parameter σ interpolates weight heterogeneity between the homogeneous case of an unweighted network (σ = 0), and the most heterogeneous case of a diluted network (\(\sigma =\mu \sqrt{\mathrm{(1}\delta )/\delta }\)), where only strong links have influence and the weak are functionally absent. After fixing the spontaneous infection rate p and skewness δ, our model has only two parameters, σ and ϕ (Fig. 1b). Similar to other dynamical cascade models^{39,40}, contagion initially evolves at a linear rate until the density ρ(t) of infected nodes reaches a critical value, triggering a rapid cascade of infection that spreads through the whole network (sample scenarios in Fig. 1c,d). Thus, to characterise the speed of dynamics we introduce the quantity t_{ a }, the time when infection density reaches a set value (ρ = 0.75), called the absolute time of cascade emergence. We measure t_{ a } via numerical simulations of the (σ, ϕ)parameter space (Fig. 1b), which shows unexpected dependencies on both parameters. On one hand, for fixed σ and increasing ϕ the dynamics slows down, since nodes with higher thresholds require more infected neighbours to become infected. On the other, for fixed ϕ the dynamics depends nonmonotonously on σ, where cascades may evolve either faster or slower as we increase weight heterogeneity, relative to the unweighted case (σ = 0). Note that similar behaviour is exhibited after setting p = 0 and introducing an initial seed, although in the following we use the dynamic variant of the Watts model, where p > 0.
We concentrate on the σ dependency by calculating \({t}_{r}=[{t}_{a}\mathrm{(0},\varphi ){t}_{a}(\sigma ,\varphi )]/{t}_{a}\mathrm{(0},\varphi )\), the time of cascade emergence relative to the unweighted case with the same ϕ value. (Fig. 2a). The relative time t_{ r } will be positive if the weighted process evolves faster than the unweighted case, zero if they evolve at the same speed, and negative if slower than the unweighted case. The (σ, ϕ)parameter space for t_{ r } is highly structured and driven by competing effects of key (k,m) classes, which either reduce or enhance the speed of the spreading process as compared to the unweighted case. We also explore the corresponding numerical solution of the AME systems in Eq. 2, as well as an independent combinatorial solution for the boundaries between regions of low and high cascade speed (Fig. 2b,c) (see Methods and SI). Both the AME and combinatorial solutions perfectly recover the parameter space obtained by simulations. To further explore how weight heterogeneities produce slow or fast cascades, we partition the system according to the number m of infected neighbours required for infection, and measure the aggregated infection rate \({F}_{k,m}(t)={\sum }_{{\bf{k}},{\bf{m}}}P({\bf{k}}){F}_{{\bf{k}},{\bf{m}}}{s}_{{\bf{k}},{\bf{m}}}(t)/{\sum }_{{\bf{k}},{\bf{m}}}P({\bf{k}}){s}_{{\bf{k}},{\bf{m}}}(t)\) and other determinant quantities in several spreading scenarios (Fig. 2d,e).
In the neutral scenario, all (k, m) classes of the weighted network share the same dynamics as the corresponding (k, m) class in an unweighted network, so F_{k,m} = p or 1 and weights have no impact on contagion, meaning t_{ r } = 0. In a decelerative scenario like ϕ = 0.25 and σ = 0.3 (Fig. 2d), F_{k,m} for any m is equal to its unweighted counterpart, except for the m = 2 class. Here, the adoption rate is 1 in the unweighted case but strongly suppressed in the weighted case, thus decreasing the overall spreading speed. For an accelerative scenario, like ϕ = 0.25 and σ = 0.7, competing effects from several (k, m) classes combine to determine the overall dynamics (Fig. 2e). The rate F_{k,m} for m = 2, …, 4 is lower than 1 which is a decelerative effect (as in the previous case), but the rate F_{k,1}, which is equal to p in the unweighted case, is significantly larger than p here. Since at the early stages of contagion the number of nodes in class m = 1 is larger than in any other class with m > 1, spreading evolves rapidly to an early cascade. It should be noted that competition between the accelerative and decelerative effects of the weight distribution is one of the defining characteristics of threshold driven contagion on weighted networks. It is this competition that leads to the interference patterns evident in Fig. 2a.
Furthermore, an asymmetry is observed to emerge in the fractions of weak and strong links connecting infected [E^{II}(t)] or susceptible and infected [E^{SI}(t)] nodes (see Methods). Since strong ties contribute the most to reaching the threshold of a node, they participate earlier in the contagion and comprise most ties in the infected subgraph. Conversely, weak ties dominate the surface of the cascade by connecting infected and susceptible nodes. This asymmetry in edge types is an essential feature of weighted contagion that is trivially absent in the unweighted case. This asymmetry appears in cases of both accelerated and decelerated spreading, with amplitude dependent on the absolute value of the relative time of contagion. Note that results from simulations (symbols in Fig. 2d and e) and AMEs (lines in Fig. 2d and e) agree very well, for all quantities studied.
Up until now we have considered the symmetric case δ = 0.5 with equal numbers of strong and weak links. However, by skewing the weight distribution we observe an additional effect of weight heterogeneities on the spreading behaviour. When δ = 0.2 the extent of the cascade decreases for large σ with respect to the unweighted case (Fig. 3a). In this case, despite their sparsity, strong links again drive the contagion, but are soon exhausted causing spreading to slow down and continue via spontaneous or infrequent threshold driven infections over weak ties (Fig. 3b). Indeed, strong links dominate the bulk of the infected component, but disappear quickly from its surface (Fig. 3c). These socalled partial cascades, which do not infect the whole system through the cascade, are associated with skewness and a sufficiently large standard deviation in the weight distribution and are reminiscent of the slow spreading caused by immune nodes, as well as low connectivity networks in unweighted complex contagion^{30,39,40}. Overall, we identify nonmonotonous spreading behaviour and partial cascades as the main consequences of weight heterogeneities in threshold driven contagion.
Heterogeneous synthetic and real networks
Although regular networks and bimodal weights are useful in characterising the qualitative impact of weights on contagion, they are rather unrealistic since real complex networks commonly appear with broad degree and weight distributions^{3}. Thus, in the following we explore how threshold driven contagion is influenced by weights using simulations in heterogeneous synthetic and real weighted networks (Fig. 4). We expect degree heterogeneities to affect threshold driven processes since thresholds are defined relative to the degree (or strength) of nodes. As a first step we take synthetic scalefree networks from the configuration model with degree distribution \(P(k)\sim {k}^{\tau }\) and exponent τ = 2.5, but maintain a bimodal weight distribution with μ = 1 and δ = 0.5 as in the previous section (Fig. 4a). The increased number of (k, m) classes (due to degree heterogeneity) fragments the (σ, ϕ)parameter space for t_{ r }, but its structure still reveals areas of slow and fast cascades and can be explained by the same arguments used for the kregular case. Real world examples of this synthetic structure are signed social networks, like the network of Wikipedia editors^{45}, where degrees are broadly distributed and edge signs indicate the parity (or binary weight) of a social interaction like trust, intimacy, or influence. We also simulate our threshold model over the Wikipedia social network by associating + and − tie signs with strong (w_{1}) and weak (w_{2}) links, thus obtaining a weighted network with δ = 0.88 and arbitrary σ (Fig. 4d) (see Methods). Despite complex structural correlations potentially present in the real data, the Wikipedia (σ, ϕ)parameter space is qualitatively similar to the case of a synthetic scalefree degree distribution, although these correlations and the high δ value transform the areas of relative acceleration and deceleration. To further validate these observations, we have also analysed configurationmodel random networks and another empirical signed network, the Pardus dataset^{20} (see SI).
As with degree heterogeneities, weights in empirical networks are broadly distributed and approximated by scalefree or lognormal distributions, which we address by exploring the threshold model on kregular networks (k = 7) and a lognormal weight distribution with average μ = 1 (Fig. 4b). Even though all nodes have the same degree, diversity of weight values increases the number of (k, m) classes, smoothing out the (σ, ϕ)parameter space with respect to the bimodal case but qualitatively maintaining its nonmonotonous patterns of slow and fast cascades. The standard deviation σ controls the skewness of the weight distribution and determines the temporal evolution of contagion, promoting partial cascades for large σ (Fig. 4c). Finally, we consider threshold driven contagion in a large empirical weighted social network, an aggregated mobile phone call (MPC) network, where weights are proportional to the number of calls between individuals (Fig. 4e) (see Methods). This network has broad degree and weight distributions^{9}, communities, degree correlations and Granovettertype degreeweight correlations^{46}. Despite this added complexity, the (σ, ϕ)parameter space of the MPC network is qualitatively similar to previous cases, apart from the magnitude of the decelerative effect when weights are strongly heterogeneous. As before, skewness in the weight distribution temporally inhibits contagion and induces partial cascades (Fig. 4f). Our datadriven simulations show that, even in empirical networks of vastly different origins, threshold driven contagion strongly depends on link weights via simple mechanisms that can be understood by master equations or combinatorial arguments. This dependence may be responsible for the diverse dynamical scenarios of threshold driven contagion observed in nature, like the diffusion of information in technosocial networks, which typically reaches a limited population, but can occasionally unfold globally through slow or fast cascades of adoption.
Discussion
In complex networks, weights quantify the strength of interactions between nodes and distinguish neighbours by their relevance or influence. Threshold driven contagion in empirical settings is particularly sensitive to link weights, since influence between connected nodes may vary enormously, thus changing the temporal pattern of global spreading. Examples of realworld threshold driven processes over weighted networks can be found in epidemiology, where contagion is enabled by direct human interactions that occur at varying frequencies throughout the population^{26}. In the case of social contagion, like the spreading of information, service or product adoption, participation in collective movements, or the adoption of behavioural patterns, heterogeneities in social tie strengths are relevant as they may reflect the strength of influence of people on each other^{7,19,22,46}. In neural systems, the synaptic weight (a function of several variables) may vary heterogeneously between connected neurons and even in time due to synaptic plasticity^{34,47}. Despite this broad set of realworld examples, threshold driven contagion has mostly only been studied over unweighted networks where links are considered equal.
Our aim in this paper has been to address this shortfall by systematically studying a threshold model on synthetic and empirical weighted networks. We explore networks with increasing complexity, from configurationmodel networks with bimodal or lognormal weights, to real world networks with broad degree and weight distributions as well as multiple correlations. We show that threshold driven contagion depends nonmonotonously on weight heterogeneity, creating slow or fast cascades relative to the equivalent unweighted spreading process. Via numerical simulations, master equations and combinatorial arguments, we find that this effect is the result of competing configurations of degree, weight, and infected neighbours that slow down or speed up contagion. We also observe that an imbalance in the amount of large and small weights leads to partial cascades, and smoother temporal patterns of spreading than those in unweighted networks. By analysing a range of degree and weight configurations, we show that these features are systemic and thus may drive a variety of real world contagion phenomena.
Our contribution opens up directions of research in the largely unexplored area of dynamical processes with heterogeneous interactions. First, the weightbased, master equation formalism described here can be modified to consider any interaction quality like direction and type, thus providing analytical tools to characterise threshold driven contagion in temporal and multiplex networks^{48,49}. The master equation formalism also provides means of studying the cascadesize phase space^{30}, where one might expect a nonmonotonic dependence of cascade size on weight heterogeneity, an effect observed in ref.^{50} due to threshold heterogeneity. In addition, although the effects of initial seed size on the emerging cascades have been addressed earlier^{51}, it has never been studied on weighted structures, and may prove an interesting direction to explore. Second, our methodology may be used to describe any binarystate dynamics and thus a broad class of empirical processes over weighted networks. We expect our results to find meaningful applications in fields where threshold driven contagion is relevant, like computational epidemiology, neural networks, and social contagion. In these fields our modelling framework, which distinguishes the varied roles and influence of links, may lead to advances in the understanding and prediction of specific temporal features of global pandemics, collective neural firing, or the adoption of innovations and behavioural norms.
Methods
Numerical implementation
We implement weighted complex contagion numerically via Monte Carlo simulations of a monotone binarystate dynamics. Node states change from susceptible to infected in asynchronous random order in a series of time steps. Once a node state changes from susceptible to infected, it remains so for the rest of the dynamics, thus ensuring a frozen final state for the finite system where no more state changes take place. Each time step consists of N node updates. In each node update, a randomly selected node becomes spontaneously infected with probability p, or else it adopts only if the weighted threshold rule q_{ m } ≥ ϕq_{ k } is satisfied (see Eq. 1). This is the case if the selected node is susceptible; if the node is infected, no action is taken. We assume that nodes with k = 0 receive no influence from the rest of the network (for any value of ϕ), and therefore can only change state spontaneously. Regarding synthetic networks, we only consider configurationmodel networks^{52} with an uncorrelated distribution of edge weights on top of them, i.e. an ensemble of networks specified by the distributions P(k) and P(w), but otherwise maximally random. Thus, the distributions P(k) and P(w) (together with p) determine the average topological state and dynamical evolution of the system.
AMEs in weighted networks
The dynamics of our threshold model evolves in small time intervals dt. Accordingly, the rate equations for the fractions s_{k,m}(t) [i_{k,m}(t)] of knodes that are susceptible (infected) at time t and have partial degree vector m are
where F_{k,m} is the rate of infection of susceptible nodes in class (k, m), and the other terms quantify the rates at which susceptible nodes leave and enter the class (k, m) via the infection of susceptible neighbours. The jth basis vector of dimension n is denoted by e_{ j } (\({s}_{{\bf{k}},{{\bf{e}}}_{j}}\equiv 0\)), while \({\beta }_{j}^{s}(t)\) [\({\beta }_{j}^{i}(t)\)] is the rate at which a jtype susceptible neighbour of a susceptible (infected) node becomes infected (see Fig. 1a). The AME system (2) applies to all monotone binarystate dynamics over edgeheterogeneous networks, regardless of the form of F_{k,m}, and its solution provides a very accurate description of the dynamics, even if the number of equations to solve grows rapidly with n. Moreover, variables in Eq. (3) satisfy the normalisation condition
If k is distributed according to P(k), the probability that a randomly selected node has degree k and degree vector k is P(k)P(k). Then, the rates \({\beta }_{j}^{s}(t)\) and \({\beta }_{j}^{i}(t)\) are
and
where the sum over all degrees, strength and partial strength vectors is written explicitly as
The second sum runs over all strength vectors k = (k_{1}, …, k_{ n })^{T} satisfying the constraint \(k={\sum }_{j=1}^{n}{k}_{j}\).
Aggregated variables and the reduced AMEs
Variables in Eq. (2) are the fraction of infected nodes in the system,
and the probability that a randomly chosen neighbour (across a jtype edge) of a susceptible node is infected,
Also, Eq. (2) includes the functions of binomial terms
with f_{ t } = 1−(1 − p)e^{−pt}, z_{ j } the average number of jtype edges of a node, and \({B}_{{k}_{j},{m}_{j}}=(\genfrac{}{}{0ex}{}{{k}_{j}}{{m}_{j}}){\rho }^{{m}_{j}}{(1\rho )}^{{k}_{j}{m}_{j}}\) the binomial distribution.
Initial conditions
We assume that at time t = 0 there is an infinitesimally small fraction of infected nodes randomly distributed in the network, so the initial condition for Eq. (3) is
In the reduced AMEs, Eq. (10) corresponds to [ν(0), ρ(0)] = (0, 0).
Combinatorial solution of parameter space boundaries
Taking the equality in the threshold rule, Eq. 1, and writing q_{ k }, q_{ m } explicitly, we obtain ϕ = m ⋅ w/k ⋅ w, where w implicitly depends on σ. After solving this equation for a given k and m, we associate the solution with a boundary line of t_{ r } values in (σ,ϕ)parameter space (Fig. 2b,c). These boundaries separate network configurations where the corresponding (k, m) class does or does not satisfy the threshold rule. For example, the boundary k = (3, 4), m = (1,0) (Fig. 2c) separates networks where nodes with k_{1} = 3 strong links and k_{2} = 4 weak links may be infected by only m_{1} = 1 strong infected neighbour. If two networks differ only in the rate of infection of nodes in this (k, m) class (so that one is eligible for infection and not the other), we observe a difference in spreading time (for details see SI).
Bulk and interface of the contagion cluster
We characterise the effect of weights in threshold driven contagion by measuring how many jtype links, 1 ≤ j ≤ n, are on the bulk and at the surface of cascades. Explicitly, we compute the fraction of jtype links per node, connecting two infected nodes (the cascade bulk),
and susceptible and infected nodes (cascade surface),
such that ∑_{ j }E^{II} = ∑_{ j }E^{SI} = 1. Now if P(w) is bimodal (n = 2), then \({E}_{1}^{SI}+{E}_{2}^{SI}=1\), \({E}_{1}^{II}+{E}_{2}^{II}=1\), and we may remove the index j (Figs 2d,e and 3c). The quantities \({E}_{j}^{II}\) and \({E}_{j}^{SI}\) diverge from 1/2 with amplitude dependent on the absolute difference of the speed from the dynamics on unweighted networks (σ = 0) where \({E}_{j}^{II}={E}_{j}^{SI}=1/2\).
Data description
We perform datadriven simulations of our threshold model in two largescale, empirical social networks. The first is a network of N = 138,592 English Wikipedia editors contributing to articles about politics. Each of the 740,397 directed links (defining an edit, revert, restore, or vote action in an article) has a sign (±), interpreted as the parity of trust between connected editors (for free access online and details see ref.^{45}). In our study we remove selfloops and assume bidirectional links appear as undirected links with their original sign (if they shared the same sign), while choosing a sign randomly in the case where they appear with different signs (such edges only form 0.96% of the network, so their effect is not significant). Unidirectional links are also regarded as undirected with their original sign. Finally, we associate + and − tie signs to strong (w_{1}) and weak (w_{2}) links. The network has a broad degree distribution, a fraction δ = 0.88 of strong links and average weight μ = 2.7.
The second data set is an aggregated, static social network of N = 6,243,322 individuals connected by 16,783,865 undirected links with weights defined as the number of phone calls between people in an observation period of 6 months (a link exists if people have mutually called each other at least once). All individuals are customers of a single phone provider with 20% market share in an undisclosed European country. Degree and weight distributions are broad and can be approximated by powerlaw and lognormal distributions, respectively (for details see ref.^{9}). Since for the MPC network P(w) is fixed, we introduce a method to scale σ without changing the shape of the distribution, described as follows. We first assume that the MPC network has a weight set W = {w_{1}, …, w_{E}}, where w_{ i } is the weight of the ith edge, and E is the number of edges in the network. This set has mean and variance
Now we consider a new weight set W′ = {μ + α(w_{1} − μ), …, μ + α(w_{E}_{} − μ)}, where we have applied the transformation \({w}_{i}^{\prime} =\mu +\alpha ({w}_{i}\mu )\), i = 1, …, E, and 0 ≤ α ≤ 1 is a tuning parameter. The limits of this transformation give a Dirac delta distribution (α = 0) or P(w) (α = 1). Substituting \({w}_{i}^{\prime} \) into the expression for σ, we see that the mean and standard deviation of the transformed weight set are μ′ = μ and σ′ = ασ. Then, we may obtain a new weight distribution retaining the shape of P(w) by applying the transformation \({w}_{i}\mapsto {w}_{i}^{\prime} \). If σ′ is the desired standard deviation, the required tuning parameter is α = σ′/σ.
Data availability statement
The Wikipedia network data we used in Fig. 4d is freely available online at^{45}. The mobile call data used in Fig. 4e and f are available from an undisclosed mobile operator but restrictions apply to the availability of these data, which were used under license for the current study, and so are not publicly available. Data may however be available from the authors upon reasonable request and with permission of the provider.
References
Horvath, S. Weighted network analysis: applications in genomics and systems biology (Springer Science & Business Media, 2011).
Luczkovich, J. J., Borgatti, S. P., Johnson, J. C. & Everett, M. G. Defining and measuring trophic role similarity in food webs using regular equivalence. J. Theor. Biol. 220, 303–321 (2003).
Barrat, A., Barthelemy, M., PastorSatorras, R. & Vespignani, A. The architecture of complex weighted networks. Proc. Natl. Acad. Sci. USA 101, 3747–3752 (2004).
PastorSatorras, R. & Vespignani, A. Evolution and structure of the internet: A statistical physics approach (2007).
Yang, R., Wang, W.X., Lai, Y.C. & Chen, G. Optimal weighting scheme for suppressing cascades and traffic congestion in complex networks. Phys. Rev. E 79, 026112 (2009).
Granovetter, M. S. The strength of weak ties. Am. J. Sociol. 78, 1360–1380 (1973).
Centola, D. & Macy, M. Complex contagions and the weakness of long ties. Am. J. Sociol. 113, 702–734 (2007).
Wasserman, S. & Faust, K. Social network analysis: Methods and applications, vol. 8 (Cambridge university press, 1994).
Onnela, J.P. et al. Analysis of a largescale weighted network of onetoone human communication. New J. Phys. 9, 179 (2007).
Hidalgo, C. A., Klinger, B., Barabási, A.L. & Hausmann, R. The product space conditions the development of nations. Science 317, 482–487 (2007).
Amini, H., Cont, R. & Minca, A. Resilience to contagion in financial networks. Math. Financ. 26, 329–365 (2016).
Newman, M. E. J. Analysis of weighted networks. Phys. Rev. E 70, 056131 (2004).
Wang, W.X., Wang, B.H., Hu, B., Yan, G. & Ou, Q. General dynamics of topology and traffic on weighted technological networks. Phys. Rev. Lett. 94, 188702 (2005).
Serrano, M. Á., Boguña, M. & Vespignani, A. Extracting the multiscale backbone of complex weighted networks. Proc. Natl. Acad. Sci. USA 106, 6483–6488 (2009).
Opsahl, T. & Panzarasa, P. Clustering in weighted networks. Soc. Networks 31, 155–163 (2009).
Opsahl, T., Agneessens, F. & Skvoretz, J. Node centrality in weighted networks: Generalizing degree and shortest paths. Soc. Networks 32, 245–251 (2010).
Barrat, A., Barthélemy, M. & Vespignani, A. Weighted evolving networks: Coupling topology and weight dynamics. Phys. Rev. Lett. 92, 228701 (2004).
Yook, S. H., Jeong, H., Barabási, A.L. & Tu, Y. Weighted evolving networks. Phys. Rev. Lett. 86, 5835–5838 (2001).
Onnela, J. P. et al. Structure and tie strengths in mobile communication networks. Proc. Natl. Acad. Sci. USA 104, 7332–7336 (2007).
Szell, M., Lambiotte, R. & Thurner, S. Multirelational organization of largescale social networks in an online world. Proc. Natl. Acad. Sci. USA 107, 13636–13641 (2010).
Saramäki, J. et al. Persistence of social signatures in human communication. Proc. Natl. Acad. Sci. USA 111, 942–947 (2014).
Zhu, Y.X., Wang, W., Tang, M. & Ahn, Y.Y. Social contagions on weighted networks. Phys. Rev. E 96, 012306 (2017).
Jensen, H. J. Selforganized criticality: emergent complex behavior in physical and biological systems, vol. 10 (Cambridge university press, 1998).
Corral, Á., Pérez, C. J., DazGuilera, A. & Arenas, A. Selforganized criticality and synchronization in a lattice model of integrateandfire oscillators. Phys. Rev. Lett. 74, 118 (1995).
Bak, P. & Sneppen, K. Punctuated equilibrium and criticality in a simple model of evolution. Phys. Rev. Lett. 71, 4083–4086 (1993).
Joh, R. I., Wang, H., Weiss, H. & Weitz, J. S. Dynamics of indirectly transmitted infectious diseases with immunological threshold. Bull. Math. Biol. 71, 845–862 (2009).
Koch, C. & Segev, I. Methods in neuronal modeling: from ions to networks (MIT press, 1998).
Stein, R. B. Some models of neuronal variability. Biophys. J. 7, 37–68 (1967).
Gerstner, W., Kistler, W. M., Naud, R. & Paninski, L. Neuronal dynamics: From single neurons to networks and models of cognition (Cambridge University Press, 2014).
Watts, D. J. A simple model of global cascades on random networks. Proc. Natl. Acad. Sci. USA 99, 5766–5771 (2002).
Herz, A. V. M. & Hopfield, J. J. Earthquake cycles and neural reverberations: Collective oscillations in systems with pulsecoupled threshold elements. Phys. Rev. Lett. 75, 1222–1225 (1995).
Boffetta, G., Carbone, V., Giuliani, P., Veltri, P. & Vulpiani, A. Power laws in solar flares: selforganized criticality or turbulence? Phys. Rev. Lett. 83, 4662 (1999).
Charbonneau, P., McIntosh, S. W., Liu, H.L. & Bogdan, T. J. Avalanche models for solar flares (invited review). Sol. Phys. 203, 321–353 (2001).
Iyer, R., Menon, V., Buice, M., Koch, C. & Mihalas, S. The influence of synaptic weight distribution on neuronal population dynamics. PLoS Comput. Biol. 9, e1003248 (2013).
Kempe, D., Kleinberg, J. & Tardos, É. Maximizing the spread of influence through a social network. In Proceedings of the ninth ACM SIGKDD international conference on Knowledge discovery and data mining, 137–146 (ACM, 2003).
Hurd, T. R. & Gleeson, J. P. On Watts’ cascade model with random link weights. J. Complex Netw. 1, 25–43 (2013).
Cox, S., Horadam, K. & Rao, A. The spread of ideas in a weighted threshold network. In Complex Networks & Their Applications V: Proceedings of the 5th International Workshop on Complex Networks and their Applications (COMPLEX NETWORKS 2016), vol. 693, 437 (Springer, 2016).
Singh, P., Sreenivasan, S., Szymanski, B. K. & Korniss, G. Thresholdlimited spreading in social networks with multiple initiators. Sci. Rep. 3, 2330 (2013).
Ruan, Z., Iñiguez, G., Karsai, M. & Kertész, J. Kinetics of social contagion. Phys. Rev. Lett. 115, 218702 (2015).
Karsai, M., Iñiguez, G., Kikas, R., Kaski, K. & Kertész, J. Local cascades induced global contagion: How heterogeneous thresholds, exogenous effects, and unconcerned behaviour govern online adoption spreading. Sci. Rep. 6, 27178 (2016).
Porter, M. A. & Gleeson, J. P. Dynamical systems on networks. Frontiers in Applied Dynamical Systems: Reviews and Tutorials 4 (2016).
Gleeson, J. P. Binarystate dynamics on complex networks: Pair approximation and beyond. Phys. Rev. X 3, 021004 (2013).
Gleeson, J. P. Cascades on correlated and modular random networks. Phys. Rev. E 77, 046117 (2008).
Gleeson, J. P. Highaccuracy approximation of binarystate dynamics on networks. Phys. Rev. Lett. 107, 068701 (2011).
Wikisigned network. http://konect.unikoblenz.de/networks/wikisignedk2. Accessed: 20170607.
Granovetter, M. S. The Strength of Weak Ties. Am. J. Sociol. 78, 1360–1380 (1973).
Gerrow, K. & Triller, A. Synaptic stability and plasticity in a floating world. Curr. Opin. Neurobiol. 20, 631–639 (2010).
Zhuang, Y., Arenas, A. & Yağan, O. Clustering determines the dynamics of complex contagions in multiplex networks. Phys. Rev. E 95, 012312 (2017).
Holme, P. & Saramäki, J. TemporalNetworks. Phys. Rep. 519, 97–125 (2012).
Karampourniotis, P. D., Sreenivasan, S., Szymanski, B. K. & Korniss, G. The impact of heterogeneous thresholds on social contagion with multiple initiators. PLoS ONE 10(11), e0143020 (2015).
Gleeson, J. P. & Cahalane, D. J. Seed size strongly affects cascades on random networks. Phys. Rev. E 75, 056103 (2007).
Newman, M. E. J. Networks: An Introduction (Oxford University Press, New York, 2010).
Acknowledgements
The authors gratefully acknowledge support from the SoSweet ANR project (ANR15CE38001103), and G.I. a Visiting Fellowship from the Aalto Science Institute. They are very thankful for stimulating discussions with C. Droin, J. Kertész, to A.L. Barabási for the mobile phone call dataset and to M. Szell for the Pardus dataset.
Author information
Authors and Affiliations
Contributions
S.U., G.I., and M.K. designed the research and participated in writing the manuscript. S.U. derived the edgeheterogeneous approximate master equations, and G.I. derived the reduced dimension system. S.U. performed numerical experiments.
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
Unicomb, S., Iñiguez, G. & Karsai, M. Threshold driven contagion on weighted networks. Sci Rep 8, 3094 (2018). https://doi.org/10.1038/s41598018212619
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598018212619
This article is cited by

Universal patterns in egocentric communication networks
Nature Communications (2023)

Measuring the effects of repeated and diversified influence mechanism for information adoption on Twitter
Social Network Analysis and Mining (2022)

Dynamics of cascades on burstinesscontrolled temporal networks
Nature Communications (2021)

Influence Maximization for Fixed Heterogeneous Thresholds
Scientific Reports (2019)

Stationary lognormal distribution of weights stems from spontaneous ordering in adaptive node networks
Scientific Reports (2018)
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.