Source Localization of Graph Diffusion via Variational Autoencoders for Graph Inverse Problems

Chen Ling, Junji Jiang, Junxiang Wang, Liang Zhao · DOI

Introduction

Identifying the origin of a network diffusion—such as a rumor on social media, a virus in a computer network, or a failure in a power grid—is a critical yet challenging task known as graph source localization. This task is fundamentally an inverse problem: given an observed state of a graph (e.g., which nodes are currently "infected"), we must infer the initial "seed" nodes that triggered the cascade.

The problem is notoriously ill-posed because diffusion is a many-to-one process. As illustrated in the figure below, different sets of starting nodes can evolve into nearly identical spread patterns over time, creating significant ambiguity. Traditional deterministic methods often struggle with this uncertainty and typically rely on rigid, pre-defined diffusion models that may not reflect real-world complexity.

Illustration of the graph diffusion process and the ambiguity in source localization. Different initial seed sets can lead to similar diffused observations over time, making the inverse problem ill-posed.

The SL-VAE Framework

To address these challenges, the authors introduce Source Localization Variational AutoEncoder (SL-VAE). This probabilistic framework treats source localization as a generative inverse problem. Instead of searching the massive combinatorial space of all possible node sets, SL-VAE learns the underlying distribution of typical diffusion sources.

The architecture consists of two primary components:

  1. Generative Prior (VAE): A Variational Autoencoder is trained on historical source-observation pairs to capture the "intrinsic patterns" of likely sources. This allows the model to prioritize candidate sources that are structurally or contextually plausible (e.g., highly central nodes).
  2. Forward Model: A plug-and-play, differentiable diffusion estimation model (such as GAT or DeepIS) simulates the spread from a hypothesized source. This decoupling allows SL-VAE to adapt to any underlying diffusion pattern without being tied to a specific epidemic model.

During inference, SL-VAE employs a Maximum A Posteriori (MAP) initialization strategy and a log-sum-exp trick to efficiently navigate the discrete space of possible source nodes, guided by the learned VAE prior.

Experimental Evaluation

The authors evaluated SL-VAE across seven diverse datasets, including simulated diffusion on networks like Karate and Power Grid, and real-world cascades from Digg and Memetracker.

Key Results

  • Superior Accuracy: SL-VAE significantly outperformed state-of-the-art baselines (e.g., LPSI, GCNSI), achieving an average improvement of 20% in ROC-AUC and 10% in F1-score across the datasets.
  • Robustness to Noise: The model proved resilient to noise, maintaining high accuracy even in Susceptible-Infected-Recovered (SIR) models where nodes can recover and stop spreading, as well as in complex real-world information propagation.
  • Scalability: The framework demonstrates linear runtime scaling with graph size, making it computationally feasible for large-scale networks of up to 16,000 nodes.

Conclusion

SL-VAE represents a significant advancement in graph inverse problems by successfully applying deep generative priors to source localization. By modeling the distribution of sources rather than a single deterministic guess, the framework effectively handles the inherent ambiguity of network diffusion. Future research may extend this approach to dynamic graphs with evolving topologies or explore few-shot learning to reduce the data requirements for training the generative prior.

Summary updated

BibTeX
@inproceedings{ling2022source,
  author = {Chen Ling and Junji Jiang and Junxiang Wang and Liang Zhao},
  title = {{Source Localization of Graph Diffusion via Variational Autoencoders for Graph Inverse Problems}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2022},
  doi = {10.1145/3534678.3539288},
}
Figure