Manuscript Offprint
arXiv:2610.32502Fast and Scalable Influence Estimation in the Independent Cascade Model: a unified framework
Abstract
Computing diffusion processes on networks is fundamental to applications including influence maximization, epidemic modeling, information propagation, and diffusion inference. The Independent Cascade (IC) model is one of the most widely used models of progressive diffusion, yet exact computation of its activation probabilities is #P-hard, while Monte Carlo simulation becomes costly when accurate diffusion estimates are required repeatedly. Despite its central role in these applications, approximation of the IC diffusion function itself, particularly through analytical methods, has received comparatively little systematic attention relative to the extensive literature on influence-maximization algorithms.
We present a comprehensive study of analytical approximations for the IC model. We review a wide range of existing approaches and unify them through a common framework based on temporal representation, retained propagation information, and aggregation rule. This perspective exposes connections between previously distinct approximation families and motivates several new methods.
We further conduct, to our knowledge, the first large-scale cross-family comparison of analytical IC approximations for node-level marginal activation probabilities. Our benchmark spans real-world and synthetic networks with systematically varied topology, seed-set size, edge-probability model, and diffusion strength. The proposed second-order dynamic message-passing method achieves the lowest pooled median error and the lowest dataset- or graph-family-level median error on every network considered. The results demonstrate substantial and systematic differences between approximation families, identify the regimes in which higher-order corrections are most beneficial, and establish analytical IC approximation as a rich accuracy–efficiency design space rather than a collection of isolated methods.
Keywords: Independent Cascade, Influence Maximization, Cavity Graph
Abbreviations
Table 1: List of abbreviations.
| Abbr. | Meaning | Abbr. | Meaning |
|---|---|---|---|
| IC | Independent Cascade | GIC | Generalized Independent Cascade |
| MC | Monte Carlo | IM | Influence Maximization |
| DMP | Dynamic Message Passing | SWE | Step-Wise Estimation |
| NO | Noisy-OR | ALE | Aggregated Linear Effect |
| IPL | Independent Propagation-Layer | NM | Naive Method |
| SPM | Shortest Path Model | MIA | Maximum Influence Arborescence |
| SSS | Steady State Spread | NBUB | Nonbacktracking Upper Bound |
| BP | Belief Propagation | IRIE | Influence Ranking and Influence Estimation |
| TDA | Tree Distribution Approximation | RMSE | Root Mean Squared Error |
| MAE | Mean Absolute Error | AUC | Area Under the Curve |
Despite its widespread use, exact evaluation of the IC model is computationally intractable; a reduction from st-connectedness shows that computing its influence function is #P-hard [17]. Although exact computation methods exist [18], they are generally computationally practical only on restricted graph classes; for example, bounded-pathwidth graphs admit linear-time exact computation [19]. In general, a standard approach is Monte Carlo (MC) simulation, in which the diffusion process is repeatedly sampled and activation probabilities or expected influence are estimated empirically. Experimental studies commonly use on the order of simulations per seed set to obtain stable estimates [2, 20–22], although substantially larger sample sizes may be required when high precision is needed [23, 24]. More sophisticated sampling schemes can substantially reduce the cost of estimating the total influence of a fixed seed set [25, 26]. However, such methods typically target the scalar expected spread rather than the complete vector of node activation probabilities. This aggregation can obscure important structural information: for example, two diffusion instances may have the same expected spread even if one assigns moderate activation probability to many nodes, while the other concentrates most of the probability on a small number of highly exposed nodes. Such differences are important whenever the identities and relative risks of individual nodes, rather than only the total number expected to activate, are of interest. Moreover, scalability for a single influence query does not directly translate to repeated high-precision marginal-gain evaluations, as required by greedy IM algorithms, particularly when the marginal gain is small relative to the influence already accumulated by the current seed set.
For the sole purpose of solving the canonical IM problem, reverse-reachable-set and sketch-based methods are among the strongest scalable approaches [27, 28]. Their scalability arises partly from avoiding explicit reconstruction of the diffusion process: rather than estimating all node-level activation probabilities, they use sampled reachability structures to approximate the influence objective and optimize the seed set directly. Nevertheless, there is empirical evidence that methods modeling the underlying diffusion dynamics more explicitly can, in some settings, obtain seed sets with greater Monte-Carlo-evaluated influence [29]. These approaches therefore do not eliminate the need for efficient diffusion estimation, particularly in applications where node-level activation probabilities, repeated evaluation under changing diffusion parameters, or differentiability of the estimator are themselves important.
For these reasons, we believe there is considerable value in studying analytical approximations of the IC process. Learning-based diffusion estimators have also shown promising results , but we do not include them in the main comparison because they operate under a substantially different computational setting in which performance depends not only on the specified diffusion instance, but also on the availability and representativeness of training data, the learning architecture, and generalization to unseen graph and diffusion regimes. A direct comparison with sampling-free analytical methods would therefore require a separate experimental protocol. Determining when learned corrections provide sufficient accuracy gains to justify these additional requirements remains an interesting direction for future work.
Despite the large number of analytical IC approximations proposed in the literature, to the best of our knowledge no previous work has compared the major approaches head-to-head across a broad and controlled experimental environment. Existing works frequently evaluate approximations only as components of downstream tasks such as IM, making it difficult to isolate the quality of the diffusion estimator itself. Moreover, standard IM evaluations often employ relatively low edge probabilities, where diffusion is weak and differences between approximation methods can be less pronounced. A controlled comparison across graph topologies and diffusion regimes can therefore reveal behavior that is difficult to observe from downstream IM performance alone.
Our main contributions are:
-
We provide a systematic taxonomy of analytical IC approximation methods in terms of the dependencies and feedback effects they neglect or explicitly model.
-
We develop a unified mathematical formulation that exposes relationships between several existing methods and motivates new approximations.
-
We propose several new analytical approximation methods and extensions, including higher-order cavity approximations. In our held-out evaluation, second-order DMP achieves the lowest estimation error on every tested dataset.
-
We conduct an extensive empirical comparison on synthetic and real-world networks across a broad range of graph structures, seed-set sizes, edge-probability models, and diffusion strengths.
To our knowledge, this work provides the first comprehensive study of analytical approximation methods for the Independent Cascade model. Rather than evaluating a single approximation or a narrowly related family, we systematically organize and compare methods spanning cumulative, step-wise, path-based, linear-propagation, cavity/message-passing, and higher-order formulations. The methods are evaluated under a common experimental protocol for node-level marginal activation probabilities across diverse real-world and synthetic networks, diffusion strengths, seed-set sizes, and edge-probability models.
The remainder of this paper is organized as follows. Section 2 introduces the required formal preliminaries. Section 3 describes representative approximation methods, discusses the principal sources of approximation error, and develops a unified mathematical view. Section 4 presents our new approximation methods, motivated by the unified formalism and the limitations identified in the preceding section. Section 5 describes the experimental protocol and implementation details, and Section 6 presents the resulting empirical analysis. Section 7 discusses the broader implications and limitations of the methods, before Section 8 concludes the paper.
A preliminary version of aspects of this work was presented at the 6th International Symposium on Complex Systems (ISCS 2026) [32]. The present work substantially extends the conference version with additional approximation methods, theoretical analysis, and a broader experimental evaluation.
2 Problem Formulation
In this section we introduce the formalism required to describe diffusion under the Independent Cascade (IC) model. We then define the node-level marginal activation probabilities and expected influence spread that form the main quantities of interest in this work. Finally, we discuss Monte Carlo estimation and briefly introduce the
Influence Maximization (IM) problem, which provides an important application of efficient IC estimation.
2.1 Networks and the Independent Cascade Model
We use standard graph-theoretic notation. Let be a simple directed graph, where is the set of nodes and is the set of directed edges. We use the terms node and vertex, as well as graph and network, interchangeably. Undirected networks are represented as bidirectional graphs, where an undirected edge is represented by the two directed edges and .
For a node , we denote its in- and out-neighborhoods by
When the distinction is unnecessary, we write . Analogously, for a set , we define
When it is useful to make the underlying graph explicit, we use an additional subscript, e.g., .
Under the IC model, every node is in one of two states: active or inactive. Active nodes remain active permanently. Each directed edge is associated with an activation probability
representing the probability with which a newly activated node successfully activates an inactive out-neighbor . We collect these probabilities in the weighted propagation matrix , oriented according to the column-vector convention, where
Consequently,
The diffusion begins from an initially active set , called the seed set. Let denote the set of nodes that become newly active at time , with
At every subsequent time step, each node independently attempts to activate each currently inactive out-neighbor , succeeding with probability . Each edge is therefore given at most one activation attempt during a realization of the process. The process terminates when no new node becomes active and, since every non-terminal step activates at least one previously inactive node, termination occurs after at most propagation steps.
An equivalent and particularly useful formulation of the IC model is given by the live-edge representation. Before the diffusion begins, we independently sample every edge according to
An edge is called live when . One particular realization of the IC process therefore induces a random unweighted subgraph
Given , the diffusion itself becomes deterministic. In particular,
Equivalently,
where
and denotes the length of the shortest directed path from s to u in , with when no such path exists. Thus, a node is eventually activated if and only if it is reachable from the seed set in the sampled live-edge graph.
The standard IC model assumes a deterministic seed set. More generally, initial activation itself can be stochastic. Let
denote initial activation probabilities, and include every node u in the seed set independently according to
This extension is commonly referred to as the Generalized Independent Cascade (GIC) model [33] and is useful in settings where an intervention does not activate a selected node deterministically. For ease of presentation, we primarily use deterministic seed sets throughout the paper; the extension of the considered approximation methods to probabilistic initial activations is generally straightforward.
2.2 Marginal Activation Probabilities and Influence Spread
The IC model induces a probability distribution over live-edge graphs and, consequently, over possible activation cascades. We are generally interested not in a particular realization, but in the expected outcome.
Let denote the marginal probability that node u has become active by time t:
Using the live-edge formulation, this is equivalently
or, in expectation form,
where the expectation is taken over independently sampled live-edge realizations .
For some of the approximation methods considered later, it is useful to introduce cavity marginals. For a set
we define
Thus, is the activation probability of u in the cavity graph obtained by removing the nodes in R. We use the shorthand
and analogously for cavity sets of small cardinality. Importantly, this quantity is defined through node removal rather than by conditioning on the event that the nodes in R happen to remain inactive in the original stochastic process.
Some models additionally track probabilities of nodes becoming activated at particular steps, rather than cumulating the overall influence over several steps. We define
i.e. the probability that the shortest length path from any node in the seed set S to node u is exactly t in the live edge graph .
We denote the final activation probability of node u by
Since the IC process terminates after finitely many steps,
A commonly used aggregate quantity is the expected influence spread of a seed set S, defined as the expected number of nodes eventually activated:
By linearity of expectation,
The influence function therefore aggregates the full vector of node-level activation probabilities
into a single scalar. While this quantity is sufficient for some downstream tasks, most prominently standard IM, it discards the fine-grained information contained in the individual activation probabilities.
2.3 Monte Carlo Estimation and Computational Complexity
Exact computation of IC marginals is computationally difficult because exponentially many live-edge realizations can contribute to the activation probability of a node. Indeed, exact IC evaluation is #P-hard [17]. A direct reduction follows from the s-t connectedness problem studied by Valiant [34], which asks for the number of subgraphs of a graph containing an s-t path.
Consider an instance of -t connectedness and construct an IC instance on the same graph by setting and assigning for every . The graph in question can be considered to be directed or undirected.
Every subgraph of G is then sampled as a live-edge realization with equal probability . The final activation probability of t is therefore
Consequently, an exact computation of would yield the solution to the s-t connectedness counting problem.
The standard asymptotically exact approach to estimating IC marginals on general networks is Monte Carlo (MC) simulation. Let
be M independently sampled live-edge realizations. The marginal probability of node u is estimated as
Since every term is a Bernoulli random variable with parameter ,
and
Hence,
For example, with independent realizations, the worst-case standard error of an individual node marginal is at most 0.005. Increasing the precision further requires a quadratic increase in the number of samples with respect to the desired reduction in standard error.
The influence spread can analogously be estimated as
Sampling budgets on the order of realizations are commonly used in empirical IC studies [2, 20–22], although substantially larger sample sizes may be required when high precision is needed [23, 24]. In particular, unlike a single node indicator, the cascade size takes values between 0 and , and its variance can grow with the size and structure of the network [24].
The computational cost of MC estimation scales linearly with the number of sampled realizations. In the worst case, a realization may require exploring a substantial fraction of the graph, yielding a cost of
for M complete simulations. Individual simulations are completely independent and hence highly parallelizable, but every realization still requires a stochastic reachability computation. Consequently, MC estimation can become computationally expensive when high precision is required or when influence must be evaluated repeatedly, as is the case in many IM algorithms.
2.4 Influence Maximization Context
The Influence Maximization problem is a classical combinatorial optimization problem introduced in the algorithmic diffusion literature by Kempe et al. [2]. Given a graph G, an IC model, and a seed budget k, the goal is to select a seed set
The problem is NP-hard under the IC model [2], as can be shown by a reduction from Set Cover.
Kempe et al. further showed that the IC influence function is monotone and submodular [2]. Monotonicity means that
while submodularity corresponds to diminishing marginal returns:
Consequently, when exact influence values are available, the classical greedy algorithm achieves the approximation guarantee
The greedy method is given in Algorithm 1.
Algorithm 1 Greedy Influence Maximization
Require: Graph , seed budget , influence function
Ensure: Seed set with
1:
2: for do
3:
4:
5: end for
6: return
A direct implementation requires evaluating the influence of every remaining candidate at every iteration, resulting in
candidate influence evaluations. Since exact computation of is #P-hard, practical implementations replace it with an estimator . Lazy-forward strategies such as CELF [35] can substantially reduce the number of repeated evaluations in practice, but influence estimation nevertheless remains a central computational primitive in greedy IM methods. Moreover, when candidate marginal gains are small relative to the already accumulated influence, distinguishing between candidates may require particularly accurate influence estimates.
The goal of this work is therefore to study efficient analytical approximations of the node-level marginal activation probabilities induced by the IC process. These marginals provide a richer description of the diffusion than the aggregate influence alone, while the influence function follows immediately as
Our primary objective is to obtain such estimates at a computational cost substantially below that of high-precision Monte Carlo simulation.
3 A Unified View of Independent Cascade Approximation
Throughout Sections 3 and 4, denotes the in-neighborhood ; for an undirected graph it reduces to the ordinary neighborhood.
3.1 Exact Marginal Formulation and Main Challenges
The marginal probabilities can be expressed exactly as
where the quantity denotes the probability that exactly the neighbors of in are activated by time in the cavity graph where node is removed. Note that we use interchangeably for denoting the initial activation probabilities at time . Beyond the fact that all possible neighbor states are needed for the marginal , the state probabilities have no canonical form, since their activations can be correlated in arbitrary ways. In particular, whenever two nodes share at least one node in their sets of predecessors, their states can become dependent.
Secondly, the removal of contribution of node u in Equation 1 is necessary, since if any one of the neighbors activates u, then u itself must not have contributed to the activation of that neighbor in any way, otherwise we get undesired feedback loops, whereby a node could influence itself. More precisely, any live path witnessing activation of u can be taken to be simple; its prefix before the final edge into u therefore does not use u. If this is not considered the computed probabilities would artificially be larger.
We note that the two sources of difficulties are in some sense orthogonal, and each contributes to the general computational difficulties of the marginals. First, consider instances of the IC in directed acyclic graphs. Clearly feedback loops play no role in such instances, furthermore one can remove the cavity messages in Equation 1. However, the s-t connectedness problem is #P-hard even for directed acyclic planar graphs of maximum vertex degree three [36].
Secondly, under the assumption that neighbor activations are independent, Equation 1 reduces to
while the general cavity messages are given by
The interpretation of Equation 2 is that node can get activated by time in the graph where nodes in are removed, if it is initially activated, or if any one of the neighbors of that are not in activates at a time before , crucially without the help of any of the nodes in . The states of the cavity messages are indexed by entire subsets of nodes, hence in the worst case there can be such cavity states. With memoization, the most obvious evaluation therefore has exponential state complexity, roughly .
3.2 Existing Solutions
In general there are no computationally inexpensive exact solutions to the two sources of difficulty; state correlations and feedback loops, hence they are often ignored. If both properties are fully relaxed, one obtains the following simplification of Equation 1
We shall refer to Equation 3 as the Naive Method (NM). Many existing IC approximation solutions explicitly rely on the NM.
For example, SPM and SP1M [37] models essentially use the same update rule as the NM and consider only paths of shortest length (or additionally paths of shortest length plus one), namely
and
This helps mitigate some of the issues discussed thus far but at the same time explicitly neglects much of the dynamics, which can lead to poor performance especially in larger edge probability settings.
The neighborhood bound heuristic [38] uses a very similar update rule but restricts the influence propagation only to a small neighborhood of each node.
The maximum influence arborescence [17] (MIA) approach uses the same update rule as the NM, however only after restricting to an arborescence, not on the original graph. This is done by retaining only the most influential paths for each node. For each target node v, they find the maximum influence path
from every possible source u to v. Here is the set of simple directed u-to-v paths. They discard paths whose probability is below a threshold , then take the union of the surviving maximum influence paths into v. This gives the maximum influence in-arborescence MIIA( ). The NM is then computed for each node v on MIIA( ).
Several approaches for approximating the IC are introduced in [22], all strongly related to the NM. The Steady State Spread (SSS) iterates Equation 3 until a convergence criterion is met
Due to the issues imposed by feedback loops, the method SSS-Noself is introduced, where cavity-like quantities are introduced by computing influence spread in auxiliary graphs where certain edge probabilities are set to zero, note that this is done for each edge so the overhead is significant. They define as the probability that node gets activated in the cavity graph where node is removed. They compute this by the SSS estimation for node in the IC instance where all edges incident to have probability zero. Finally, SSS-Bounded-Path is introduced where the number of time steps of NM is limited to some finite value instead of iterating until a steady state is reached.
The nonbacktracking upper bound (NBUB) from [24] can be interpreted as replacing the node-level propagation underlying NM by edge-specific nonbacktracking messages.
Dynamic Message Passing [21, 39] (DMP) directly addresses the difficulty of feedback loops, while it explicitly keeps the neighbor activations independent in their modeling. The key idea is quite simple, namely to apply the well known Belief Propagation [40] (BP) framework to the setting of the IC. DMP applies the dynamic-cavity/BP principle to IC; algebraically, it replaces the node-level noisy-OR propagation of NM by edge-cavity noisy-OR messages. They estimate the cavity quantities for each edge as
The crucial modeling assumption made is
Then the final marginals are given as
DMP is exact when the underlying undirected graph is a tree (or forest), with independent edge variables and independent/deterministic seeds. Somewhat surprisingly, DMP is rarely used in the IM literature, as we shall see in upcoming sections, this in empirically not warranted. It is worth noting that the belief-propagation marginals used by [23, 41] reduce, for the IC model, to the same cavity fixed-point equations subsequently used by [21] for infinite-time IC influence estimation. Additionally, [20] uses the same kind of belief propagation ideas, however for the purpose of estimating the influence spread function rather than directly estimating marginals.
While less common, some methods explicitly approximate the probability that a node becomes active at a particular time step and subsequently aggregate these quantities. Let denote the probability that node becomes newly active at time . Two events must then co-occur: must remain inactive through time , and at least one neighbor that became newly active at time must successfully activate u at time t.
Let denote the event that is inactive through time , and let denote the event that exactly the nodes in became newly active at time . Then
Unlike the cavity formulation of Equation 1, the dependency on u is represented here through conditioning on its survival rather than by removing u from the graph. The computational difficulty is therefore contained in the conditional joint distribution of newly active neighbors as well as in the incorporation of conditional information. In contrast to cavity information, the conditioning in Equation 4 does not admit an analogous canonical local recursion. A cavity condition can be represented structurally by removing a set of nodes, leading naturally to the hierarchy of messages in Equation 2. The event , however, is an observation that u has remained inactive despite all possible activation mechanisms up to time t-1. This event can arise from many different combinations of inactive predecessors and failed transmissions, and conditioning on it consequently reweights the activation histories of other nodes in a topology- and time-dependent manner. Exact incorporation of this information therefore generally requires joint state or trajectory probabilities rather than a simple enlargement of a cavity set.
The canonical step-wise estimator is obtained by replacing this conditional joint distribution with a product of unconditional step-wise marginals,
Substituting this approximation into Equation 4 gives
with cumulative marginals
We refer to this approximation as Step-Wise Estimation (SWE).
An equivalent update arises from the unified influence framework of [42] when specialized to the Independent Cascade model. Closely related equations were derived by [43] using an inclusion–exclusion formulation.
A particularly useful interpretation is provided by [44]. They formulate the exact IC transition in terms of the conditional neighborhood distribution
Their “Independent Model” approximates this distribution by
which yields the same SWE recurrence above. They further introduce a “Markov Model”, which retains the conditioning on the target node while factorizing only the neighboring states,
Thus, this method can be interpreted as an intermediate approximation between the exact conditional formulation in Equation 4 and SWE: neighbor dependencies are still factorized, but the dependence between a neighbor's activation and the survival of u is retained.
The step-wise approximation in [45] is closely related but omits the survival term. Their nonlinear recurrence is
which corresponds to SWE without the correction for previous activation. Under the additional assumption of small propagation probabilities they linearize the product, obtaining
which forms the basis of their GS approximation.
The earlier SPM and SP1M models [37] can also be viewed from this step-wise perspective. In SPM, activation is considered only at the earliest possible time , where the events “active by time ” and “newly active at time ” coincide. Therefore the noisy-OR update can be interpreted either cumulatively or step-wise. SP1M additionally considers time , where this equivalence no longer holds, and consequently introduces an explicit survival correction for the second activation opportunity.
The Aggregated Linear Effect model [38] (ALE) provides an especially simple linear approximation of the diffusion process. Let denote the weighted adjacency matrix oriented such that . ALE estimates the cumulative activation vector after propagation steps as
where . Each term aggregates the contributions of weighted walks of length exactly . When , the infinite series converges and
ALE is particularly attractive computationally because propagation is entirely linear. As a consequence of this linearization, ALE does not account for overlap between activation paths or repeated propagation through cycles, and its estimates are not intrinsically bounded by one.
3.3 A Unified Mathematical View
Although the approximation methods discussed above were introduced from substantially different perspectives, many of them can be organized around three modeling choices: (i) the temporal state that is propagated, (ii) the amount of propagation history or context that is retained, and (iii) the rule used to aggregate incoming activation attempts. This view exposes several otherwise less apparent relationships between existing methods.
3.3.1 A common propagation operator
Let be a directed graph and let denote the vector of initial activation probabilities. For each edge , let . Define the source-incidence matrix
the destination-incidence matrix
and
The weighted node-space propagation matrix is then
such that
The factorization is introduced to expose the individual edge-level contributions underlying the weighted adjacency operator. While directly sums all incoming contributions at each node, nonlinear aggregation rules such as noisy-OR must be applied to each incoming edge contribution before these contributions are combined. The source-incidence matrix S therefore lifts a node-level state x to edge space, W applies the corresponding edge probabilities, and D subsequently aggregates edge-level quantities at their destination nodes. In particular,
so this representation leaves the usual linear propagation operator unchanged while permitting nonlinear operations to be inserted before the final destination-wise aggregation.
For a node v, suppose that denotes the activation quantity propagated by an in-neighbor u. The corresponding incoming activation attempt through edge has weight . Under the usual independence approximation, the probability that none of the incoming neighbors activates v is therefore
so that the noisy-OR aggregation is
This operation can be written simultaneously for all nodes using the incidence matrices defined above. The vector contains the edge-level quantities , applying log converts the product over incoming edges into a sum, and multiplication by performs this sum separately for each destination node. Exponentiating then restores the product. Hence we define
where the logarithm and exponential are applied componentwise. We take the convention , . Equivalently,
Thus, combines the incoming activation probabilities by the usual noisy-OR rule. The differences between several existing approximations can therefore be understood not through a different local propagation rule, but through the state x to which this rule is applied.
3.3.2 Cumulative and step-wise propagation
The Naive Method propagates cumulative activation probabilities. Writing for the estimated probability of being active by time t,
Step-wise estimation instead separates the probability of becoming newly active from the cumulative probability. Let denote the vector of new-activation probabilities at exactly time t, and let
The canonical SWE update is
The two formulations therefore use the same nonlinear incoming-attempt operator, but propagate different temporal states. NM repeatedly propagates a cumulative activation state, whereas SWE propagates only newly active probability and explicitly accounts for depletion of nodes that have already activated.
This distinction also clarifies the relation to several earlier methods. SPM and SP1M [37] restrict the admissible activation times to the shortest-path layer, or to the shortest-path layer and one additional layer, respectively. At the earliest possible activation time , cumulative and newly-active probabilities coincide, while the additional layer in SP1M requires a correction for previous activation. The nonlinear step-wise approximation of [45] also propagates newly-active quantities through the noisy-OR operator, but omits the depletion factor in Equation 8; their GS approximation subsequently linearizes this nonlinear update. The IC specialization of the unified model in [42] instead yields the complete SWE update, including the survival term.
The distinction between cumulative and step-wise propagation is not merely notational. As discussed in Section 3.1, exact step-wise inference involves the conditional joint neighborhood law
where denotes survival of u through time . The Independent Model of [44] replaces this conditional joint distribution by unconditional single-node marginals, resulting in the same SWE-type recurrence. Their Markov approximation retains the conditioning on the target node while factorizing the neighboring states, and can therefore be viewed as an intermediate closure between the exact conditional formulation and SWE.
3.3.3 Linearization and the common core of NM and SWE
The local noisy-OR operator admits the expansion
and consequently
The matrix B is therefore the first-order propagation operator common to both the cumulative and step-wise formulations.
This relationship can be made formal by introducing a low-activation scaling
and considering a fixed propagation horizon T. For NM, Equation 7 gives
and hence
The same first-order expression follows from SWE. Since ,
Therefore
and summing the step-wise contributions yields
Equations 11 and 12 reveal a common first-order core:
\left|\hat{p}^{\mathrm{A L E}}(T)=\sum_{\tau=0}^{T}B^{\tau}\mathbf{p}^{(0)}. \tag{13}Thus, ALE [38] can be interpreted as the linearized low-activation limit of either cumulative NM propagation or step-wise SWE propagation. The two nonlinear formulations differ substantially away from this limit, but those differences enter only through higher-order terms: overlap between multiple incoming activation possibilities and, in SWE, depletion of nodes that have already activated. This is why low activation regimes are not the best when studying the differences between approximation methods.
The walk interpretation of Equation 13 is also useful. The quantity
sums the weights of directed walks of length exactly originating from the initial activation vector. ALE therefore replaces the probabilistic union of overlapping activation routes by a linear weighted-walk expansion. When the spectral radius of is strictly below one, i.e. , the corresponding infinite-horizon expression is
3.3.4 History and cavity context
The second major modeling choice is how much information about previous propagation is retained. Node-level methods such as NM and SWE retain no explicit information about the route by which activation probability reached a node. DMP [21, 39] instead propagates edge-cavity messages
thereby excluding the immediate contribution of v when computing the activation of u. Its local aggregation remains the same noisy-OR rule, but it is applied in edge-cavity rather than node space.
More generally, the cavity hierarchy
retains an excluded set S and gives a systematic notion of increasing history depth. First-order DMP retains only the immediately excluded node, while higher-order cavity approximations retain additional local history. This provides a natural hierarchy for controlling feedback that is absent from ordinary node-level propagation.
In the linear regime, the same distinction has a particularly simple interpretation. Let denote the edge-reversal matrix, defined by
Thus, precisely when f is the directed reverse of e, and otherwise. Define
Where powers of enumerate weighted walks, powers of enumerate weighted non-backtracking walks. For two directed edges and , we have precisely when can follow without immediately reversing it. Consequently,
Thus, under the column-vector convention, K transfers edge-state mass from f to each admissible successor e, weighting the transition by the probability of f. In particular,
aggregates the contributions of all directed nonbacktracking walks of length L, assigning the walk
the weight
The linear cavity analogue of ALE therefore replaces unrestricted walk propagation by nonbacktracking walk propagation. This relationship is useful conceptually even when the corresponding intermediate approximation is not attractive as a standalone algorithm.
Several additional hybrid methods arise naturally by modifying only one of the choices above. For example, one may linearize the incoming aggregation in SWE while retaining its depletion term, or linearize cavity propagation while retaining edge-specific history. We use such methods primarily as diagnostic ablations of the framework rather than as separate conceptual families. As shown in Section 6, these intermediate variants did not provide sufficiently favorable accuracy–runtime trade-offs in our experiments to justify treating them as primary approximation methods.
3.3.5 Structural restriction as an orthogonal strategy
Not all approximations operate by changing the propagated probability state. A second class instead simplifies the set of admissible propagation routes. MIA [17], for example, restricts propagation to a target-specific maximum influence in-arborescence, on which the noisy-OR recursion can be evaluated efficiently. SPM and SP1M restrict admissible path lengths, while neighborhood-based approximations such as [38] restrict the explored local region. Such methods can be combined conceptually with the three axes above: they first simplify the path space and then select a temporal state, a history representation, and an incoming aggregation rule on the resulting surrogate structure.
IRIE [20] occupies a somewhat different position. Its influence estimation begins from cavity-like influence relations but collapses them to node-level scores and introduces a damping parameter. Its resulting recurrence is linear,
so that
IRIE can therefore also be interpreted as a damped weighted-walk approximation, although its target quantity is influence score rather than the node-level marginal vector.
Table 2: Unified taxonomy of analytical Independent Cascade approximations.
| Method | Temporal state | History / context | Incoming aggregation |
|---|---|---|---|
| NM | Cumulative marginal | Node state; no explicit path history | Nonlinear noisy-OR |
| SSS [22] | Cumulative steady-state marginal | Node state; no explicit path history | Nonlinear noisy-OR |
| SPM [37] | Earliest activation layer | Shortest-path propagation only | Nonlinear noisy-OR |
| SP1M [37] | Two activation layers | Shortest and shortest-plus-one path lengths | Nonlinear noisy-OR with second-layer survival correction |
| MIA [17] | Final / cumulative marginal | Target-specific maximum-influence in-arborescence | Nonlinear noisy-OR on the surrogate tree |
| [45] | Step-wise activation | Node state; optionally combined with path restriction | Noisy-OR; GS further linearizes to an additive sum |
| [42] | Step-wise and cumulative marginals | Node state; no explicit path history | Nonlinear noisy-OR with target depletion |
| Indep. [44] | Step-wise susceptible / newly-active state | Unconditional node marginals | Nonlinear noisy-OR |
| Markov [44] | Step-wise susceptible / newly-active state | Target-conditioned neighbor marginals | Nonlinear noisy-OR |
| ALE [38] | Time-indexed walk contributions aggregated cumulatively | Node state; unrestricted weighted walks | Linear additive propagation |
| DMP [21, 39] | Cumulative marginal | First-order edge cavity / immediate exclusion | Nonlinear noisy-OR |
| Cumulative marginal | Higher-order cavity state / additional excluded history | Nonlinear noisy-OR | |
| NBUB [24] | Path-length-resolved contribution | Edge-specific nonbacktracking history | Nonlinear product bound |
| IRIE [20] | Time-aggregated influence score | Cavity relations collapsed to node-level scores | Damped linear additive propagation |
| TDA [23, 41] | Final-state marginal / cascade-size distribution | Tree or edge-cavity context | Noisy-OR for marginals; distributional convolution for cascade size |
3.3.6 Taxonomy
Table 2 summarizes the resulting view. The three principal axes are the temporal state being propagated, the amount of history or contextual information retained, and the rule used to combine incoming activation contributions. Path and topology restrictions are shown within the history/context column because they modify the propagation space rather than the local aggregation rule.
The taxonomy emphasizes that these methods are not isolated constructions. Many share the same local IC aggregation rule and differ primarily in what state is propagated and what information about previous propagation is discarded. NM, SWE, and DMP all retain the nonlinear noisy-OR operator but use cumulative node states, step-wise node states, and edge-cavity states, respectively. ALE and related linear methods arise by replacing that operator with its first-order additive approximation. Methods such as MIA and SPM instead act orthogonally by restricting the admissible propagation structure. This view provides a common mathematical basis for comparing approximation error, computational complexity, and the effect of increasingly rich propagation context in the experiments that follow.
4 New Approximation Methods
A preliminary version of this work introduced the SWE-NO and modified ALE estimators [32]. Their definitions are restated here for completeness and to provide a common basis for the extensions developed below. The present work further introduces a general continuation framework, cavity-based variants, and higher-order dynamic message-passing corrections.
4.1 Compensatory Continuation of Approximation Methods
Many analytical diffusion approximations exhibit systematic directional errors. Suppose that a primary approximation tends to be conservative, while a second approximation tends to propagate activation more aggressively. The output of the former can then be used to initialize the latter. Rather than combining two final estimates algebraically, we therefore compose their approximation operators. We refer to this procedure as compensatory continuation (called smoothing in [32]).
Let denote the node-level estimate produced by method after propagation steps, and suppose that this estimate can be used as the initial state of a second method . We define the -step compensatory continuation of by as
We are implicitly assuming that the successive applications of the and methods keeps the output in the [0,1] range, and take the convention to be the identity. The continuation steps should not in general be interpreted as additional IC time steps; they are additional approximation steps applied to the output of the primary estimator. The construction is most natural when the two methods exhibit opposing systematic errors, although no improvement is guaranteed for an arbitrary pair of estimators.
4.2 SWE-NO
What was referred to simply as SWE in the preliminary version [32] is here called SWE-NO (SWE with noisy-OR accumulation) in order to distinguish it from the standard step-wise estimator. SWE-NO computes the approximate step-wise activation quantities using the same recurrence as SWE, but changes how these quantities are aggregated over time. Instead of
we use
The quantity should not be interpreted as the probability of activation by time , since the events represented by the are intended to describe mutually exclusive activation times. Rather, the noisy-OR accumulation is a deliberate damping mechanism.
For any ,
so SWE-NO is systematically no larger than SWE when applied to the same step-wise estimates. Moreover,
and therefore the two aggregation rules agree to first order in weak diffusion regimes.
Because SWE-NO deliberately damps the accumulated estimate, we use it as a primary estimator within compensatory continuation and apply NM as the continuation operator:
Here is treated as the initial activation vector of the NM continuation, however the term that multiplies the noisy-or update in the NM retains the original initial probabilities and not . These continuation iterations are approximation steps and should not be interpreted as physical diffusion times following time .
For a fixed horizon T and continuation depth L, the computation requires
time and memory under the usual sparse representation.
4.3 Independent Propagation-Layer Approximation
The Independent Propagation-Layer Approximation (IPL) is directly motivated by the simplicity of ALE [38]. In [32] it was called the modified aggregated linear effect, here we adopt a more descriptive name.
Let be the event that node is reachable by a length activation path in the IC network. ALE approximates the probability mass associated with layer by
where is the weighted adjacency matrix with for and otherwise. It therefore makes the approximation . ALE approximates the union of layer events as
Therefore we have
In a similar spirit to SWE-NO, IPL makes an additional approximation when aggregating contributions across propagation depths: it treats the layer events
as mutually independent. Consequently
This yields
or in matrix form
where we take to be the identity matrix.
ALE sums the contributions associated with walks of different lengths, thereby implicitly neglecting overlap between propagation depths. IPL retains ALE's linear propagation within each depth, but accumulates these depth-wise contributions through a survival product. Equivalently, it applies a noisy-OR approximation across propagation depths, preventing repeated influence arriving at different depths from being counted additively.
Expanding the temporal survival product gives
Thus standard ALE is precisely the first-order approximation of the IPL aggregation rule. IPL retains ALE's linear propagation within each depth while restoring a nonlinear union approximation across propagation depths.
The vectors need not be formed using explicit powers of . Iterating requires work per layer, while the survival product requires work. Hence IPL has time complexity , or for the sparse graphs considered here, and requires memory.
Note that in practical implementation of ALE and IPL clamping on each layer is used to prevent the computed values from exceeding 1.
4.4 Second-Order Incoming-Aggregation Corrections
Both ALE and IPL use the linear propagation operator B to approximate the probability that a node receives activation from its incoming neighbors. This corresponds to the first-order expansion of the noisy-OR operator. In particular, for
we have
Standard ALE retains only the first term. We therefore consider a second-order approximation that additionally accounts for pairwise overlap between incoming activation opportunities.
Let
Using
the second-order term can be computed without explicitly enumerating pairs of incoming edges. In the incidence-matrix notation introduced previously, with , this gives
where denotes element-wise multiplication.
We define ALE2 by replacing the linear ALE propagation with this second-order operator,
and accumulating the resulting propagation layers as in ALE,
where denotes component-wise clipping to the probability interval.
The same correction can be combined with the independent propagation-layer aggregation introduced above. We refer to this variant as IPL2:
Thus, ALE2 and IPL2 correct a different source of overlap from IPL itself. The second-order propagation operator accounts for pairwise overlap between different incoming neighbors within a propagation layer, whereas IPL accounts for overlap between contributions arriving at different propagation depths.
Despite including pairwise interactions, the second-order correction does not require quadratic work in the node degrees. Equation (14) can be evaluated using two sparse edge aggregations and element-wise vector operations, requiring time per propagation step. Consequently, both ALE2 and IPL2 retain time complexity, or on the sparse networks considered here, with memory.
Note that once clipping occurs, ALE2/IPL2 are no longer literal second-order Taylor approximations at that component; they are clipped heuristics based on that expansion.
4.5 Cavity Extensions of Existing Approximations
We also considered cavity-based extensions of several existing approximations, including SWE, SWE-NO, ALE, IPL, and the steady-state DMP/SSS formulation, together with the hybrid SWE-HIB-C variant. These constructions use edge-specific cavity messages to suppress immediate feedback while preserving the characteristic update rule of the underlying method. Because these variants are secondary to the main developments, their full definitions and implementation-specific details are deferred to Appendix B.
4.6 Higher-Order Dynamic Message Passing
Standard DMP retains only the immediately preceding cavity vertex. Consequently, when the recursive expansion would require a larger cavity set, all but the most recent exclusion are discarded. This suggests a hierarchy in which the last h cavity vertices are retained rather than only one. Hence, we propose to compute the cavity quantities using Equation 2 instead. As discussed in Section 3.1, retaining the complete cavity history is generally intractable. We therefore truncate the history to its most recent h vertices and refer to the resulting approximation as DMP of order h.
For an ordered cavity history , let denote the suffix of containing at most the last vertices. In particular, . We then define DMP of order by
with
The corresponding node marginal is
Thus, h = 0 gives the NM recurrence, while h = 1 gives standard DMP.
It was shown that the node marginals obtained by DMP are an upper bound on the true node marginals [21]. We prove the stronger statement that, for every full cavity history C and its retained suffix ,
We similarly prove by induction the stronger message-wise statement
whenever and is the corresponding suffix of .
Theorem 1 (Monotone upper-bound hierarchy) Consider the standard Independent Cascade model, where all initial-seed indicators and live-edge indicators are mutually independent. Deterministic seeds are included as the degenerate case in which the corresponding seed indicators are fixed.
Let denote the exact probability that node is active by time , and let denote the order- approximation defined by Equation (16). Then, for every node , every , and all integers ,
Consequently,
where is standard DMP and is NM.
Note that the theorem establishes monotonicity of the finite-order upper bounds. It does not, by itself, imply that as . The proof of the above theorem can be found in Appendix A.
In our empirical evaluation, we will explicitly consider h = 2 alongside the rest of the methods.
For , the state retains the two most recent vertices in the cavity history. In addition to the standard first-order message , the recursion may therefore require second-order messages
in which both and are excluded from the incoming neighborhood of . The additional exclusion of changes the update only when . Under the in-neighbor convention used here, a second-order state reached along a directed history
is therefore nonredundant only when the closing edge
is also present. In that case, the history forms a directed three-cycle and the additional cavity exclusion removes a factor that would otherwise reintroduce feedback through this cycle.
Let denote the number of such directed triangle-closing message states. Importantly, counts oriented message configurations, not unordered graph triangles. A single triple of vertices can contribute more than one state when several directed orientations are present.
The second-order implementation does not recompute a complete incoming product separately for every triangle-closing state. For each first-order context, the full incoming product is computed once and cached. A nonredundant second-order state is then obtained by removing the single factor corresponding to the additional excluded vertex. When this factor is nonzero this can be done by division; equivalently, one may use prefix-suffix products or log-domain products to avoid numerical problems when a factor vanishes. Consequently, all first-order states require work per iteration, while all nonredundant second-order corrections together require only additional work. The total running time is therefore
with
memory.
The worst-case value of can be superlinear in the number of edges, so the second-order method is not uniformly linear-time on arbitrary sparse graphs. However, its overhead is controlled by the number of triangle-closing configurations rather than by the total number of length-two cavity histories. In particular, for bounded-degree graph families,
so order-two DMP retains
asymptotic running time and differs from standard DMP only by a larger constant factor. More generally, the same conclusion holds whenever the number of directed triangle-closing states grows approximately linearly with graph size.
Even when is larger, the triangle-selective representation can be substantially smaller than a naive second-order construction. Such a construction would maintain states for all length-two cavity histories, whereas the present implementation instantiates only those histories for which the additional exclusion actually changes the recurrence.
The general idea of improving message-passing approximations by retaining additional propagation history is not new and is closely related to several higher-order and loop-corrected message-passing approaches in the literature. Our contribution is the particular formulation of this idea for finite-horizon IC marginals and the resulting monotone hierarchy of upper bounds. A more detailed comparison with related higher-order constructions is given in Appendix B.0.1.
5 Experiments
5.1 Selection of Benchmark Methods
The analytical methods discussed in Sections 3–4 span several distinct approximation strategies, and evaluating every known variant would make the experimental comparison unnecessarily large. We therefore selected a representative set intended to cover the main approximation domains identified by the taxonomy in Section 3, while also including the new methods introduced in this work. The aim is consequently not to enumerate every published IC approximation, but to compare representative methods that differ in their treatment of temporal information, feedback, dependency, and admissible propagation paths.
The cumulative mean-field family is represented by NM and Steady-State Spread (SSS), respectively. NM provides the basic finite-horizon node-level noisy-OR approximation, while SSS represents its fixed-point counterpart. The step-wise family is represented by SWE, together with cavity SWE, which introduces edge-specific messages to suppress immediate feedback. We additionally evaluate SWE-NO and its cavity version, which modify the temporal accumulation of the step-wise estimates, and therefore test the compensatory-continuation ideas introduced in this work.
SWE-HIB-C is included primarily as a diagnostic hybrid between step-wise and cavity propagation, allowing us to examine whether the two modeling choices, cumulative versus step-wise, provide complementary benefits.
The message-passing family is represented by standard first-order DMP and by its fixed-point, effectively infinite-horizon variant. We additionally evaluate second-order DMP. The latter is included primarily as a proof of concept for the higher-order cavity hierarchy introduced in Section 4: rather than attempting to evaluate increasingly large cavity orders, which rapidly increases the number of states, order provides the simplest nontrivial test of whether retaining additional propagation history can improve over ordinary DMP.
Linear and walk-based approximations are represented by ALE and IPL. The second-order variants ALE2 and IPL2 are additionally included in the real-world benchmark to test whether correcting the leading pairwise overlap neglected by the first-order linear propagation improves estimation accuracy. The synthetic benchmark also contains the additive SWE variant and its cavity analogue, which retain the stepwise depletion mechanism while replacing the nonlinear incoming aggregation by an additive approximation. Finally, SPM and SP1M are included as representatives of methods that simplify diffusion by restricting admissible propagation depths rather than modifying the local IC update itself.
Several methods discussed in the preceding sections were considered, but not retained for the full benchmark. SSS-Noself substantially increases the computational cost of SSS, because it requires auxiliary cavity-like fixed-point computations for individual target nodes. Its cost was prohibitive at the graph sizes considered here. The nonbacktracking upper bound (NBUB) was excluded for the same practical reason: its additional edge-specific state and associated computation made it substantially less scalable than the methods retained in the main comparison.
Table 3: Structural properties of the real-world benchmark networks. For directed datasets, the edge count refers to directed arcs. Average degree, clustering, and triangle counts are computed on the simple undirected projection. Reciprocity is the fraction of directed arcs whose reverse arc is also present.
| NetHEPT | WikiVote | Enron | Epinions | Slashdot | CondMat | cit-HepTh | |
|---|---|---|---|---|---|---|---|
| Nodes | 15 229 | 7 115 | 36 692 | 75 879 | 82 168 | 23 133 | 27 770 |
| Edges | 31 376 | 103 689 | 367 662 | 508 837 | 870 161 | 93 439 | 352 768 |
| Directed | False | True | True | True | True | False | True |
| Avg. degree | 4.12 | 28.32 | 10.02 | 10.69 | 12.27 | 8.08 | 25.37 |
| Avg. cl. co. | 0.499 | 0.141 | 0.497 | 0.138 | 0.060 | 0.633 | 0.312 |
| Triangles | 30 846 | 608 389 | 727 044 | 1 624 481 | 602 592 | 173 361 | 1 478 735 |
| Reciprocity | - | 0.056 | 1.000 | 0.405 | 0.841 | - | 0.003 |
MIA was also initially considered, particularly in combination with compensatory continuation. Since MIA restricts diffusion to a maximum influence in-arborescence and thereby discards admissible propagation routes, its estimates are naturally biased downward, in fact, since its influence estimation is exact on the in-arborescence, it provides a lower bound. This initially made it an appealing base estimator for compensatory continuation, whose purpose is to recover influence omitted by an underestimating first stage. In practice, however, the resulting MIA-based estimator was less accurate than the strongest cavity and message-passing methods, while construction of the target-specific influence arborescences became computationally expensive in moderate and strong diffusion regimes. We were therefore unable to evaluate MIA consistently over the complete benchmark grid, and it is not included in the principal aggregate comparison. Results on the subset of instances for which the computation completed are reported separately.
5.2 Experimental Setup
The complete experimental methodology, including network generation and preprocessing, diffusion-regime calibration, hyperparameter selection, Monte Carlo reference estimation, evaluation metrics, implementation details and runtime measurement, is provided in Appendix C. Here we summarize only the main experimental design.
We evaluate the methods on seven real-world networks: NetHEPT, WikiVote, Enron, Epinions, Slashdot, ca-CondMat, and cit-HepTh, spanning collaboration, communication, trust, voting, and citation networks. Their structural properties are summarized in Table 3. We additionally consider five synthetic network families, namely Erdős–Rényi, Barabási–Albert, Holme–Kim, the Stochastic Block Model, and Watts–Strogatz, generated across several density levels. Across both benchmarks, we evaluate a broad range of diffusion conditions by varying the seed-set size, edge-probability model, and overall diffusion strength. In particular, the experiments include constant, weighted-cascade, and heterogeneous Dirichlet edge probabilities, multiple seed fractions, and weak, moderate, and strong diffusion regimes. Hyperparameters are selected on separate calibration instances and all reported comparisons are performed on held-out instances.
6 Results
We now present the empirical results of the benchmark introduced in Section 5. Section 6.1 examines overall accuracy and the effect of the proposed higher-order DMP correction. Section 6.2 compares the step-wise, cavity, and steady-state approximation families, while Section 6.3 considers the linear, additive, and path-restricted methods. Finally, Section 6.4 analyzes how approximation accuracy changes with diffusion strength, seed-set size, and edge-probability model.
6.1 Overall Accuracy and Higher-Order DMP
The main accuracy results for the real-world and synthetic benchmarks are summarized in Figure 1, with additional metrics reported in Tables 4 and 5. Across both benchmark suites, achieved the lowest pooled median RMSE, followed by standard first-order DMP. On the real-world benchmark, their pooled median RMSE values were 0.00728 and 0.00915, respectively, while on the synthetic benchmark they were 0.00208 and 0.00211.
The advantage of is also visible when the networks are considered separately. It achieved the lowest dataset-level median RMSE on each of the seven real-world networks and the lowest graph-family-level median RMSE on each of the five synthetic graph families. This does not, however, imply uniform dominance at the level of individual instances. On the real-world benchmark, obtained the lowest RMSE on 990 of the 1140 held-out instances and the lowest setting-level median RMSE on 201 of the 228 feasible benchmark settings. The corresponding numbers on the synthetic benchmark were 1571 of 2700 instances and 323 of 540 settings. Thus, the pooled advantage is particularly consistent on the real-world networks, whereas several methods remain competitive with on individual synthetic instances.
Here, denotes the second-order DMP approximation introduced in Section 4, while denotes the steady-state version of first-order DMP. The performance of therefore provides empirical evidence that retaining additional cavity history can correct errors that remain after immediate backtracking has been removed.
The improvement comes at an additional computational cost. On the real-world benchmark, the median evaluation time increased from approximately 0.039 seconds for DMP to 0.566 seconds for . The latter is comparable to the 0.513-second median runtime of . The overhead is considerably smaller on the synthetic networks, where the corresponding median runtimes were 0.0092, 0.0320, and 0.0825 seconds for DMP, , and , respectively. As described in Section 5, the topology-specific construction of the second-order triangle states is performed separately from the timed evaluation, so these numbers represent per-evaluation runtimes on a prepared graph.
The benefit of the second-order correction depends strongly on the graph structure. This relationship is particularly clear in the synthetic benchmark. For Watts–Strogatz graphs, the median RMSE decreased from 0.01450 for DMP to 0.01095 for , a reduction of approximately 24.5%. For Holme–Kim graphs, the corresponding reduction was from 0.00240 to 0.00217, or approximately 9.5%. In contrast, the differences on Erdős–Rényi, Barabási–Albert, and stochastic block model graphs were very small.
This is consistent with the interpretation of the second-order method: its additional states become relevant primarily when short cyclic structures create dependencies that are not removed by first-order cavity messages.
The real-world networks show a qualitatively compatible, although less conclusive, pattern. The dataset-level advantage of exhibits a positive descriptive association with average clustering, but only seven distinct real-world topologies are available, so this observation should not be interpreted as a strong statistical result. Moreover, the raw number of undirected triangles does not show a corresponding positive relationship. This distinction is important because the additional states of arise specifically from directed triangle-closing configurations, whereas the clustering coefficients and triangle counts reported in Table 3 are computed on the simple undirected projection.
The advantage of DMP₂ also depends on the diffusion regime and seed fraction. When all real-world seed fractions are pooled, the median reduction in RMSE relative to DMP is approximately , 0.00156, and 0.00308 for , 0.35, and 0.60, respectively. Thus, in absolute terms, the second-order correction becomes increasingly useful as the diffusion becomes stronger.
There is, however, a notable interaction with the seed-set size. At the smallest real-world seed fraction, s = 0.01, the median improvement is largest in the moderate diffusion regime:
for , 0.35, and 0.60, respectively. The same pattern is especially pronounced for the synthetic Watts–Strogatz graphs, where the corresponding improvements are approximately 0.00492, 0.01494, and 0.00970. At very small seed fractions, moderate diffusion can produce the largest benefit from the second-order correction, whereas after pooling over seed fractions the strongest diffusion regime yields the largest overall improvement. This suggests that higher-order cavity information becomes most useful when propagation is sufficiently strong for short recurrent paths to matter, while the effect is reduced when a large initial seed set already activates a substantial part of the network.
6.2 Step-Wise, Cavity, and Steady-State Approximations
Among the evaluated non-cavity methods, SWE-NO provides the strongest overall accuracy. Its pooled median RMSE is 0.01793 on the real-world benchmark and 0.00596 on the synthetic benchmark, compared with 0.02232 and 0.00849 for standard SWE and 0.01921 and 0.00885 for NM. On paired instances, SWE-NO outperforms standard SWE on approximately 91.8% of real-world instances and 93.1% of synthetic instances. It also outperforms NM on approximately 80.9% and 94.6% of the corresponding instances. These results are consistent with the empirical observations in [32] and support the use of the temporal noisy-OR accumulation as an effective damping mechanism for the step-wise approximation.
The cavity extension of SWE-NO provides a further improvement in both benchmark suites, reducing the pooled median RMSE to 0.01592 on the real-world networks and 0.00548 on the synthetic networks. The effect of cavity correction on standard SWE is less uniform. On the real-world benchmark, cavity SWE reduces the pooled

(a) Real world benchmarks.

(b) Synthetic benchmarks.
Fig. 1: Median RMSE accuracy of all methods.
median RMSE from 0.02232 to 0.01714. On the synthetic benchmark, however, its pooled median RMSE is 0.01089, compared with 0.00849 for standard SWE, despite cavity SWE outperforming SWE on a majority of paired synthetic instances. This indicates that the cavity heuristic frequently improves the step-wise estimate but can also produce comparatively large errors in some regimes.
SWE-HIB-C performs particularly strongly. It has the third-lowest pooled median RMSE on the real-world benchmark, 0.01019, and remains among the strongest stepwise approximations on the synthetic benchmark, with a median RMSE of 0.00588. The strong performance of this hybrid method indicates that approximation quality depends not only on the state propagated through the network, but also on how that state is converted into the final node marginals. SWE-HIB-C combines step-wise cavity propagation with a cumulative DMP-style noisy-OR readout, and the two mechanisms appear to provide complementary benefits.
This interpretation is also consistent with the different roles of cavity messages in DMP and SWE. In DMP, an edge-specific message has a direct interpretation as an approximation to diffusion in a cavity graph. In the exact step-wise formulation, by contrast, the relevant neighbor distribution is conditioned on the target node having remained inactive. Deleting the target node is not equivalent to this conditioning. The cavity-SWE variants therefore use cavity messages as a heuristic approximation to the unavailable conditional information, rather than as an exact reformulation of the step-wise dynamics.
The relative performance of the basic NM and SWE formulations is also network-dependent. In the real-world benchmark, SWE obtains lower dataset-level median RMSE on CondMat, Enron, and NetHEPT, while NM performs better on Epinions, Slashdot, WikiVote, and cit-HepTh. In the synthetic benchmark the differences are
Table 4: Pooled held-out performance on the Real-world datasets benchmark. Entries are medians over all successful held-out instance-level evaluations. Lower is better for RMSE, MAE, and runtime; higher is better for Spearman, Pearson, and AUC. The median runtime of MC simulations is 78.31 s.
| Method | RMSE | MAE | Spearman | Pearson | AUC | Runtime (s) |
|---|---|---|---|---|---|---|
| 0.0073 | 0.0031 | 0.99606 | 0.99963 | 1.00000 | 0.5657 | |
| DMP | 0.0092 | 0.0037 | 0.99511 | 0.99952 | 1.00000 | 0.03938 |
| SWE-HIB cavity | 0.0102 | 0.0050 | 0.99401 | 0.99936 | 0.99999 | 0.04449 |
| 0.0153 | 0.0048 | 0.99423 | 0.99895 | 1.00000 | 0.5132 | |
| Cavity SWE-NO | 0.0159 | 0.0063 | 0.99165 | 0.99881 | 0.99999 | 0.04645 |
| Cavity SWE | 0.0171 | 0.0097 | 0.99123 | 0.99858 | 0.99999 | 0.09963 |
| SWE-NO | 0.0179 | 0.0070 | 0.99066 | 0.99848 | 0.99999 | 0.03323 |
| NM | 0.0192 | 0.0075 | 0.99130 | 0.99826 | 1.00000 | 0.03017 |
| SWE | 0.0223 | 0.0121 | 0.98812 | 0.99740 | 0.99999 | 0.03454 |
| SSS | 0.0377 | 0.0158 | 0.98607 | 0.99552 | 0.99998 | 0.2383 |
| IPL2 | 0.0730 | 0.0399 | 0.96104 | 0.97765 | 0.99935 | 0.0134 |
| IPL | 0.0798 | 0.0436 | 0.95983 | 0.97752 | 0.99146 | 0.005469 |
| SP1M | 0.0958 | 0.0579 | 0.97283 | 0.96555 | 0.99994 | 0.1493 |
| ALE | 0.1040 | 0.0605 | 0.94423 | 0.96230 | 0.96084 | 0.005098 |
| ALE2 | 0.1080 | 0.0631 | 0.93586 | 0.94878 | 0.96861 | 0.01142 |
| SPM | 0.1997 | 0.1301 | 0.91555 | 0.87167 | 0.99885 | 0.1442 |
generally smaller: SWE has a slightly lower pooled median RMSE than NM and performs particularly well on Watts–Strogatz graphs, whereas the two methods are very close on several other graph families. We therefore find no general dominance relation between the basic cumulative and step-wise formulations.
The steady-state SSS approximation is considerably less accurate than finite-horizon NM in both benchmark suites. Its pooled median RMSE is 0.03774 on the real-world benchmark and 0.04079 on the synthetic benchmark, compared with 0.01921 and 0.00885 for NM. SSS has larger RMSE than NM on approximately of paired real-world instances and on every paired synthetic instance. This is consistent with repeatedly applying a dependency-neglecting mean-field update toward its fixed point, which can compound the overestimation caused by recurrent and dependent propagation paths.
The steady-state DMP variant behaves more favorably than SSS but exhibits the same general risk in difficult topologies. Its synthetic pooled median RMSE of 0.00231 is close to those of DMP and , making it the third most accurate method by this aggregate statistic. However, its error rises sharply on the Watts-Strogatz family, where its median RMSE is 0.06856, compared with 0.01450 for finite-horizon DMP. The pooled median therefore conceals a substantial upper tail of difficult instances.
6.3 Linear, Additive, and Path-Restricted Approximations
ALE and IPL are among the most computationally inexpensive methods in both benchmark suites. On the real-world networks their median runtimes are approximately 0.00510 and 0.00547 seconds, respectively, while on the synthetic networks they are approximately 0.00080 and 0.00095 seconds. These values are substantially below those of the edge-cavity message-passing methods.
IPL is also consistently more accurate than ALE. Its pooled median RMSE is 0.07978 compared with 0.10401 for ALE on the real-world benchmark, and 0.06804 compared with 0.09889 on the synthetic benchmark. At the instance level, IPL outperforms ALE on approximately 96.9% of real-world instances and 96.0% of synthetic instances. This provides strong empirical support for the motivation of IPL in Section 3: retaining the inexpensive linear propagation of ALE while replacing additive accumulation across propagation depths by a survival product corrects an important source of repeated counting at essentially the same asymptotic cost.
The second-order incoming corrections ALE2 and IPL2 were evaluated in the real-world benchmark. Their effect is not uniform. ALE2 obtains lower RMSE than ALE on approximately 73.8% of paired instances, yet its pooled median RMSE increases slightly from 0.10401 to 0.10798, and its pooled mean RMSE also increases. Thus, ALE2 produces frequent small improvements but also a smaller number of sufficiently large degradations to worsen the aggregate statistics.
IPL2 exhibits a more favorable median behavior. It outperforms IPL on approximately 74.0% of paired instances and reduces the pooled median RMSE from 0.07978 to 0.07296. Its pooled mean RMSE is, however, higher than that of IPL, again indicating a heavier upper tail of difficult instances. The second-order incoming correction therefore cannot be interpreted as a uniform improvement. Its effect depends on the instance, and the nonlinear propagation-depth aggregation used by IPL appears to make more robust use of the correction than the additive ALE aggregation. Importantly, IPL2 retains a median runtime of only 0.0134 seconds and therefore remains among the most scalable methods in the real-world comparison.
The synthetic benchmark additionally evaluates the additive SWE variants. Standard additive SWE has a pooled median RMSE of 0.02304, substantially above the 0.00849 obtained by nonlinear SWE. Its cavity extension improves the median to 0.01909, but remains less accurate than the corresponding nonlinear methods. Additive SWE is, however, extremely inexpensive, with a median runtime of approximately 0.00123 seconds. These results further illustrate the general accuracy-cost trade-off associated with replacing nonlinear noisy-OR aggregation by linear addition.
The path-restricted methods show a similar trade-off in a different approximation domain. SP1M substantially improves upon SPM in both benchmark suites, reducing the pooled median RMSE from 0.19971 to 0.09580 on the real-world networks and from 0.22446 to 0.14191 on the synthetic networks. Nevertheless, both remain less accurate than the strongest node-level and cavity-based methods. This suggests that restricting admissible propagation paths removes too much diffusion information in the more demanding benchmark regimes, even when the shortest-plus-one correction of SP1M is included.
6.4 Dependence on Diffusion Regime
Diffusion strength is one of the clearest determinants of approximation difficulty. For every finite-horizon method in both benchmark suites, the pooled median RMSE increases from the weak regime through to the strong regime
Table 5: Pooled held-out performance on the Synthetic datasets benchmark. Entries are medians over all successful held-out instance-level evaluations. Lower is better for RMSE, MAE, and runtime; higher is better for Spearman, Pearson, and AUC. The median runtime of MC simulations was 71.33 s.
| Method | RMSE | MAE | Spearman | Pearson | AUC | Runtime (s) |
|---|---|---|---|---|---|---|
| 0.0021 | 0.0016 | 0.99931 | 0.99992 | 1.00000 | 0.03201 | |
| DMP | 0.0021 | 0.0016 | 0.99923 | 0.99991 | 1.00000 | 0.009151 |
| 0.0023 | 0.0018 | 0.99924 | 0.99991 | 1.00000 | 0.08248 | |
| Cavity SWE-NO | 0.0055 | 0.0039 | 0.99738 | 0.99952 | 1.00000 | 0.007849 |
| SWE-HIB cavity | 0.0059 | 0.0049 | 0.99871 | 0.99984 | 1.00000 | 0.01088 |
| SWE-NO | 0.0060 | 0.0044 | 0.99652 | 0.99944 | 1.00000 | 0.00477 |
| SWE | 0.0085 | 0.0063 | 0.99493 | 0.99904 | 1.00000 | 0.003953 |
| NM | 0.0088 | 0.0065 | 0.99484 | 0.99913 | 1.00000 | 0.003917 |
| Cavity SWE | 0.0109 | 0.0089 | 0.99813 | 0.99971 | 1.00000 | 0.02227 |
| Cavity SWE-add | 0.0191 | 0.0124 | 0.99277 | 0.99693 | 0.99995 | 0.008772 |
| SWE-add | 0.0230 | 0.0160 | 0.98291 | 0.99300 | 0.99989 | 0.001226 |
| SSS | 0.0408 | 0.0372 | 0.99085 | 0.99797 | 1.00000 | 0.02331 |
| IPL | 0.0680 | 0.0535 | 0.95801 | 0.96497 | 0.99967 | 0.0009482 |
| ALE | 0.0989 | 0.0742 | 0.94515 | 0.93441 | 0.99389 | 0.0008016 |
| SP1M | 0.1419 | 0.1210 | 0.93001 | 0.98665 | 1.00000 | 0.02044 |
| SPM | 0.2245 | 0.2014 | 0.84917 | 0.97750 | 1.00000 | 0.01982 |
. The two steady-state approximations constitute the main exceptions to strict monotonicity in the synthetic benchmark.
The magnitude of this degradation differs substantially across method families. On the real-world networks, the median RMSE of increases from 0.00238 at to 0.01070 and 0.01773 in the moderate and strong regimes. On the synthetic networks the corresponding increase is much smaller, from 0.00128 to 0.00215 and 0.00221. In contrast, the linear methods deteriorate much more rapidly. For IPL, the real-world medians are 0.02570, 0.09559, and 0.12179, while the synthetic medians are 0.01425, 0.07357, and 0.13505. ALE exhibits an even stronger increase, reaching a median RMSE of 0.19042 in the strongest synthetic regime. These results highlight that dependency and overlap corrections become increasingly important as the cascade becomes more extensive.
Most nonlinear methods also become more accurate as the seed fraction increases. For example, the median RMSE of on the real-world benchmark decreases from 0.01858 at a 1% seed fraction to 0.00434 at 20%. On the synthetic benchmark it decreases from 0.00801 to 0.00187. Similar trends are observed for DMP, SWE, SWE-NO, NM, SSS, and the path-based methods.
This seed-fraction effect should nevertheless be interpreted with caution. The reported RMSE includes the seed nodes themselves, whose activation probabilities are deterministically equal to one and are typically reproduced exactly by the approximation methods. Increasing the seed fraction therefore mechanically increases the proportion of nodes contributing essentially zero error. Moreover, ALE and IPL do not exhibit a monotonic decrease in RMSE over all four seed fractions. The observed seed-fraction dependence consequently cannot be attributed solely to an intrinsically easier diffusion problem on the non-seed nodes.
Finally, the edge-probability model also affects approximation difficulty. When results are pooled over methods, the constant-edge model yields the lowest median RMSE in both benchmark suites. On the real-world benchmark, the pooled medians are approximately 0.0210, 0.0399, and 0.0429 for constant, weighted-cascade, and heterogeneous-Dirichlet probabilities, respectively. On the synthetic benchmark they are approximately 0.0122, 0.0130, and 0.0230. Thus, edge-weight heterogeneity generally makes the benchmark more difficult.
This ordering is not universal across individual methods. In particular, the ALE/IPL family sometimes performs as well as or better under weighted-cascade or heterogeneous probabilities than under the constant model. The effect of edge heterogeneity therefore interacts with the approximation mechanism rather than imposing a uniform difficulty ordering on every method.
7 Discussion
We now interpret the empirical and theoretical results in the broader context of analytical IC approximation. We first discuss the principal sources of approximation error revealed by the benchmark and what the results suggest about the roles of feedback, dependence, and retained propagation information. We then consider how the higher-order cavity construction may extend beyond the IC model. The following subsection discusses differentiability and the practical problem of selecting approximation hyperparameters, before we conclude with the main limitations of the present study and directions for future work.
7.1 Sources of Approximation Error
The results in Section 6 reinforce the importance of feedback-loop correction in analytical approximations of the IC model. The strong performance of DMP relative to node-level mean-field methods, and the additional improvement obtained by in clustered networks and selected diffusion regimes, indicate that repeated propagation of information through short cycles is an important source of approximation error. The synthetic experiments make this particularly visible: the advantage of the second-order correction is small on graph families with relatively little local clustering, but becomes substantially larger on Watts–Strogatz and Holme–Kim networks.
Correcting feedback loops does not, however, remove all sources of dependence. Even in a cavity graph, activation attempts arriving through different neighbors of a node need not be independent. Two incoming branches may share upstream ancestors, interact through longer cycles, or be simultaneously affected by the same earlier activation events. Most analytical IC approximations, including the message-passing methods studied here, retain some form of conditional-independence approximation when aggregating these incoming contributions. The remaining error after short-loop correction therefore appears to be associated at least partly with dependencies between distinct propagation branches.
Modeling such dependencies analytically is considerably more difficult than suppressing explicit feedback through a bounded recent history. A richer state representation could in principle retain information about joint activation events or shared upstream structure, but this may lead to a rapid increase in computational cost. Determining which dependencies are most important in practice, and whether they can be represented without sacrificing the near-linear scalability of message-passing methods, remains an important direction for future work.
7.2 Higher-Order Cavity Corrections Beyond the IC Model
Although the higher-order hierarchy developed in this work is derived specifically for the IC model, the underlying construction is more general than the noisy-OR update used here. At an abstract level, an ordinary edge-cavity message is replaced by a message carrying a bounded recent history, and all inputs corresponding to vertices retained in that history are removed from the local update. The construction can therefore be viewed as a finite-memory modification of a local cavity recursion.
An attractive feature of this formulation is that a higher-order state need only be represented when the additional retained history actually changes the local update. For the order-two IC construction, the additional excluded vertex affects the recursion only when it is also an incoming neighbor of the current node. The nonredundant second-order state space therefore reduces to directed triangle-closing configurations, yielding the complexity
where denotes the number of such states. This is substantially smaller than explicitly maintaining all possible length-two path histories on many sparse networks.
The same bookkeeping principle could in principle be applied to other cavity or belief-propagation equations. Whether it leads to an equally useful approximation is a separate question. The IC model has several properties that make the hierarchy particularly well behaved: diffusion is progressive, the local update is monotone in the incoming messages, and removing additional propagation routes cannot increase the true activation probability. More general graphical models or recurrent dynamical systems need not possess these properties, and a larger excluded history may not produce a one-sided change in the resulting approximation.
This motivates a broader theoretical question. In the IC setting, the higher-order construction yields a nested sequence of increasingly tight upper approximations,
It would be interesting to determine whether analogous monotonicity results hold for higher-order cavity corrections in other probabilistic models, and which structural properties are sufficient to guarantee such an ordering. Monotonicity of the local update, positive dependence, and monotonicity under removal of propagation routes are natural candidates. A characterization of these conditions could provide a more general theoretical basis for finite-history cavity hierarchies beyond progressive diffusion.
More expressive loop-corrected and region-based message-passing methods can represent dependencies that cannot be captured by a bounded path history, for example correlations between incoming branches created by a larger shared subgraph. Their additional expressive power is generally obtained through substantially richer local state spaces. The finite-history construction studied here therefore occupies a different point in the accuracy–complexity trade-off: it targets a specific and easily identified source of feedback while preserving a comparatively simple local recursion. Extending the construction beyond order two, and characterizing the number of nonredundant history states required at higher orders, are natural directions for further work.
7.3 Differentiability and Practical Parameter Selection
A further advantage of analytical diffusion approximations is that several of the methods considered here are differentiable with respect to the diffusion parameters. This makes them suitable for settings in which diffusion estimation is embedded within a larger learning procedure, such as edge-probability estimation, inverse diffusion, or network-parameter learning. In contrast to Monte Carlo simulation, the approximation itself can be represented as a deterministic computational graph and differentiated using standard automatic-differentiation techniques. We do not investigate such downstream learning tasks in the present work, but they constitute an important motivation for computationally inexpensive analytical approximations.
Practical use of these methods also depends critically on hyperparameter selection. For most finite-horizon methods the main parameter is the iteration or propagation horizon T, while compensatory continuation, introduced in Section 4.1, additionally requires the continuation depth L. The benchmark demonstrates that relatively small changes in these parameters can produce appreciable differences in both accuracy and runtime. At the same time, the strongest message-passing methods, particularly the DMP variants, appear less sensitive to small perturbations of the selected horizon than several of the simpler approximations.
Our benchmark deliberately gives each method access to calibration instances drawn from the same experimental setting as its held-out test instances. The selected parameters should therefore be interpreted as representing favorable setting-specific calibration rather than a deployment scenario in which the optimal horizon is known in advance. In practical applications, parameter selection should preferably be performed on calibration instances that resemble the intended downstream setting in graph topology, seed-set size, edge-probability distribution, and diffusion strength.
We also conducted preliminary experiments aimed at predicting suitable horizons directly from instance characteristics, including topological features, seed-set size, secondary activation, and edge-probability statistics. Simple linear models were unable to predict the selected horizon reliably. Decision-tree models improved predictive performance, suggesting a substantially nonlinear relationship between the instance characteristics and the preferred approximation depth, but the resulting accuracy was not sufficient to justify inclusion as a standalone result.
A more systematic treatment of automatic parameter selection therefore remains an interesting direction for future work. One possibility is to learn a predictor of suitable horizons from graph- and diffusion-level features. Differentiable approximations also make softer formulations possible, for example by replacing a hard integer horizon with learnable weights or gates over successive propagation layers. Such a relaxation could allow the effective propagation depth to be optimized jointly with other model parameters using a diffusion-prediction loss. Whether this can generalize across graph families and diffusion regimes remains an open question.
7.4 Limitations and Future Work
The empirical evaluation covers a broad collection of real-world and synthetic networks, edge-probability models, seed-set sizes, and diffusion strengths, but it is necessarily finite. The pooled summaries used throughout the paper are useful for comparing the overall behavior of the methods, but they can hide substantial regime-specific variation. The interaction observed between seed fraction and diffusion strength for , for example, would be obscured by considering only a single pooled statistic.
The reference activation probabilities are estimated using finite Monte Carlo simulations and consequently contain sampling error. The number of simulations used in the benchmark makes these estimates substantially more accurate than the analytical approximations in most regimes, but very small differences between strong methods should nevertheless be interpreted with care. Future studies could complement Monte Carlo evaluation with graph families for which exact IC marginals can be computed, either through restricted topology, exact dynamic programming, or exhaustive enumeration on sufficiently small networks.
A related limitation is that the reported error metrics include the seed nodes. Since seed nodes have deterministic activation probability one and are generally reproduced exactly by the approximations, increasing the seed fraction mechanically increases the proportion of nodes with essentially zero prediction error. Consequently, part of the observed improvement in all-node RMSE at larger seed fractions does not necessarily reflect improved prediction of the subsequent diffusion process. Reporting the corresponding metrics restricted to non-seed nodes would provide a useful complementary analysis.
The benchmark also relies on setting-specific hyperparameter calibration using Monte Carlo reference estimates. Such supervision may not be available in a practical deployment setting, and the reported performance should therefore not be interpreted as requiring no prior calibration. Developing robust parameter-selection rules that transfer between related networks and diffusion regimes remains an important practical problem.
Our analytical and empirical treatment is restricted to the Independent Cascade model. Several of the underlying ideas, including compensatory continuation, finite-history cavity corrections, and differentiable analytical propagation, may extend to other progressive diffusion models, but their validity and accuracy outside IC have not been established here.
We additionally evaluate the methods only as estimators of node activation probabilities. We do not test their performance within downstream optimization procedures such as influence maximization. High accuracy of node marginals, or even high rank correlation between those marginals, does not by itself guarantee accurate marginal-gain estimates or high-quality seed selection. Evaluating the approximations within downstream optimization and learning tasks therefore remains separate future work.
Finally, the improved accuracy of comes with a substantial computational overhead relative to first-order DMP. The method remained scalable on all benchmark instances, but its cost depends on the number of directed triangle-closing states and can become large in highly clustered networks. Moreover, the reported per-evaluation runtime excludes the topology-specific construction of these second-order states. The method should therefore be viewed as an accuracy-oriented point in the accuracy–runtime trade-off rather than as a uniformly preferable replacement for first-order DMP. Quantifying when the additional second-order state is worth its cost, and developing more compact representations of higher-order cavity information, are natural directions for further work.
8 Conclusion
In this work, we provide a broad analysis of analytical approximation methods for the Independent Cascade model. We organize existing approaches within a common framework based on three principal dimensions: the temporal state being propagated, the information retained by the approximation, and the rule used to aggregate incoming influence. This unified view clarifies the relationships between several previously distinct approximation families and motivates a number of new constructions and intermediate variants. Together, these methods provide a finer spectrum of accuracy–runtime trade-offs than is apparent when the existing approximations are considered in isolation.
We complement the theoretical analysis with an extensive empirical comparison focused on the estimation of node-level marginal activation probabilities. The benchmark covers both real-world and synthetic networks and varies graph topology, seed-set size, edge-probability model, and diffusion strength. The results demonstrate substantial differences between approximation families and show that their relative performance depends not only on computational complexity, but also on the structural and dynamical regime in which they are applied.
To our knowledge, this work constitutes the first comprehensive empirical study of analytical IC approximation methods. We evaluate a broad range of approximation families under a common protocol for node-level marginal activation probabilities across diverse real-world and synthetic diffusion regimes.
Among the evaluated methods, the proposed second-order extension of dynamic message passing, , achieved the strongest overall accuracy. It obtained the lowest pooled median RMSE in both benchmark suites, as well as the lowest dataset-level median RMSE on every real-world network and the lowest graph-family-level median RMSE on every synthetic family. Its advantage over first-order DMP is particularly pronounced in regimes where short-loop effects are important, including highly clustered synthetic networks and selected low-seed, moderate-to-strong diffusion settings. This improvement comes with a substantial computational overhead, but the method remained scalable on all networks considered.
At the opposite end of the accuracy–runtime spectrum, the proposed Independent Propagation-Layer approximation (IPL) substantially improves upon ALE while retaining the same ) asymptotic complexity on sparse networks. The second-order incoming-aggregation correction further improves IPL on the majority of the real-world benchmark instances, although its benefit is not uniform. These results illustrate that relatively small changes to how propagation contributions are aggregated can produce meaningful accuracy improvements without sacrificing scalability.
More broadly, the experiments reinforce the importance of explicitly accounting for feedback and dependence in analytical diffusion approximations. The higher-order DMP hierarchy provides one systematic way of correcting progressively richer short-loop effects, while the unified framework exposes additional opportunities for combining temporal, structural, and aggregation corrections. At the same time, the benchmark shows that no single approximation mechanism dominates every regime or every point on the computational trade-off.
Overall, the results suggest that analytical IC approximation should not be viewed as a choice between a small number of isolated methods, but as a design space in which retained information, temporal representation, and aggregation rules can be varied according to the requirements of the application. We hope that the theoretical framework, new approximation methods, and benchmark presented here provide a useful basis for developing more accurate, scalable, and application-specific diffusion estimators.
Declarations
Availability of data and materials
The real-world datasets analysed in this study are publicly available from their original public sources, which are listed in the project repository. WikiVote, Enron, Epinions, Slashdot, CondMat, and cit-HepTh are available from the Stanford Network Analysis Project (SNAP), while NetHEPT is available from the IMPC Github repository. The datasets are cited in the manuscript according to the citation recommendations provided by their respective repositories.
Synthetic datasets and experimental results were generated using the code provided in the public project repository. Due to their size, the generated experimental result files are not included in the repository; however, they can be reproduced using the provided code and experimental configuration.
Project name:
Project home page:
Independent_Cascade_Approximations
Independent_Cascade_Approximations
Archived version:
Git
commit
c7bfba7bd7053f8c28aa919830629ca2723262e3
Operating system:
Ubuntu 24.04 LTS
Programming language:
Python 3
Other requirements:
Required Python dependencies are listed in the repository
License:
MIT
Restrictions on use by non-academics:
None
Use of artificial intelligence
GPT-5.6 was used to assist with code implementation and refactoring, language editing, manuscript organization, and discussion of methodological and presentational alternatives. The authors specified the research questions, algorithms, experimental methodology, analyses, and scientific interpretation, and independently reviewed and verified all AI-assisted content, code, citations, and experimental outputs. The authors take full responsibility for the content of the manuscript and the reported results.
Competing interests
The authors declares that he has no competing interests.
Funding
Miklós Krész has been supported by the Slovenian Research and Innovation Agency (ARIS) through grants J7-60122, N2-0486, J1-70046, BI-HU/26-27-006 and BI-HU/26-27-007. He is also grateful for the support of the research program CogniCom (0013103) at the University of Primorska.
Authors' contributions
MP conceived the study, developed the methods, implemented the experiments, analysed the results, and drafted the manuscript. MK supervised the study, contributed to the development and interpretation of the methodology, and reviewed and edited the manuscript. Both authors read and approved the final manuscript.
Appendix A Proof of Theorem 1
Theorem 1 (restated). Assume the standard Independent Cascade model, where all initial-seed indicators and live-edge indicators are mutually independent. Let denote the exact probability that node is active by time , and let denote the order- approximation. Then, for every node , every , and all integers ,
Consequently,
Proof A cavity history is an ordered tuple
and we write
for the underlying set of vertices occurring in the history. For a node , let
denote history concatenation. Thus
Let denote the exact activation probability of u by time t in the cavity graph
We first derive a one-step upper bound for this exact cavity probability.
For each
let
and let be the indicator that the edge is live. Define
Thus precisely when the incoming branch through v can activate u by time t.
The exact cavity probability can therefore be written as
(A1)
Equivalently, if R denotes the random set of active incoming neighbors, Equation (A1) is the cavity analogue of the subset expansion
Each event is increasing in the mutually independent seed and live-edge indicators: changing a seed indicator from inactive to active, or an edge indicator from blocked to live, cannot destroy an existing activation path. Hence each event is decreasing. By Harris' inequality for product measures [46], decreasing events are positively associated. Therefore,
Moreover, since is defined in , it does not depend on the live-edge indicator . Hence
Substituting this into Equation (A2) and then into Equation (A1) yields
Thus the usual noisy-OR cavity update is obtained by replacing the positively dependent incoming branches by independent branches with the same cavity marginals. Positive association implies that this factorization underestimates the probability that all incoming branches fail, and therefore overestimates the activation probability.
We now prove a stronger statement than the theorem. For any ordered history C, define
where is the suffix of C containing at most its h most recent vertices. We claim that, for every history C and every finite order h,
At , both sides equal . Suppose that Equation (A4) holds at time for every valid cavity history. Applying Equation (A3) gives
By the induction hypothesis, applied to node v and the full cavity history ,
Since
the incoming message on the right is exactly the order-h message required by the truncated recursion.
The noisy-OR expression
is coordinatewise non-decreasing in the variables . Therefore,
Since is a suffix of C,
and hence
Every factor in the survival product lies in . Consequently, adding the neighbors forgotten by the truncated history can only decrease the product:
Combining this inequality with Equation (A5) gives
The right-hand side is precisely
which proves Equation (A4). Taking the empty history yields
for every finite h.
It remains to compare two approximation orders. Let , and for a common full history define
Because is a suffix of ,
We prove by induction on t that
The claim is immediate at t = 0. Suppose that it holds at time t - 1 for every corresponding pair of histories. For every neighbor retained by both updates,
the induction hypothesis gives
Therefore,
Define
and
The order- survival product can then be written as
Since every factor lies in ,
Using the message inequality above on every then gives
Hence
which proves Equation (A6). Taking the empty history yields
Together with Equation (A4), this proves Equation (17).
Appendix B Cavity Extensions
The cavity-message approach to the IC model described in [21] provides a general mechanism for suppressing immediate feedback and can be applied to several of the approximation families considered above. Since standard DMP can be interpreted as the cavity extension of NM, a natural first direction is to introduce analogous messages for the step-wise SWE approximation.
The straightforward cavity extension of SWE replaces the node-level newly-active quantities by edge-specific quantities. The node update is
while the corresponding cavity message is
We take
and obtain the cumulative quantities by accumulating the step-wise estimates.
The exact step-wise formulation differs fundamentally from the cumulative cavity formulation. In the former, the neighbor-state distribution is conditioned on the target node u having remained inactive up to time , whereas a cavity quantity is defined by removing u from the relevant propagation branch. These operations are not equivalent in general: conditioning on the survival of u changes the distribution of the surrounding cascade, while deleting u merely prevents it from participating in the corresponding feedback path.
The cavity-SWE construction therefore does not arise as an exact reformulation of the step-wise conditional probabilities. Instead, it replaces the unavailable conditional neighbor information by edge-specific nonbacktracking messages,
thereby suppressing immediate feedback through u. We consequently interpret cavity SWE as a heuristic feedback correction to SWE rather than as a cavity representation of its exact conditional dynamics.
Cavity SWE-NO
The same cavity construction can be combined with the temporal noisy-OR aggregation of SWE-NO. Let denote the accumulated cavity activation quantity associated with the message . The newly-active cavity quantity is computed as
and is accumulated through
At the node level, the same construction gives
followed by
Thus cavity SWE-NO combines the immediate-feedback suppression of cavity SWE with the temporal damping introduced by SWE-NO. As in the non-cavity version, the noisy-OR accumulation should be interpreted as an approximation mechanism rather than as an exact probability of a union of independent activation-time events.
Cavity ALE
ALE can be extended similarly by replacing the node-level propagation state with edge-specific cavity layer messages. Let denote the propagation mass at u in layer t when the immediate contribution from v is excluded. Starting from
the cavity layer recursion is
The corresponding node-level layer is
and cavity ALE aggregates these layers additively,
Hence the only structural change relative to ALE is that propagation along excludes the immediate reverse contribution before the next layer is formed.
Cavity IPL
The cavity extension of IPL uses exactly the same cavity propagation layers as cavity ALE, but retains the survival-product aggregation of IPL. Thus, with obtained from the cavity messages above,
Cavity IPL therefore combines two corrections operating on different sources of repeated influence: edge-specific cavity propagation suppresses immediate feedback within a propagation branch, while the IPL survival product suppresses repeated counting of contributions arriving at different propagation depths.
Cavity SSS
Finally, the natural cavity analogue of SSS is obtained by taking the steady-state limit of DMP. Instead of iterating the node-level SSS equation to convergence, the edge-specific DMP messages are iterated until a fixed point is reached,
after which the node marginals are reconstructed as
Equivalently, this is the limit of standard DMP as , and was considered alongside finite-horizon DMP in [21]. Note that this method is not novel, we include its description for completion.
SWE-HIB-C
We also include a hybrid cavity variant, denoted SWE-HIB-C. This method combines the step-wise propagation principle of SWE with the edge-cavity representation of DMP. Let denote the cumulative cavity estimate for node when the immediate contribution from is excluded. We initialize
The newly accumulated cavity mass at time is then
and, for , the cavity states are updated according to
Thus, as in SWE, only probability mass newly accumulated during the preceding step is allowed to propagate, while the cavity representation suppresses immediate feedback through the destination of the message.
After T cavity updates, the implementation performs a DMP-style node-level readout,
Under this indexing convention, the parameter T denotes the number of cavity-message updates, while the final node-level readout introduces one additional propagation layer. Hence the returned estimate corresponds to a maximum propagation depth of . This convention matches the implementation used in the experiments.
B.0.1 Relation to Higher-Order and Loop-Corrected Message Passing
The higher-order DMP construction introduced above provides a systematic mechanism for correcting short-loop feedback in the Independent Cascade model by retaining progressively more of the recent cavity history. The general idea of improving message-passing approximations by enlarging the state, retaining additional path history, or explicitly accounting for short loops is, however, well established. Closely related constructions have appeared in percolation theory, epidemic modeling, graphical-model inference, and dynamic cavity methods [47–54]. The contribution here is therefore not the general principle of higher-order or loop-corrected message passing, but its formulation as a hierarchy of finite-horizon IC marginal approximations with a bounded rolling cavity history. In particular, the construction extends standard IC DMP directly, admits a monotonic ordering with the retained history, and at order two reduces to a sparse collection of nonredundant directed triangle-closing states.
Higher-order non-backtracking IC bounds
The closest IC-specific precedent is the generalized non-backtracking framework of Abbe et al. [24]. Their r-nonbacktracking construction retains a recent path of vertices and excludes previously visited vertices when bounding subsequent propagation, thereby producing progressively tighter upper bounds as the retained path length increases. Structurally, this is closely related to the rolling history used in our higher-order DMP hierarchy: ordinary nonbacktracking corresponds to retaining only the immediately preceding vertex, while additional history suppresses feedback through progressively longer short cycles. The main difference lies in the quantity being approximated and in the resulting state representation. Abbe et al. construct rigorous path-based upper bounds on the final IC influence, whereas our recursion extends the usual DMP equations directly and produces finite-horizon node activation marginals. Moreover, at order two we retain an additional state only when the extra excluded vertex actually participates in the current incoming neighborhood, so that the nonredundant correction states correspond specifically to directed triangle closures.
High-order non-backtracking matrices
Lin et al. [47] introduced high-order non-backtracking matrices for estimating percolation thresholds. Their state space consists of directed paths of increasing length, so that higher-order transitions prevent returns to vertices appearing further back in the recent path. This is closely related to our use of a bounded recent history to remove feedback paths not eliminated by standard edge-based DMP. Their construction, however, is a linear spectral method whose primary object is the percolation threshold, whereas ours is a nonlinear probabilistic recursion for IC activation marginals. In addition, our order-two implementation eliminates history states that do not alter the cavity update rather than representing all admissible higher-order path states explicitly.
Triangle-aware percolation message passing
Radicchi and Castellano [48] developed a message-passing approximation for percolation that explicitly discounts redundant propagation paths created by triangles. Their work demonstrates the same basic failure mode motivating our second-order construction: ordinary locally tree-like message passing treats branches connected by short loops as if they were independent, thereby repeatedly accounting for correlated propagation routes. Their correction is formulated specifically around triangular motifs in percolation, while our triangle correction arises automatically as the h = 2 member of a general history-based DMP hierarchy for the IC model.
Triangle-nonbacktracking message passing
Zhang [49] similarly developed a triangle-aware message-passing formulation for bond percolation and, by linearizing the resulting equations, derived the triangle-nonbacktracking matrix. The method incorporates triangles as explicit structural objects and improves spectral estimation of the percolation transition on clustered networks. Our second-order DMP addresses essentially the same type of local dependence, but the construction is organized differently: triangles are not introduced as distinguished motifs in advance. Instead, the higher-order cavity recursion retains recent vertices, and a genuinely new second-order state appears only when the retained history closes a triangle. This also embeds the triangle correction in a hierarchy that extends naturally to longer retained histories.
Message passing with loop-containing neighborhoods
Cantwell and Newman [50] proposed a systematic family of message-passing methods that replaces the locally tree-like assumption by calculations over increasingly large local neighborhoods containing short loops. Increasing the neighborhood radius incorporates progressively more local cyclic structure and can recover exact results when the relevant loops are contained within the chosen neighborhoods. This shares the central principle of our construction that accuracy can be improved systematically by retaining additional local dependence information. The retained objects are nevertheless different: their method enlarges the local graphical region on which a message is defined, whereas our method keeps the underlying edge-based DMP structure and enlarges only the recent cavity history carried by the message.
Belief propagation on networks with loops
Kirkley et al. [51] extended this neighborhood-based idea to belief propagation for general probabilistic models on networks with short loops. Their method performs inference using overlapping loop-containing neighborhoods rather than the independent branches assumed by ordinary belief propagation, thereby directly representing local correlations induced by short cycles. The connection to our method is therefore conceptual rather than model-specific: both approaches systematically relax the locally tree-like assumption by increasing the context represented by each message. Our construction is substantially more specialized, using the progressive structure of IC to retain only a bounded sequence of recently excluded vertices instead of an entire local subgraph.
Loop-corrected cavity distributions
A more general line of work on loop-corrected belief propagation was developed by Mooij and Kappen [52]. Their method first approximates cavity distributions over the Markov blanket of each variable and subsequently corrects these distributions by imposing consistency constraints, explicitly targeting correlations that ordinary belief propagation neglects in loopy factor graphs. The shared principle is again the correction of errors caused by treating neighboring cavity branches as independent. Their approach attempts to represent richer joint cavity distributions and can therefore incur complexity that grows rapidly with the local Markov blanket, whereas our IC hierarchy targets a narrower source of dependence by carrying only finite path history.
Higher-order dynamic cavity approximations
Del Ferraro and Aurell [53] introduced a dynamic message-passing approximation for reversible kinetic spin systems in which distributions over spin histories are projected onto finite-order Markov processes. Increasing the Markov order retains progressively more temporal history and therefore provides a hierarchy of dynamic-cavity closures. This is related to our method in its use of bounded memory to improve a cavity approximation, but the meaning of that memory is different. Their higher order describes temporal dependence in recurrent spin trajectories, whereas our history is spatial: it records recently visited vertices of a propagation branch in order to suppress feedback through short graph cycles.
Higher-order recurrent DMP with loops
Most directly among recent dynamic-message-passing approaches, Gao et al. [54] extend recurrent DMP for epidemic processes by introducing higher-order cavity messages that omit multiple vertices. Their construction explicitly addresses feedback through local loops beyond the immediate edge-level echo removed by ordinary rDMP, and at the next order the nontrivial additional messages are associated with triangular structures. This is closely analogous to the mechanism of our order-two correction. The underlying stochastic processes are nevertheless different: their method concerns recurrent epidemic dynamics in which nodes may repeatedly change state and requires a closure of higher-order dynamic quantities, whereas IC is progressive and admits a direct live-edge interpretation. Our construction consequently defines the higher-order approximation through truncated spatial cavity history and yields finite-horizon IC node marginals, together with the monotonic hierarchy established above.
Appendix C Experimental Methodology
C.1 Real-World Networks
We collected several real-world networks that are commonly used in IM benchmarks.
The first dataset is NetHEPT [55], which is an undirected co-authorship network constructed from papers in the arXiv High Energy Physics – Theory collection, where nodes represent authors and edges represent co-authorship relationships.
WikiVote [56] is a directed social network derived from Wikipedia administrator elections, where nodes represent Wikipedia users and a directed edge from one user to another indicates that the former voted in the latter's administrator election. The data cover elections from the inception of Wikipedia through January 2008.
Enron [57] is an email communication network constructed from the Enron email corpus. Nodes correspond to email addresses, with an edge connecting two addresses if at least one email was sent between them; the SNAP representation used here is undirected.
Epinions [58] is a directed online social network obtained from the consumer review website Epinions.com. Nodes represent users, while directed edges encode user-declared trust relationships forming the site's Web of Trust.
Slashdot [57] is a social network derived from the technology news website Slashdot and its “Slashdot Zoo” feature. Nodes represent users and edges correspond to friend or foe relationships declared between users; the snapshot used here was collected in February 2009.
ca-CondMat [59] is an undirected scientific collaboration network constructed from papers submitted to the Condensed Matter section of arXiv between January 1993 and April 2003. Nodes represent authors, and two authors are connected if they co-authored at least one paper.
cit-HepTh [60] is a directed citation network consisting of papers from the High Energy Physics Theory section of arXiv between January 1993 and April 2003. Nodes represent papers, and a directed edge from one paper to another indicates that the former cites the latter.
C.2 Synthetic Networks
We consider five standard synthetic network models, each generated with nodes and target mean degree . The generated graphs are undirected and are subsequently represented in the IC model by replacing every undirected edge with two oppositely directed arcs.
Erdős–Rényi (ER). The Erdős–Rényi model [61, 62] generates a random graph in which every pair of nodes is connected independently with the same probability. For target mean degree d, we set
so that the expected mean degree is d.
Barabási–Albert (BA). The Barabási–Albert model [63] generates scale-free networks through preferential attachment: newly introduced nodes preferentially connect to already well-connected nodes. Each new node attaches to
existing nodes, yielding an asymptotic mean degree of approximately 2m.
Holme–Kim (HK). The Holme–Kim model [64] extends preferential attachment with triad formation, producing heavy-tailed degree distributions while allowing substantially higher clustering than the standard BA model. We use
attachments per new node and triad-formation probability .
Stochastic Block Model (SBM). The Stochastic Block Model [65] generates networks with explicit community structure by assigning different connection probabilities within and between groups. We use four equally sized blocks and a mixing parameter , so that 70% of the expected degree is assigned to within-community connections and 30% to between-community connections. For block size ,
Watts–Strogatz (WS). The Watts–Strogatz model [66] generates small-world networks by starting from a regular ring lattice and randomly rewiring edges. We use initial degree and rewiring probability . Since the implementation requires an even lattice degree, the selected values satisfy this condition directly.
Across all five families, the benchmark therefore varies network density through , while keeping fixed.
C.3 Diffusion Configurations and Regime Calibration
We evaluate each network under several diffusion configurations that vary the initial seed-set size, the edge-probability model, and the overall diffusion strength. The seed set is selected uniformly at random with seed fraction
corresponding to 1%, 5%, 10%, and 20% of the nodes being initially active.
We consider three base edge-probability models. In the constant model, every edge receives the same base probability,
so differences in diffusion arise entirely from graph structure rather than heterogeneity in the transmission probabilities. In our implementation, the constant generator assigns the same value to every edge before the subsequent global calibration step.
The weighted-cascade model assigns
where is the in-degree of the destination node v. Thus, edges entering high-degree nodes receive smaller probabilities. Equivalently, before global rescaling, the incoming edge probabilities of every non-isolated node sum to one. This normalizes the total incoming transmission strength across nodes of different in-degree and is commonly used in influence-maximization experiments.
Finally, the heterogeneous Dirichlet model introduces substantial variation among the incoming transmission probabilities of a node. For each node v with incoming edges, a vector of relative incoming weights is sampled from a symmetric Dirichlet distribution,
and these weights define the corresponding base edge probabilities. We use concentration parameter .
Because , the resulting distribution tends to be uneven: a small number of incoming edges may receive relatively large transmission probabilities while many others receive small probabilities. In contrast to the weighted-cascade model, which distributes the incoming probability mass uniformly across the predecessors of a node, the Dirichlet model preserves the same general normalization while introducing edge-level heterogeneity. The benchmark uses throughout.
Using identical edge probabilities across graphs with different topologies, densities, or seed-set sizes can result in substantially different cascade sizes. We therefore control the effective diffusion strength by calibrating a global scaling parameter separately for each graph realization, edge-probability model, and seed fraction.
Let denote the base probability generated by one of the three models above. For a global scaling factor , the final transmission probability is
Consequently, the edge-probability models determine the relative distribution of transmission strengths across the network, whereas controls their overall magnitude.
We characterize the resulting diffusion strength by the secondary activation rate
which is the expected fraction of nodes outside the initial seed set that become activated during the cascade. Measuring diffusion relative to the initially inactive population prevents larger seed sets from mechanically producing a larger reported diffusion strength.
We consider three target secondary activation rates,
representing weak, moderate, and strong diffusion regimes, respectively. Thus, , for example, specifies that approximately 35% of the initially inactive nodes should subsequently become activated through diffusion.
Since IC activation probabilities are monotone non-decreasing in the edge probabilities, the scale is determined using a one-dimensional binary search. At each candidate value, is estimated using a Monte Carlo pilot simulation. Once a scale satisfying the target within the prescribed tolerance is found, the resulting edge probabilities are fixed and used by all approximation methods and by the higher-budget Monte Carlo reference evaluation.
If the requested target cannot be reached even after all positive edge probabilities have saturated at one, the corresponding configuration is marked as infeasible rather than being replaced by a different diffusion regime. The calibration procedure uses 250 Monte Carlo realizations per candidate scale, at most 10 binary-search iterations, and a target tolerance of 0.02.
C.4 Hyperparameter Calibration and Held-Out Evaluation
To prevent method hyperparameters from being selected on the same instances used for the final comparison, we separate every experimental setting into independent calibration and held-out test instances. For each method, the complete candidate parameter grid is evaluated on three calibration instances. The parameter configuration with the lowest mean calibration Root mean squared error (RMSE) is then selected, frozen, and evaluated without further adjustment on five held-out instances.
For the synthetic benchmark, calibration and test instances use independently generated graph realizations. Thus, the selected hyperparameters must generalize not only to new seed sets and diffusion parameters, but also to previously unseen graphs drawn from the same graph family and target mean degree. Three independent graph/diffusion instances are used for calibration and five independent instances for held-out evaluation.
For the real-world benchmark, the network topology remains fixed within each dataset. Independent instances are instead obtained from independently sampled seed sets and, for the heterogeneous Dirichlet model, independent edge-weight realizations. The constant and weighted-cascade edge models are deterministic conditional on the graph, and therefore only the seed-set realization varies between their calibration and held-out instances. The same three-calibration/five-test split is used as in the synthetic benchmark.
For methods with a propagation-horizon parameter, the candidate grid contains
For SWE-NO and its cavity variant, which additionally use compensatory continuation, we consider
and evaluate the Cartesian product of the candidate and values. Methods without tunable parameters are evaluated directly.
Parameter selection is performed separately for every combination of network setting, edge-probability model, seed fraction, and target secondary activation rate. Candidate configurations are ranked by their mean RMSE across the three calibration instances. With the selection tolerance set to zero, the configuration attaining the minimum mean calibration RMSE is selected; exact ties are resolved in favor of smaller , followed by smaller continuation depth .
Monte Carlo simulation provides the reference node-level activation probabilities used both for hyperparameter calibration and for the final held-out evaluation. In the synthetic benchmark, each calibration instance is evaluated using 10,000 Monte Carlo realizations, whereas each held-out test instance uses 50,000 realizations. The larger test budget reduces sampling noise in the final reported accuracy measurements, while the smaller calibration budget limits the substantial computational cost of evaluating the complete hyperparameter grid.
For the real-world benchmark, the Monte Carlo budget is adapted to dataset size. The numbers of realizations used for calibration and held-out evaluation are
| Dataset | Calibration | Held-out test |
|---|---|---|
| NetHEPT | 10,000 | 30,000 |
| WikiVote | 10,000 | 30,000 |
| CondMat | 8,000 | 20,000 |
| cit-HepTh | 8,000 | 20,000 |
| Enron | 6,000 | 15,000 |
| Epinions | 5,000 | 10,000 |
| Slashdot | 5,000 | 10,000. |
The lower budgets used for the larger real-world networks reflect the substantially greater cost of individual Monte Carlo realizations. In all cases, the reference budget used for the held-out evaluation is larger than that used during hyperparameter selection, concentrating computational effort on the measurements reported in the final comparison.
C.5 Evaluation Metrics
We evaluate each approximation by comparing its vector of estimated node activation probabilities
with the corresponding Monte Carlo reference
We consider complementary metrics measuring absolute estimation error, linear agreement, rank preservation, and computational cost.
Our primary absolute-error metric is the root mean squared error (RMSE),
RMSE penalizes large node-level errors more strongly than small ones and is also used as the criterion for hyperparameter selection in the calibration stage. For each experimental setting, the parameter configuration minimizing mean RMSE across the calibration instances is selected before the held-out evaluation.
We additionally report the mean absolute error (MAE),
which provides a more direct measure of the typical magnitude of the node-level estimation error and is less sensitive than RMSE to a small number of large deviations.
To measure whether an approximation preserves variation in activation probabilities across nodes, we report the Pearson correlation coefficient
Pearson correlation measures linear agreement between the estimated and reference marginals and can remain high even when an estimator exhibits a systematic difference in scale or offset. It therefore complements, rather than replaces, the absolute-error metrics.
We place particular emphasis on the Spearman rank correlation,
Unlike RMSE and MAE, Spearman correlation measures whether the method preserves the relative ordering of nodes rather than their precise probability values. This is important for rank-sensitive downstream applications. In particular, influence-maximization procedures ultimately rely on distinguishing and ordering competing alternatives, so an approximation that preserves relative influence information may remain useful even when its probability estimates exhibit some systematic numerical bias. We emphasize, however, that the Spearman coefficient measured here ranks node activation marginals for a fixed diffusion instance; it is not itself a direct measurement of the ranking of candidate marginal influence gains used by a greedy IM algorithm.
We additionally compute the area under the receiver operating characteristic curve (AUC) as a rank-based classification measure. Nodes whose Monte Carlo activation probability lies at or above the 95th percentile are treated as positive instances, while the estimated activation probabilities are used as classification scores. Thus, AUC measures how well an approximation separates the most highly activated nodes from the remainder of the network. Because the definition is threshold-based and can be influenced by deterministically active seed nodes, we treat AUC as a supplementary metric rather than a primary measure of approximation quality.
Finally, we record the runtime of each approximation. Runtime is reported together with accuracy because the principal motivation for analytical IC approximations is to reduce the computational cost of diffusion estimation relative to high-budget Monte Carlo simulation. Consequently, no accuracy metric alone characterizes the practical quality of an approximation; the relevant comparison is the trade-off between predictive accuracy and computational cost.
C.6 Implementation Details
All approximation methods and Monte Carlo simulations were implemented in Python within a common computational framework. NumPy was used for the main numerical operations, with SciPy and scikit-learn used for selected evaluation utilities and NetworkX used for generating the synthetic graph topologies. The approximation methods themselves operate on a custom compact graph representation rather than on NetworkX objects.
Specifically, every network is converted to the same ICGraph representation, in which directed edges are stored as contiguous, source-sorted arrays of source vertices, destination vertices, and edge probabilities. Incoming-edge indices, reverse-edge indices, and other structural information required by particular methods are constructed from this common representation and cached when needed. All approximation methods therefore receive the same graph object, the same edge-probability array, and the same initial activation vector, and return a length- array of node activation-probability estimates aligned with the same node ordering.
The implementations were designed to make runtime comparisons as meaningful as possible. In particular, closely related methods share the same low-level representation and, where applicable, the same array-based aggregation operations. Incoming sums and products are implemented using vectorized NumPy operations such as bincount, while products of many probability terms are generally evaluated in the logarithmic domain using log, log1p, and exp. Cavity methods use edge-indexed message arrays over the same underlying edge representation rather than constructing separate graph objects. Consequently, differences in runtime primarily reflect the additional state and computation required by the approximation itself, rather than differences between unrelated graph libraries or implementations. Methods whose definitions require additional operations, such as shortest-path searches or repeated fixed-point computations, retain those operations rather than replacing them with algorithmically different shortcuts.
Edge probabilities are stored using 32-bit floating-point values in the benchmark graph representation. Node indices are stored using 32-bit integers whenever the graph size permits, while structural pointer arrays use 64-bit integer indexing. Internal arithmetic is method-dependent: several array-based methods retain the graph's single-precision representation, whereas methods for which additional numerical stability is useful explicitly promote working arrays to 64-bit floating point. Probability products are clipped where required to avoid invalid logarithms and floating-point overflow or underflow. Thus, all methods receive numerically identical edge-probability inputs, although their internal working precision is not artificially forced to be identical.
Runtime is measured as wall-clock execution time using time.perf_counter. For the held-out benchmark, timing covers only the execution of the approximation with its previously selected hyperparameters; graph loading, diffusion-regime calibration, hyperparameter selection, Monte Carlo reference generation, and metric computation are excluded. This separation is important because the reported runtime is intended to measure the cost of applying an approximation to an already specified IC instance rather than the cost of constructing the experimental instance itself. All methods are evaluated on the same machine and within the same benchmark process.
For second-order DMP, the directed triangle-state indexing depends only on graph topology and can be reused across diffusion instances. Accordingly, this topology-dependent indexing is constructed and cached before the timed approximation call, so the reported runtime measures the iterative propagation stage rather than the one-time structural preprocessing cost. We therefore interpret the reported runtimes as per-evaluation runtimes on a prepared graph; preprocessing costs that can be amortized across multiple diffusion evaluations are not included in this measure.
All experiments were run on a Dell Precision 7710 workstation with an Intel Core i7-6820HQ processor (8 logical CPUs), 16 GB of RAM, and a 256.1 GB disk, running Ubuntu 24.04.4 LTS.
The real-world datasets used in the experiments are publicly available from the sources cited in Section C.1, while all synthetic networks can be regenerated from the graph models, parameters, and random seeds specified above. The complete implementation, and benchmark scripts is available at our repository [67].
References
[1] Goldenberg, J., Libai, B., Muller, E.: Talk of the network: A complex systems look at the underlying process of word-of-mouth. Mark. Lett. 12(3), 211–223 (2001) https://doi.org/10.1023/A:1011122126881
[2] 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. KDD '03, pp. 137–146. Association for Computing Machinery, New York, NY, USA (2003). https://doi.org/10.1145/956750.956769
[3] Karrer, B., Newman, M.E.J.: Message passing approach for general epidemic models. Phys. Rev. E 82(1), 016101 (2010) https://doi.org/10.1103/PhysRevE.82.016101
[4] Altarelli, F., Braunstein, A., Dall'Asta, L., Wakeling, J.R., Zecchina, R.: Containing epidemic outbreaks by message-passing techniques. Phys. Rev. X 4(2), 021024 (2014) https://doi.org/10.1103/PhysRevX.4.021024
[5] Lokhov, A.Y., Mézard, M., Ohta, H., Zdeborová, L.: Inferring the origin of an epidemic with a dynamic message-passing algorithm. Phys. Rev. E 90(1), 012801 (2014) https://doi.org/10.1103/PhysRevE.90.012801
[6] Zhai, X., Wu, W., Xu, W.: Cascade source inference in networks: A markov chain monte carlo approach. Computational Social Networks 2, 17 (2015) https://doi.org/10.1186/s40649-015-0017-4
[7] Shah, D., Zaman, T.: Rumors in a network: Who’s the culprit? IEEE Transactions on Information Theory 57(8), 5163–5181 (2011) https://doi.org/10.1109/TIT.2011.2158885
[8] Berenbrink, P., Hahn-Klimroth, M., Kaaser, D., Krieg, L., Rau, M.: Inference of a rumor’s source in the independent cascade model. In: Proceedings of the Thirty-Ninth Conference on Uncertainty in Artificial Intelligence. Proceedings of Machine Learning Research, vol. 216, pp. 152–162. PMLR (2023)
[9] Quattrocicchi, W., Caldarelli, G., Scala, A.: Opinion dynamics on interacting networks: Media competition and social influence. Sci. Rep. 4, 4938 (2014) https://doi.org/10.1038/srep04938
[10] Saito, K., Nakano, R., Kimura, M.: Prediction of information diffusion probabilities for independent cascade model. In: Knowledge-Based Intelligent Information and Engineering Systems, vol. 5179, pp. 67–75. Springer (2008). https://doi.org/10.1007/978-3-540-85567-5_9
[11] Goyal, A., Bonchi, F., Lakshmanan, L.V.S.: Learning influence probabilities in social networks. In: Proceedings of the Third ACM International Conference on Web Search and Data Mining, pp. 241–250. ACM (2010). https://doi.org/10.1145/1718487.1718518
[12] Saito, K., Kimura, M., Ohara, K., Motoda, H.: Selecting information diffusion models over social networks for behavioral analysis. In: Machine Learning and Knowledge Discovery in Databases, vol. 6323, pp. 180–195. Springer (2010). https://doi.org/10.1007/978-3-642-15939-8_12
[13] Gomez-Rodriguez, M., Leskovec, J., Krause, A.: Inferring networks of diffusion and influence. In: Proceedings of the 16th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 1019–1028. ACM (2010). https://doi.org/10.1145/1835804.1835933
[14] Wu, L., Sun, P., Fu, Y., Hong, R., Wang, X., Wang, M.: A neural influence diffusion model for social recommendation. In: Proceedings of the 42nd International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 235–244. ACM (2019). https://doi.org/10.1145/3331184.3331214
[15] Bóta, A., Csernenszky, A., Györffy, L., Kovács, G., Krész, M., Pluhár, A.: Applications of the inverse infection problem on bank transaction networks. Cent. Eur. J. Oper. Res. 23(2), 345–356 (2015) https://doi.org/10.1007/s10100-014-0375-2
[16] Raj, A., Kuceyeski, A., Weiner, M.: A network diffusion model of disease progression in dementia. Neuron 73(6), 1204–1215 (2012) https://doi.org/10.1016/j.neuron.2011.12.040
[17] Chen, W., Wang, C., Wang, Y.: Scalable influence maximization for prevalent viral marketing in large-scale social networks. In: Proceedings of the 16th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. KDD '10, pp. 1029–1038. Association for Computing Machinery, New York, NY, USA (2010). https://doi.org/10.1145/1835804.1835934
[18] Maehara, T., Suzuki, H., Ishihata, M.: Exact computation of influence spread by binary decision diagrams. In: Proceedings of the 26th International Conference on World Wide Web, pp. 947–956 (2017). https://doi.org/10.1145/3038912.3052567
[19] Nakamura, K., Nishino, M.: Linear-time exact computation of influence spread on bounded-pathwidth graphs. In: Fraigniaud, P. (ed.) 20th Scandinavian Symposium on Algorithm Theory (SWAT 2026). Leibniz International Proceedings in Informatics (LIPIcs), vol. 370, pp. 34:1–34:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany (2026). https://doi.org/10.4230/LIPIcs.SWAT.2026.34
[20] Jung, K., Heo, W., Chen, W.: IRIE: Scalable and robust influence maximization in social networks. In: 2012 IEEE 12th International Conference on Data Mining, pp. 918–923. IEEE (2012). https://doi.org/10.1109/ICDM.2012.79
[21] Lokhov, A.Y., Saad, D.: Scalable Influence Estimation Without Sampling. Preprint at https://arxiv.org/abs/1912.12749 (2019)
[22] Yang, W., Brenner, L., Giua, A.: Influence maximization in independent cascade networks based on activation probability computation. IEEE Access 7, 13745–13757 (2019) https://doi.org/10.1109/ACCESS.2019.2894073
[23] Burkholz, R., Quackenbush, J.: Cascade size distributions: Why they matter and how to compute them efficiently. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 35, pp. 6840–6849 (2021). https://doi.org/10.1609/aaai.v35i8.16844
[24] Abbe, E., Kulkarni, S., Lee, E.J.: Generalized nonbacktracking bounds on the influence. J. Mach. Learn. Res. 21(31), 1–36 (2020)
[25] Lucier, B., Oren, J., Singer, Y.: Influence at scale: Distributed computation of complex contagion in networks. In: Proceedings of the 21st ACM SIGKDD
International Conference on Knowledge Discovery and Data Mining, pp. 735–744. Association for Computing Machinery, New York (2015). https://doi.org/10.1145/2783258.2783334
[26] Nguyen, H.T., Nguyen, T.P., Vu, T.N., Dinh, T.N.: Outward influence and cascade size estimation in billion-scale networks. Proc. ACM Meas. Anal. Comput. Syst. 1(1), 1–30 (2017) https://doi.org/10.1145/3084457
[27] Cohen, E., Delling, D., Pajor, T., Werneck, R.F.: Sketch-based influence maximization and computation: Scaling up with guarantees. In: Proceedings of the 23rd ACM International Conference on Information and Knowledge Management, pp. 629–638. Association for Computing Machinery, New York (2014). https://doi.org/10.1145/2661829.2662077
[28] Tang, Y., Xiao, X., Shi, Y.: Influence maximization: Near-optimal time complexity meets practical efficiency. In: Proceedings of the 2014 ACM SIGMOD International Conference on Management of Data, pp. 75–86. Association for Computing Machinery, New York (2014). https://doi.org/10.1145/2588555.2593670
[29] Panagopoulos, G., Tziortziotis, N., Vazirgiannis, M., Malliaros, F.: Maximizing influence with graph neural networks. In: Proceedings of the International Conference on Advances in Social Networks Analysis and Mining, pp. 237–244 (2023). https://doi.org/10.1145/3625007.3627293
[30] Fei, G., Jiang, Z., Zhang, Y.: Neural enhanced dynamic message passing. In: Proceedings of the International Conference on Artificial Intelligence and Statistics, pp. 10471–10482. PMLR (2022)
[31] He, S., Zha, H., Ye, X.: Network diffusions via neural mean-field dynamics. In: Advances in Neural Information Processing Systems, vol. 33, pp. 2171–2183. Curran Associates, Inc. (2020)
[32] Požar, M., Krész, M.: A new approximation method for the independent cascade influence function. In: Cherifi, H., Guillaume, J.-L., Melancon, G. (eds.) Proceedings of the Sixth International Symposium on Complex Systems (ISCS 2026). Studies in Systems, Decision and Control, vol. 709. Springer, Cham (2026)
[33] Bóta, A., Krész, M., Pluhár, A.: Systematic learning of edge probabilities in the Domingos–Richardson model. Int. J. Complex Syst. Sci. 1(2), 115–118 (2011)
[34] Valiant, L.G.: The complexity of enumeration and reliability problems. SIAM J. Comput. 8(3), 410–421 (1979) https://doi.org/10.1137/0208032
[35] Leskovec, J., Krause, A., Guestrin, C., Faloutsos, C., VanBriesen, J., Glance, N.: Cost-effective outbreak detection in networks. In: Proceedings of the 13th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 420–429. ACM (2007). https://doi.org/10.1145/1281192.1281239
[36] Provan, J.S.: The complexity of reliability computations in planar and acyclic graphs. SIAM J. Comput. 15(3), 694–702 (1986) https://doi.org/10.1137/0215050
[37] Kimura, M., Saito, K.: Tractable models for information diffusion in social networks. In: Fürnkranz, J., Scheffer, T., Spiliopoulou, M. (eds.) Knowledge Discovery in Databases: PKDD 2006, vol. 4213, pp. 259–271. Springer, Berlin, Heidelberg (2006). https://doi.org/10.1007/11871637_27
[38] Bóta, A., Krész, M., Pluhár, A.: Approximations of the generalized cascade model. Acta Cybern. 21(1), 37–51 (2013) https://doi.org/10.14232/actacyb.21.1.2013.4
[39] Lokhov, A.Y., Mézard, M., Zdeborová, L.: Dynamic message-passing equations for models with unidirectional dynamics. Phys. Rev. E 91(1), 012811 (2015) https://doi.org/10.1103/PhysRevE.91.012811
[40] Pearl, J.: Reverend bayes on inference engines: A distributed hierarchical approach. In: Probabilistic and Causal Inference: The Works of Judea Pearl, pp. 129–138. Association for Computing Machinery, New York (2022). https://doi.org/10.1145/3501714.3501727
[41] Burkholz, R.: Efficient message passing for cascade size distributions. Sci. Rep. 9, 6561 (2019) https://doi.org/10.1038/s41598-019-42873-9
[42] Srivastava, A., Chelmis, C., Prasanna, V.K.: Influence in social networks: A unified model? In: 2014 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM 2014), pp. 451–454. IEEE (2014). https://doi.org/10.1109/ASONAM.2014.6921624
[43] Zhang, M., Dai, C., Ding, C.H.Q., Chen, E.: Probabilistic solutions of influence propagation on social networks. In: Proceedings of the 22nd ACM International Conference on Information and Knowledge Management, pp. 429–438. ACM (2013). https://doi.org/10.1145/2505515.2505718
[44] Chen, Z., Taylor, K.: Modeling the spread of influence for independent cascade diffusion process in social networks. In: 2017 IEEE 37th International Conference on Distributed Computing Systems Workshops, pp. 151–156 (2017). https://doi.org/10.1109/ICDCSW.2017.28
[45] Yang, Y., Chen, E., Liu, Q., Xiang, B., Xu, T., Shad, S.A.: On approximation of real-world influence spread. In: Flach, P.A., De Bie, T., Cristianini, N. (eds.) Machine Learning and Knowledge Discovery in Databases. Lecture Notes in Computer Science, vol. 7524, pp. 548–564. Springer, Berlin, Heidelberg (2012). https://doi.org/10.1007/978-3-642-33486-3_35
[46] Harris, T.E.: A lower bound for the critical probability in a certain percolation process. Mathematical Proceedings of the Cambridge Philosophical Society 56(1),
13–20 (1960) https://doi.org/10.1017/S0305004100034241
[47] Lin, Y., Chen, W., Zhang, Z.: Assessing percolation threshold based on high-order non-backtracking matrices. In: Proceedings of the 26th International Conference on World Wide Web, pp. 223–232. ACM (2017). https://doi.org/10.1145/3038912.3052610
[48] Radicchi, F., Castellano, C.: Beyond the locally treelike approximation for percolation on real networks. Physical Review E 93(3), 030302 (2016) https://doi.org/10.1103/PhysRevE.93.030302
[49] Zhang, P.: Spectral estimation of the percolation transition in clustered networks. Physical Review E 96(4), 042303 (2017) https://doi.org/10.1103/PhysRevE.96.042303
[50] Cantwell, G.T., Newman, M.E.J.: Message passing on networks with loops. Proceedings of the National Academy of Sciences 116(47), 23398–23403 (2019) https://doi.org/10.1073/pnas.1914893116
[51] Kirkley, A., Cantwell, G.T., Newman, M.E.J.: Belief propagation for networks with loops. Science Advances 7(17), 1211 (2021) https://doi.org/10.1126/sciadv.abf1211
[52] Mooij, J.M., Kappen, H.J.: Loop corrections for approximate inference on factor graphs. Journal of Machine Learning Research 8, 1113–1143 (2007)
[53] Del Ferraro, G., Aurell, E.: Dynamic message-passing approach for kinetic spin models with reversible dynamics. Physical Review E 92(1), 010102 (2015) https://doi.org/10.1103/PhysRevE.92.010102
[54] Gao, F., Liu, J., Zhao, Y.: Recurrent dynamic message passing with loops for epidemics on networks. Chaos, Solitons & Fractals 184, 115045 (2024) https://doi.org/10.1016/j.chaos.2024.115045
[55] Chen, W., Wang, Y., Yang, S.: Efficient influence maximization in social networks. In: Proceedings of the 15th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. KDD '09, pp. 199–208. Association for Computing Machinery, New York, NY, USA (2009). https://doi.org/10.1145/1557019.1557047
[56] Leskovec, J., Huttenlocher, D., Kleinberg, J.: Signed networks in social media. In: Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, pp. 1361–1370 (2010). https://doi.org/10.1145/1753326.1753532
[57] Leskovec, J., Lang, K.J., Dasgupta, A., Mahoney, M.W.: Community structure in large networks: Natural cluster sizes and the absence of large well-defined clusters. Internet Math. 6(1), 29–123 (2009) https://doi.org/10.1080/15427951.
2009.10129177
[58] Richardson, M., Agrawal, R., Domingos, P.: Trust management for the semantic web. In: The Semantic Web – ISWC 2003, vol. 2870, pp. 351–368. Springer (2003). https://doi.org/10.1007/978-3-540-39718-2_23
[59] Leskovec, J., Kleinberg, J., Faloutsos, C.: Graph evolution: Densification and shrinking diameters. ACM Trans. Knowl. Discov. Data 1(1) (2007) https://doi.org/10.1145/1217299.1217301
[60] Leskovec, J., Kleinberg, J., Faloutsos, C.: Graphs over time: densification laws, shrinking diameters and possible explanations. In: Proceedings of the Eleventh ACM SIGKDD International Conference on Knowledge Discovery in Data Mining, pp. 177–187. Association for Computing Machinery, New York (2005). https://doi.org/10.1145/1081870.1081893
[61] Erdős, P., Rényi, A.: On random graphs. I. Publicationes Mathematicae Debrecen 6(3–4), 290–297 (1959) https://doi.org/10.5486/PMD.1959.6.3-4.12
[62] Gilbert, E.N.: Random graphs. The Annals of Mathematical Statistics 30(4), 1141–1144 (1959) https://doi.org/10.1214/aoms/1177706098
[63] Barabási, A.-L., Albert, R.: Emergence of scaling in random networks. Science 286(5439), 509–512 (1999) https://doi.org/10.1126/science.286.5439.509
[64] Holme, P., Kim, B.J.: Growing scale-free networks with tunable clustering. Physical Review E 65(2), 026107 (2002) https://doi.org/10.1103/PhysRevE.65.026107
[65] Holland, P.W., Laskey, K.B., Leinhardt, S.: Stochastic blockmodels: First steps. Soc. Netw. 5(2), 109–137 (1983) https://doi.org/10.1016/0378-8733(83)90021-7
[66] Watts, D.J., Strogatz, S.H.: Collective dynamics of ‘small-world’ networks. Nature 393(6684), 440–442 (1998) https://doi.org/10.1038/30918
[67] Požar, M.: Independent Cascade Approximations. Accessed 2 October 2026 (2026). https://github.com/Matic054/Independent_Cascade_Approximations