HyperCD: Effective Source Detection in Hypergraphs via Causal Disentanglement

Yan Kang, Peican Zhu, Keke Tang, Le Cheng, Zun Liu, Ang Dong, Yangming GuoarXiv 2026

TL;DR

HyperCD is a novel framework designed to identify the starting point of information cascades (like rumors or viruses) in hypergraphs by explicitly separating true propagation signals from environmental noise. By combining a dual-branch causal disentanglement module with efficient linear hypergraph attention, it achieves a significant performance leap over existing state-of-the-art methods in noisy, real-world scenarios.

What Problem Does This Paper Address?

Identifying the source of a rumor or an infectious disease is a classic problem in network science. While traditional methods focus on pairwise graphs (where connections are strictly 1-on-1), real-world interactions often happen in groups—think of a group chat or a family gathering. These are better modeled as hypergraphs, where a single "hyperedge" can connect multiple nodes simultaneously.

However, source detection in hypergraphs faces two major hurdles:

  1. Causal Entanglement: Real-world data is messy. Observed snapshots of an infection are often "entangled" with confounding noise—external events or fake traffic that can shift the perceived center of the spread, leading to "spurious peaks" that trick standard algorithms.
  2. Complex Dynamics: High-order group interactions create non-linear diffusion patterns that are much harder to "reverse-engineer" than simple pairwise spreads.
Figure 1: The signal-noise entanglement problem in source detection. (a) Ideal infection density distribution of a propa- gation process. (b) Distorted infection density distribution by confounding environmental noise. (c) Recovered infec- tion density distribution by performing proposed HyperCD, highlighting its effective disentanglement capabilities.

Methods

The authors propose HyperCD (Hypergraph Causal Disentanglement), which tackles these issues through a three-stage pipeline:

  • Feature Construction: The model first builds structure-aware node embeddings using Hypergraph Convolutional Networks (HGCNs), incorporating infection states, timestamps, and Laplacian positional encodings to capture the network's geometry.
  • Causal Disentanglement Module (CDM): This is the core innovation. Using a dual-branch Variational Autoencoder (VAE), the model projects snapshot embeddings into two distinct latent spaces: one for causal propagation semantics ($Z_p$) and one for confounding noise ($Z_e$). To ensure these spaces are truly independent, the authors employ Mutual Information (MI) minimization and an adversarial inference loss that prevents the noise branch from being useful for source detection.
  • Attention-based Hypergraph Aggregation (AHA): To handle the complex dynamics, the model uses a linear attention mechanism. Standard Transformers are computationally expensive ($O(N^2)$); HyperCD uses a kernel-based linear approximation ($O(N)$) to efficiently pass messages between nodes and hyperedges. Crucially, it processes these snapshots in reverse temporal order to trace the diffusion back to its origin.
Figure 2: Schematic of the proposed HyperCD framework. (a) Feature Construction: For initial feature embeddings, individual infection states and structural positions are aggregated to construct node features, which are subsequently processed by HGCNs. (b) Causal Disentanglement: A dual-branch variational autoencoder is devised, with a disentanglement loss term constraining the module to disentangle causal propagation semantics from confounding noise. (c) Attention-based Hypergraph Aggregation Module: Based on the decoupled propagation branches, an attention-based hypergraph aggregation module is developed, which alternates between node-to-hyperedge and hyperedge-to-node propagation to capture complex diffusion dynamics of hypergraphs. (d) Output: Learned representations are fed into an MLP to infer the sources.

Datasets

The model was evaluated on six diverse real-world datasets:

  • Social/Citation Networks: Cora, Citeseer, and PubMed.
  • Biological/Structural Networks: Zoo, House, and NTU2012.

The authors simulated diffusion using the Susceptible-Infected (SI) model and introduced Gaussian noise to test the framework's robustness against causal entanglement.

Key Insights and Ideas

  • Semantic Denoising vs. Node Denoising: Unlike previous attempts that try to clean noise at the individual node level, HyperCD performs "semantic" denoising by splitting the entire latent representation. This allows the model to ignore snapshot-level confounders that might otherwise look like legitimate propagation.
  • The Power of Adversarial Loss: By training the noise branch to be bad at source detection while the propagation branch is good, the model forces a clean separation of features.
  • Efficiency in High-Order Space: The use of linear attention allows the model to scale to larger hypergraphs without the prohibitive memory costs of standard attention mechanisms.

Key Results

HyperCD consistently outperformed eight competitive baselines (including GCNSI, IVGD, and the recent SDMamba).

  • Accuracy Boost: It achieved an average F-score improvement of 7.79% across all datasets compared to the best-performing baseline.
  • Robustness to Sparsity: The model maintained high performance even when snapshots were collected at very infrequent intervals, suggesting it is highly effective for real-world scenarios where data collection is limited.
  • Validation of Disentanglement: Ablation studies confirmed that the propagation branch ($Z_p$) holds the determinant causal signals, while the noise branch ($Z_e$) performs no better than random guessing for source detection, proving the effectiveness of the disentanglement strategy.
Validation of disentanglement: The propagation branch (blue) significantly outperforms the noise branch (grey) in source detection accuracy.

Limitations and Future Work

While HyperCD shows great promise, the authors note a few areas for growth:

  • Diffusion Models: The current study primarily uses the SI model. Future work could test HyperCD against more complex models like SIR (Recovered) or SIS (Susceptible-Infected-Susceptible).
  • Network Complexity: The authors plan to explore even more complex network structures and advanced disentanglement strategies to handle the evolving nature of high-order social networks.

Overall, HyperCD represents a significant step forward in making source detection practical for the messy, group-oriented reality of modern information networks.

Summary updated

BibTeX
@misc{kang2026hypercd,
  author = {Yan Kang and Peican Zhu and Keke Tang and Le Cheng and Zun Liu and Ang Dong and Yangming Guo},
  title = {{HyperCD: Effective Source Detection in Hypergraphs via Causal Disentanglement}},
  year = {2026},
  eprint = {2610.16303},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.16303},
}
Figure