- Introduced by
- Kermack & McKendrick (SIR/SIS, 1927); Kempe, Kleinberg & Tardos (Independent Cascade, 2003)
- Year
- 1927 (epidemiological compartmental); 2003 (social influence cascade)
- Type
- Stochastic / deterministic simulation on graphs
What does it do?
Network diffusion models are compartmental and probabilistic frameworks that simulate how information, disease, or innovation spreads across a connected system.
The SIR framework traces to Kermack and McKendrick (1927), whose paper treats infected individuals as removed by recovery or death and conferring complete immunity after a single infection. Variants such as SIS, in which recovered nodes return to susceptibility, are not covered by that paper. Kempe, Kleinberg, and Tardos (2003) studied influence spread in social networks under models including Independent Cascade and Linear Threshold, where activation propagates through the network one neighbour at a time.
The intuition behind the method
Think of a rumour spreading through a school. When one student hears it they may pass it to each friend with some probability, friends who have already heard it do not need to hear it again, and eventually the rumour either reaches everyone or dies out. Network diffusion models formalise this process: each node occupies a state (susceptible, infected, recovered, or active/inactive in influence models), and at each time step a spreading node may pass the signal to its neighbours according to a transmission probability. In SIR-type models a recovered node leaves the spreading pool and cannot be reinfected, whereas in SIS models it returns to susceptible. The structure of the network, meaning who is connected to whom, shapes the outcome as much as the transmission rate does.
History
Kermack and McKendrick's 1927 paper introduced a contagion model in which infected individuals are removed by recovery or death, with complete immunity conferred by a single infection; this removal-based framework underlies the SIR family. Their analysis assumed a population that remains essentially constant and is initially equally susceptible, and it is formulated for a community as a whole rather than on an explicit contact network. The stochastic, network-based simulations described on this page are later extensions of that framework. Kempe, Kleinberg, and Tardos (2003) brought the problem of spreading influence through a social network into algorithmic social network analysis, formulating influence maximisation and proving approximation guarantees for a greedy seed-selection strategy.
When to use it
Choose network diffusion models when you have a relational dataset, or can construct a plausible network, and want to explain or forecast how a state such as disease, information, behaviour, or innovation propagates across it. They fit questions about how contact structure, seeding strategy, or an intervention affects spread, where outcomes are node states or activation counts over time. Transmission and recovery rates, or activation probabilities, must be estimable from data or calibrated from the literature; otherwise results depend mainly on assumed values and a sensitivity analysis is essential. Do not use them when no relational structure exists or only aggregate data are available, since compartmental ODE models without a graph layer are simpler. Very small networks, where stochastic fluctuation dominates, are also a poor fit.
Limitations and considerations
- Requires a network structure; building a valid graph from survey or log data introduces its own measurement error, which propagates into the simulated outcome.
- Mean-field (homogeneous mixing) approximations assume contacts are effectively uniform, which is often violated in real contact networks; full network simulation is more faithful but more computationally demanding.
- Transmission and recovery rates (τ, γ) are hard to estimate from observational data and usually need calibration or Bayesian inference.
- Stochastic outputs require many Monte Carlo repetitions before summary statistics stabilise, which increases run time as networks grow.
- On networks with strong degree heterogeneity, such as scale-free graphs, the mean-field epidemic threshold can misstate whether spread occurs, so threshold claims need network-level simulation or analysis.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Represents network topology explicitly, so highly connected nodes can accelerate spread in ways that an aggregate, homogeneously mixed model would not capture.
- One framework covers both disease-like contagion (SIR, SIS) and social influence processes (Independent Cascade, Linear Threshold).
- Repeated stochastic runs yield distributions of outcomes such as peak infection size and final activation fraction, rather than a single trajectory.
- The influence-maximisation framing of Kempe et al. (2003) links diffusion to seed selection: their experiments on large collaboration networks found that their greedy approximation significantly outperformed heuristics based on degree and distance centrality, and that the greedy strategy is provably within 63% of optimal for several model classes.
Applications
- Modelling the spread of infectious diseases (influenza, COVID-19) through contact networks to evaluate intervention strategies such as vaccination or quarantine.
- Viral marketing and product adoption — identifying seed users whose activation maximises the spread of information or product uptake through a social network.
- Misinformation and rumour spreading — understanding how false information diffuses on social platforms and where targeted corrections have the highest impact.
- Innovation diffusion in organisational and policy networks — forecasting how a new technology or practice propagates through a professional community.
- Computational epidemiology for public health planning — simulating outbreak trajectories under different contact-rate or vaccination scenarios.
How it works
How it works
The system is represented as a graph in which nodes are agents (people, web pages, devices) and edges encode contacts or social ties. The graph may be empirical, derived from observed data, or synthetic, generated by a growth or random-graph model. Edge weights can encode transmission probabilities. Very small graphs can be dominated by stochastic fluctuation, in which case descriptive network statistics may be more informative than a simulation.
The analyst selects the diffusion family that matches the research question. SIR (Susceptible–Infected–Recovered) suits irreversible processes with genuine removal or immunity, such as epidemics, because once a node recovers it cannot be reinfected. SIS (Susceptible–Infected–Susceptible) suits endemic or recurring phenomena, such as rumour re-exposure, where nodes can cycle back to susceptible. Independent Cascade and Linear Threshold models suit social influence problems, including the diffusion of innovations and new products, where each node activates at most once and the focus is on the final reach of a seed set.
Each model needs a small number of parameters grounded in data or the literature: the transmission rate τ (probability of spreading per contact per time step), the recovery rate γ (for SIR/SIS), and a seed set of initially infected or active nodes. In the homogeneous mean-field form, R₀ depends on the mean number of contacts per unit time as well as on τ and γ. Because τ is defined per contact, the ratio τ/γ alone is not R₀ and does not give the epidemic threshold. R₀ > 1 indicates conditions under which a large outbreak is possible. On a network, the threshold also depends on the contact structure. For the Independent Cascade model, each directed edge carries its own activation probability, which is tried once when the source node becomes active. In the Linear Threshold model, each node carries a threshold and becomes active once the weighted share of its active in-neighbours reaches that threshold; thresholds are commonly fixed or drawn at random. The homogeneous mixing assumption simplifies mean-field analysis but can be relaxed by running full network simulations.
Because outcomes are stochastic, the model is run many times (Monte Carlo repetition) with the same parameters and the results are averaged. Each run steps through time: at each tick every infected node attempts to transmit to each susceptible neighbour, and infected nodes recover with probability γ. The primary outputs are time series of compartment sizes (S(t), I(t), R(t)), the peak infection count, the time to peak, and, for influence models, the final fraction of activated nodes. For mean-field SIR the dynamics can also be solved as a system of ordinary differential equations.
Results are read against the research question: whether R₀ is above the epidemic threshold, which nodes chosen as seeds maximise total spread, and how sensitive the outcome is to changes in τ or γ. Comparing network topologies (random, scale-free, small-world) shows how structural assumptions drive conclusions. The analyst should state whether results come from a deterministic mean-field solution or from Monte Carlo averages over stochastic runs, and report the number of repetitions used.
Common pitfalls
- Running the model on a very small graph: with few nodes, stochastic fluctuation can dominate the outcome, so check whether results change across repetitions before interpreting them.
- Applying a mean-field (homogeneous mixing) approximation to a strongly heterogeneous network such as a scale-free graph, where variation in node degree drives spread; use full network simulation instead.
- Ignoring the sensitivity of results to the seed set: the choice of initially infected nodes can change peak infection size dramatically, so always report the seeding strategy.
- Treating a single stochastic run as the result; average over repetitions and report variance or confidence intervals.
- Conflating SIR and SIS: use SIR when recovery confers removal or immunity (for example, many infectious diseases), and SIS when nodes can be re-infected or re-exposed (rumours, seasonal illness). Adoption or influence questions are better handled with Independent Cascade or Linear Threshold than with SIR.
- Reading τ/γ as the epidemic threshold on a network: that ratio is not R₀ on its own, and network structure changes the threshold.
Frequently asked questions
When should I use SIR versus SIS versus Independent Cascade?
Use SIR when recovery confers lasting immunity, as in many infectious diseases, so that a node cannot return to susceptible after recovering. Use SIS when the condition is recurring or immunity is temporary, such as seasonal illness or rumour re-exposure, where nodes cycle between susceptible and infected indefinitely. Choose Independent Cascade or Linear Threshold when the focus is on social influence, including innovation or product adoption, and a node can become active at most once. These models suit marketing, information spread, or behaviour adoption problems where the goal is to maximise the final number of activated nodes from a chosen seed set.
How many Monte Carlo repetitions are enough?
There is no universal rule. Run enough repetitions for the key metrics (peak infection, final activation fraction) to stabilise, and check this by seeing whether their estimates still change as runs are added. The number needed tends to rise with network size and with outcome variance. Report the number of repetitions and the variance of these metrics so readers can assess stability.
How do I estimate the transmission rate τ from data?
If you have time-stamped case data and a known network, τ can be estimated by fitting the compartmental ODE system to observed curves using least-squares or maximum-likelihood methods, or by Bayesian inference. When no data are available, τ is typically varied in a sensitivity analysis across a plausible range informed by the literature.
Can these models run on weighted or directed networks?
Yes. Edge weights can encode heterogeneous transmission probabilities: a strongly tied pair has a higher τ than a weakly tied pair. Directed edges model asymmetric influence, where node A can infect B but B cannot directly infect A. Both extensions are straightforward to implement in full network simulation, though mean-field approximations become less accurate and often need to be replaced by degree-based heterogeneous mean-field or pair-approximation methods.
Related methods
Sources
Kermack, W.O. & McKendrick, A.G. (1927). A Contribution to the Mathematical Theory of Epidemics. Proceedings of the Royal Society of London. Series A, 115(772), 700-721.
Open DOI referenceKempe, D., Kleinberg, J., & Tardos, E. (2003). Maximizing the Spread of Influence through a Social Network. Proceedings of the Ninth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), 137-146.
Open DOI reference