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

Hypergraph Simultaneous Generators

Bahman Pedrood, Carlotta Domeniconi, Kathryn B. LaskeyAISTATS 2022

Abstract

Community detection in hypergraphs is often computationally intractable due to the exponential growth of the potential hyperedge space. We present HySGen (Hypergraph Simultaneous Generators), a probabilistic generative model that utilizes a Taylor expansion reduction scheme to transform the inference problem into a linear-time operation relative to the hypergraph's volume. HySGen preserves multi-way connection information and outperforms traditional graph-based methods on both synthetic and real-world datasets, demonstrating robustness to noisy, high-order interactions.

Introduction

Most community detection algorithms operate on standard graphs where connections are limited to pairs of nodes. However, real-world data—such as research collaborations or group communications—is inherently "higher-order," forming hyperedges that involve any number of nodes. Traditional approaches typically "flatten" these hyperedges into cliques, a process that is lossy and introduces significant noise. While hypergraph-specific models exist, they often face a "curse of dimensionality" where the number of possible hyperedges grows exponentially ($2^N$), making inference intractable for large datasets without imposing strict limits on hyperedge size.

Methods

HySGen treats community detection as an inference problem within an affiliation network. Each node possesses a "strength of affiliation" to various communities, and a hyperedge is formed if at least one community "generates" it. This is modeled using a Noisy-OR framework, where the probability that a hyperedge does not exist is the product of the probabilities that no community generated it.

The HySGen generative model represented as a plate diagram, showing the relationship between community affiliations and hyperedge generation.

To find the Maximum A Posteriori (MAP) community assignments, the algorithm must account for both existing hyperedges and the astronomical number of non-existent ones. The core innovation of HySGen is a mathematical reduction using a Taylor expansion (specifically a Maclaurin series) to approximate the log-likelihood of non-existent hyperedges. This allows node membership values to be factored out, reducing update complexity from exponential to linear ($O(C \times \text{vol}_H)$), where $C$ is the number of communities and $\text{vol}_H$ is the sum of the sizes of all hyperedges.

Key Insights and Results

A primary challenge in community detection is the "Party Problem," illustrated in the synthetic school dataset. In this scenario, two large hyperedges representing "welcome parties" attended by most students create massive cliques in a flattened graph. Standard graph-based methods fail here because these cliques obscure the true underlying communities (e.g., CS vs. History students).

Visualization of the synthetic school dataset: (a) ground truth communities, (b) hypergraph representation with overlapping groups, and (c) the flattened graph representation where noise obscures community structure.

HySGen correctly identifies these large hyperedges as "noisy" and successfully recovers the true community structure. In evaluations on real-world datasets like the NSF collaboration network and the MIT Scratch community, HySGen consistently outperformed baselines such as BigCLAM, CoDA, and Node2vec. For instance, on the Scratch dataset, HySGen achieved an F1 score of 0.441, significantly higher than BigCLAM's 0.372, while maintaining computational efficiency comparable to graph-based methods.

Conclusion

HySGen provides a scalable, lossless framework for hypergraph community detection. By leveraging a clever mathematical reduction, it bypasses the exponential complexity typically associated with high-order data. Future work will explore parallelizing node updates to handle millions of hyperedges and extending the model to support directed or weighted hypergraphs.

Summary updated

BibTeX
@inproceedings{pedrood2022hypergraph,
  author = {Bahman Pedrood and Carlotta Domeniconi and Kathryn B. Laskey},
  title = {{Hypergraph Simultaneous Generators}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
}
Figure