Strongly Local Hypergraph Diffusions for Clustering and Semi-supervised Learning

Meng Liu, Nate Veldt, Haoyu Song, Pan Li, David F. Gleich · DOI

Introduction

Hypergraphs provide a powerful framework for modeling complex, multi-way relationships found in real-world data, such as group communications or co-purchasing patterns. However, analyzing these structures at scale remains computationally challenging. Traditional approaches often simplify hypergraphs into standard graphs, losing critical higher-order information, or rely on global algorithms that are too slow for massive datasets. This paper introduces Localized Quadratic Hypergraph Diffusions (LHQD), also known as Local Hypergraph PageRank (LHPR), a "strongly local" algorithm designed for efficient clustering and semi-supervised learning on large-scale hypergraphs.

The Need for Strong Locality

A major limitation of existing hypergraph algorithms is their lack of strong locality. In many applications, such as finding a specific community starting from a few "seed" nodes, it is inefficient to process the entire network. A strongly local algorithm has a runtime proportional to the size of the output cluster, making it ideal for "needle-in-a-haystack" problems. Prior to this work, the field lacked a method that combined strong locality with the flexibility to handle various hyperedge splitting functions and theoretical quality guarantees.

Methodology

The proposed LHQD framework is built upon three core components:

  1. Hypergraph-to-Graph Reduction: The authors utilize a "gadget" technique to transform hyperedges into directed graph structures with auxiliary nodes. This reduction is mathematically designed to preserve hypergraph conductance, ensuring that optimal cuts in the reduced graph correspond to optimal cuts in the original hypergraph.
  2. Quadratic Objective Function: The algorithm optimizes a localized clustering objective based on a squared 2-norm, effectively extending the well-known Andersen-Chung-Lang (ACL) PageRank algorithm to the hypergraph domain.
  3. The "Push" Solver: To achieve high efficiency, the authors adapt a coordinate descent "push" method. This iterative solver moves "mass" from seed nodes to their neighbors only when it improves the objective function. Since the computation only involves nodes relevant to the local cluster, the algorithm maintains its strongly local property.

The framework is highly flexible, allowing for different hyperedge penalty functions and generalizations to $p$-norms to prevent "cluster bleeding" in dense regions of the graph.

Experimental Results

The researchers evaluated LHQD on several massive real-world datasets, including Yelp reviews, Amazon product categories (2.2M nodes), and Stack Overflow questions (15M nodes).

Yelp Case Study: Restaurant Clustering

In a localized clustering task on Yelp data, the goal was to recover restaurant communities in Las Vegas. The proposed method (QHPR/LHPR) significantly outperformed baselines in terms of accuracy and recall.

Performance of the proposed QHPR method on the Yelp dataset, achieving an F1 score of 0.886.
Performance of the HyperLocal baseline on the same dataset, which suffers from very low recall (R=0.05).

Scalability and Speed

On the Amazon dataset, LHQD demonstrated a 20x speedup over state-of-the-art flow-based methods. On the massive Stack Overflow dataset, it achieved a median F1 score of 0.66 in just 3.7 seconds, whereas competing high-quality methods required nearly a minute.

Conclusion

This work presents the first strongly local diffusion algorithm for hypergraphs that offers both theoretical guarantees and practical efficiency. By combining a clever graph reduction with a localized "push" solver, the authors enable high-quality community detection on networks with millions of edges in mere seconds. Future research will focus on optimizing $p$-norm solvers and exploring more complex splitting functions to further enhance the algorithm's versatility.

Summary updated

BibTeX
@inproceedings{liu2020strongly,
  author = {Meng Liu and Nate Veldt and Haoyu Song and Pan Li and David F. Gleich},
  title = {{Strongly Local Hypergraph Diffusions for Clustering and Semi-supervised Learning}},
  booktitle = {The Web Conference},
  year = {2020},
  doi = {10.1145/3442381.3449887},
}
Figure