Hypergraph Clustering: A Modularity Maximization Approach

Tarun Kumar, Sankaran Vaidyanathan, Harini Ananthapadmanabhan, Srinivasan Parthasarathy, Balaraman RavindranarXiv 2018

Abstract

This paper presents a principled modularity maximization framework for hypergraph clustering. By introducing a node-degree-preserving null model and an Iteratively Reweighted Modularity Maximization (IRMM) algorithm, the authors enable efficient and accurate partitioning of super-dyadic relationships. Experimental results on real-world datasets demonstrate that IRMM significantly outperforms traditional spectral methods in both accuracy and scalability.

Introduction

Most network analysis tools treat relationships as dyadic, connecting pairs of nodes via edges. However, real-world data is often super-dyadic—such as research papers with multiple authors or groups of consumers purchasing the same items. These are best represented as hypergraphs, where a single "hyperedge" can connect any number of nodes.

Traditional approaches often reduce hypergraphs to standard graphs (e.g., via clique expansion), but this typically loses structural information and distorts node degrees. Existing hypergraph-specific methods, like spectral clustering, are often computationally prohibitive for large-scale data. This paper proposes a method that is both information-preserving and computationally efficient.

Methodology

The authors bridge the gap between hypergraph theory and fast graph clustering through three key contributions:

  1. A New Null Model: The authors define a hypergraph null model that preserves the exact degree of every node, providing a more accurate baseline for "randomness" compared to standard graph models.
  2. Degree-Preserving Reduction: They mathematically prove that a specific weighted clique reduction—$A = HW(D_e - I)^{-1}H^T$—allows a hypergraph to be treated as a graph without losing original node-degree information.
  3. Iteratively Reweighted Modularity Maximization (IRMM): This core algorithm starts with a standard clustering and iteratively adjusts hyperedge weights to favor "unbalanced" cuts.
The IRMM process: (a) shows initial messy cuts before reweighting; (b) shows the stabilized, cleaner cut after the iterative process.

The Informativeness of Cuts

A key insight of the paper is that not all hyperedge cuts are equal. A hyperedge split 50/50 between two clusters is ambiguous, whereas a 95/5 split strongly suggests that the minority nodes are outliers that should be integrated into the majority cluster. IRMM explicitly rewards these unbalanced configurations.

Comparison of cut informativeness: an unbalanced 2/18 split (left) results in a higher metric value than a balanced 10/10 split (right), allowing the algorithm to distinguish between partition qualities.

Experimental Results

The researchers evaluated IRMM on five real-world datasets, including TwitterFootball, Cora, and Arnetminer.

  • Accuracy: IRMM consistently outperformed state-of-the-art baselines. On the TwitterFootball dataset, IRMM achieved an F1 score of 0.5463, compared to 0.3596 for traditional Hypergraph Spectral Clustering.
  • Scalability: On the Arnetminer dataset (>21k nodes), the modularity-based approach was approximately 8 times faster than spectral methods.
  • Automatic Detection: Unlike spectral methods, this framework naturally discovers the optimal number of clusters without requiring the user to specify $k$ in advance.

Conclusion

By extending modularity maximization to hypergraphs, this work provides a scalable and mathematically grounded alternative to spectral clustering. The use of a degree-preserving null model and iterative reweighting ensures that the rich structural information inherent in super-dyadic relationships is preserved and leveraged for superior partitioning.

Summary updated

BibTeX
@misc{kumar2018hypergraph,
  author = {Tarun Kumar and Sankaran Vaidyanathan and Harini Ananthapadmanabhan and Srinivasan Parthasarathy and Balaraman Ravindran},
  title = {{Hypergraph Clustering: A Modularity Maximization Approach}},
  year = {2018},
  eprint = {1812.10869},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.10869},
}
Figure