Densest Subhypergraph: Negative Supermodular Functions and Strongly Localized Methods

Yufan Huang, David F. Gleich, Nate Veldt

Introduction

In the era of massive datasets, identifying dense clusters within networks is a fundamental task for applications ranging from social media trend detection to fraud identification. While "global" algorithms exist for finding the densest subgraph, they often suffer from two major drawbacks: they may return large, irrelevant clusters far from a researcher's specific area of interest, and they are computationally prohibitive for graphs with billions of nodes.

This paper introduces a novel framework for finding dense clusters in hypergraphs—networks where edges can connect more than two nodes—by focusing on a specific "seed" set. The authors demonstrate that for certain locality parameters, these clusters can be identified using "strongly local" algorithms, where computation time scales with the size of the discovered cluster rather than the entire dataset.

Methods and Theoretical Framework

The authors provide a theoretical foundation for localized densest subhypergraph discovery through several key technical contributions:

  • The Density Improvement (DI) Framework: Inspired by Dinkelbach’s algorithm, DI is a strongly polynomial-time algorithm for the "Densest Supermodular Subset" problem. Unlike traditional binary search methods for optimal density, DI iteratively improves the solution, offering significant practical speedups.
  • Handling Negative Values: Localized objectives often subtract a penalty for straying from the seed set, which can result in negative function values. The authors mathematically prove that these problems can be reduced to non-negative versions without losing the optimal solution.
  • Strongly Local Flow Algorithm: The paper identifies a critical phase transition at the locality parameter $\epsilon \ge 1$. When this threshold is met, the algorithm only needs to explore a small neighborhood around the seed, using a max-flow/min-cut construction on a local hypergraph that grows only as much as necessary to certify the result.

Experimental Setup

The researchers evaluated their methods on a diverse set of real-world hypergraph datasets, including retail data (Walmart Trips), e-commerce (Amazon Reviews), web browsing (Trivago Clicks), and Q&A platforms (Ask Ubuntu, Math SX). They also conducted a case study on a massive host-level webgraph from Common Crawl containing 490 million nodes.

Key Results and Insights

Efficiency and Speedup

The proposed Density Improvement (DI) framework consistently outperformed traditional binary search (BS) methods. Across all tested datasets, DI was approximately 3.5x faster than the standard approach.

Performance comparison of Density Improvement (DI) vs. Binary Search (BS) across various datasets.

Accuracy in Hypergraph Recovery

A common practice in network analysis is to simplify hypergraphs into regular graphs via clique expansion. However, the authors demonstrate that this process loses critical structural information. Their direct hypergraph approach (FracVol) consistently achieves higher F1 scores in "planted" model experiments, where a known dense cluster must be recovered from noise.

F1 Score performance of proposed hypergraph methods (FracVol) compared to graph-based baselines.

Real-world Utility

In a large-scale webgraph case study, the algorithm successfully identified a dense cluster of approximately 1,300 academic domains worldwide starting from only a few seed domains. This demonstrates the algorithm's ability to "crawl" effectively from a local seed to find meaningful, global communities.

Limitations and Future Work

While the paper establishes that $\epsilon \ge 1$ guarantees locality, selecting the optimal $\epsilon$ for a specific application still requires empirical tuning. Additionally, the quality of the output remains dependent on the initial seed set; a poorly chosen seed may lead to trivial results. Future work may focus on reducing the initial engineering overhead required to manage massive hypergraph oracles for datasets exceeding billions of edges.

Summary updated

BibTeX
@inproceedings{huang2023densest,
  author = {Yufan Huang and David F. Gleich and Nate Veldt},
  title = {{Densest Subhypergraph: Negative Supermodular Functions and Strongly Localized Methods}},
  booktitle = {The Web Conference},
  year = {2023},
}
Figure