Generative hypergraph clustering: from blockmodels to modularity

Philip S. Chodrow, Nate Veldt, Austin R. Benson
1/24/2021
248 citations
cs.SIcs.DMphysics.data-an

Official code: PhilChodrow/HypergraphModularity (27 stars, Jupyter Notebook, MIT, last commit 2022-06-10).

Abstract

Hypergraphs are a natural modeling paradigm for a wide range of complex relational systems. A standard analysis task is to identify clusters of closely related or densely interconnected nodes.

Show full abstract

Many graph algorithms for this task are based on variants of the stochastic blockmodel, a random graph with flexible cluster structure. However, there are few models and algorithms for hypergraph clustering. Here, we propose a Poisson degree-corrected hypergraph stochastic blockmodel (DCHSBM), a generative model of clustered hypergraphs with heterogeneous node degrees and edge sizes. Approximate maximum-likelihood inference in the DCHSBM naturally leads to a clustering objective that generalizes the popular modularity objective for graphs. We derive a general Louvain-type algorithm for this objective, as well as a a faster, specialized "All-Or-Nothing" (AON) variant in which edges are expected to lie fully within clusters. This special case encompasses a recent proposal for modularity in hypergraphs, while also incorporating flexible resolution and edge-size parameters. We show that AON hypergraph Louvain is highly scalable, including as an example an experiment on a synthetic hypergraph of one million nodes. We also demonstrate through synthetic experiments that the detectability regimes for hypergraph community detection differ from methods based on dyadic graph projections. We use our generative model to analyze different patterns of higher-order structure in school contact networks, U.S. congressional bill cosponsorship, U.S. congressional committees, product categories in co-purchasing behavior, and hotel locations from web browsing sessions, finding interpretable higher-order structure. We then study the behavior of our AON hypergraph Louvain algorithm, finding that it is able to recover ground truth clusters in empirical data sets exhibiting the corresponding higher-order structure.

View on arXivView PDF

Code Implementations(1)

MIT

Code for generative hypergraph clustering via modularity-like objective functions.

275Jupyter Notebook, JuliaMay 9, 20204 years agoMIT

Similar Papers

Cite this paper

@article{chodrow2021generative,
  title  = {Generative hypergraph clustering: from blockmodels to modularity},
  author = {Philip S. Chodrow and Nate Veldt and Austin R. Benson},
  year   = {2021},
  eprint = {2101.09611},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.09611}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.09611.svg)](https://codeofpaper.com/paper/2101.09611)

Discussion