Disentangling Mixtures of Epidemics on Graphs

Jessica Hoffmann, Soumya Basu, Surbhi Goel, Constantine Caramanis

Abstract

We consider the problem of learning the weighted edges of a balanced mixture of two undirected graphs from epidemic cascades. While mixture models are popular modeling tools, algorithmic development with rigorous guarantees has lagged. Graph mixtures are apparently no exception: until now, very little is known about whether this problem is solvable. To the best of our knowledge, we establish the first necessary and sufficient conditions for this problem to be solvable in polynomial time on edge-separated graphs. When the conditions are met, i.e., when the graphs are connected with at least three edges, we give an efficient algorithm for learning the weights of both graphs with optimal sample complexity (up to log factors). We give complimentary results and provide sample-optimal (up to log factors) algorithms for mixtures of directed graphs of out-degree at least three, for mixture of undirected graphs of unbalanced and/or unknown priors.

Introduction

In network science, inferring the underlying structure of a network—"learning the graph"—is typically achieved by observing how information, viruses, or rumors propagate through a population. Standard models assume a single underlying graph governs these dynamics. However, real-world interactions are often more nuanced. For instance, on social media platforms like Twitter, a user might engage with sports-related content differently than political content. In such scenarios, the observed data represents a mixture of different spreading mechanisms (graphs) acting on the same set of nodes.

The core challenge lies in the latent nature of the mixture: we observe the cascades (who was infected and when) but lack labels indicating which graph a specific cascade followed. This research, by Jessica Hoffmann and colleagues at UT Austin, addresses this inverse problem, establishing the first rigorous conditions and polynomial-time algorithms for disentangling two distinct graphs from unlabeled epidemic data.

Methods: Local Primitives for Global Recovery

The authors utilize the Independent Cascade Model (ICM), where an infected node attempts to infect its neighbors with a probability defined by the edge weight. Rather than relying on iterative methods like Expectation-Maximization (EM), which can struggle with convergence or require massive datasets, the authors propose a combinatorial, moment-based approach.

Local graph primitives: (a) Star, (b) Triangle, and (c) Line structures used to solve for edge weights.

The strategy hinges on two "local primitives":

  1. The Star Primitive: For nodes with at least three neighbors (a "star" vertex), the first and second moments of infection events allow for a system of polynomial equations with a closed-form solution for the edge weights of both graphs.
  2. The Line Primitive: In sparser regions where nodes have only two neighbors, the authors utilize a "line" primitive—a four-node path—to extract higher-order moments necessary for weight recovery.

The global algorithm initiates at a starting point, solves these local puzzles, and iteratively propagates the solutions across the network, ensuring "sign consistency" between neighboring nodes.

Key Insights: The Threshold of Identifiability

A significant contribution of this work is identifying the "Threshold of Identifiability." The authors prove that a mixture cannot be learned if the graph is too sparse or disconnected.

Forbidden structures for graph mixture identifiability: (a) single edge, (b) two edges, and (c) disconnected components.
  • The Power of Three: Identifiability requires at least three edges. A degree of three provides the necessary number of equations to solve for the unknowns introduced by the two-graph mixture.
  • Local to Global Recovery: The discovery that solving the mixture locally (within a node's neighborhood) is sufficient to eventually recover the entire global structure.
  • Separability (Δ): The algorithm requires that edge weights in $G_1$ are sufficiently different from those in $G_2$. This parameter, Δ, directly impacts sample complexity; as Δ approaches zero, the required data grows.

Results and Performance

The proposed algorithm is both efficient and theoretically sound:

  • Polynomial Complexity: The algorithm runs in $O(N^2)$ time, where $N$ is the number of nodes, ensuring scalability for large networks.
  • Sample Optimality: For undirected graphs, the sample complexity is $O(\frac{N}{\epsilon^2 \Delta^4} \log \frac{N}{\delta})$, matching theoretical lower bounds and proving the algorithm uses the minimum data necessary.
  • Generalization: The results extend to directed graphs (with out-degree ≥ 3) and mixtures with unbalanced or unknown priors.

Limitations and Future Directions

While a breakthrough, the work currently focuses on mixtures of exactly two graphs. Extending these guarantees to $k$-mixtures remains an open problem. Additionally, the requirement for an out-degree of three in directed graphs suggests that learning extremely sparse directed mixtures may require new techniques.

Summary updated

BibTeX
@inproceedings{hoffmann2020disentangling,
  author = {Jessica Hoffmann and Soumya Basu and Surbhi Goel and Constantine Caramanis},
  title = {{Disentangling Mixtures of Epidemics on Graphs}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=GB1tNHa6ReY},
}
Figure