NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Epicenter of random epidemic spanning trees on finite graphs

Daniel R. Figueiredo, Giulio IacobelliMathematical 2022

Abstract

Epidemic source detection is the problem of identifying the network node that originated an epidemic from a partial observation of the epidemic process. The problem finds applications in different contexts, such as detecting the origin of rumors in online social media, and has been studied under various assumptions. Different from prior studies, this work considers an epidemic process on a finite graph that starts on a random node (epidemic source) and terminates when all nodes are infected, yielding a rooted and directed epidemic tree that encodes node infections (i.e., a directed spanning tree of the graph with every edge directed away from the epidemic source). Assuming knowledge of the underlying graph and the undirected spanning tree (i.e., the infection edges but not their directions), can the epidemic source be accurately identified? This work tackles this problem by introducing the epicenter, an efficient estimator for the epidemic source, and thus, the direction of every edge in the epidemic tree. When the underlying graph is vertex-transitive the epicenter can be computed in linear time and it coincides with the well-known distance center of the epidemic tree. Moreover, on a complete graph the epicenter is also the most likely estimator for the source. Finally, the accuracy of the epicenter is evaluated numerically on five different graph models and the performance strongly depends on the graph structure, varying from 31% (on complete graphs) to 13% (on sparse power-law graphs). However, for all graph models considered the epicenter exhibited an accuracy higher than the distance center, being three times more accurate on sparse power-law graphs.

Introduction

Identifying the origin of a network-based epidemic—often called "patient zero"—is a critical task in epidemiology and digital forensics. While many existing models rely on snapshots of infected nodes, this research focuses on a scenario where the set of infection edges is known, but their directions and timings are not. This set of edges forms an undirected spanning tree $\tau$ of the underlying graph $G$. The goal is to identify the root of this tree, which corresponds to the epidemic source.

An underlying graph $G$ and two possible spanning trees $\tau$ and $\tau'$, illustrating how different infection patterns can arise from the same network structure.

The Epicenter Estimator

The researchers propose the epicenter as a novel estimator for the epidemic source. The intuition is that the true source should generate an infection tree that closely aligns with the shortest paths in the original network. Specifically, the epicenter $r^*_{EPI}$ is defined as the node that minimizes the sum of the differences between distances in the infection tree ($\tau$) and distances in the underlying graph ($G$):

$$r^*_{EPI}(G, \tau) := \arg \min_{v \in V} \sum_{u \in V} (d_\tau(v, u) - d_G(v, u))$$

This estimator leverages the constraints of the underlying graph $G$ to prune unlikely source candidates. For instance, if a node's distance to others in the tree is significantly larger than its distance in the graph, it is less likely to be the source.

Computational Efficiency

The paper provides several algorithmic results:

  • General Graphs: An $O(nm)$ algorithm using Breadth-First Search (BFS) to calculate distances for all candidate nodes.
  • Vertex-Transitive Graphs: For highly symmetric networks (like grids or complete graphs), an $O(n)$ linear-time algorithm is possible.
  • Optimality: On a complete graph, the epicenter is proven to be the Maximum Likelihood Estimator (MLE), making it the statistically "best" guess under this model.

Experimental Evaluation

The epicenter was tested against the traditional "distance center" (the node that minimizes total distance within the tree $\tau$ alone) across various synthetic and real-world datasets.

Synthetic and Real-World Datasets

The study utilized five synthetic graph models: Complete Graphs (CO), 2D Tori (TO), Erdős-Rényi (ER), Watts-Strogatz (WS), and Barabási-Albert (BA) power-law graphs. Additionally, two high-resolution real-world contact networks were analyzed: the Haslemere Dataset (449 volunteers) and the US High School Dataset (788 individuals).

Key Results and Insights

The epicenter consistently outperformed the distance center across all models. The performance gain was most significant in sparse, power-law graphs (BA model), where the epicenter was 3.26 times more accurate. In the real-world Haslemere network, it showed a 54% improvement in accuracy over traditional methods.

The accuracy varies by topology: it reaches approximately 31% on complete graphs (converging to $1 - \ln 2$ as $n \to \infty$) and about 13% on sparse power-law graphs. The results suggest that the underlying graph structure provides vital constraints that the epicenter successfully exploits, especially in sparse networks where the tree structure is more strictly dictated by the graph's connectivity.

Conclusion

The epicenter provides a computationally efficient and statistically robust method for epidemic source detection when the infection tree is known. While the current model assumes full observation of the spanning tree, it sets a foundation for future research into partial observations and set-based estimators for ambiguous source identification.

Summary updated

BibTeX
@inproceedings{figueiredo2022epicenter,
  author = {Daniel R. Figueiredo and Giulio Iacobelli},
  title = {{Epicenter of random epidemic spanning trees on finite graphs}},
  booktitle = {Mathematical},
  year = {2022},
  doi = {10.1051/mmnp/2022048},
}
Figure