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

Neighborhood-based Hypergraph Core Decomposition

Naheed Anjum Arafat, Arijit Khan, Arpit Kumar Rai, Bishwamittra Ghosh

TL;DR

Existing hypergraph core decompositions rely strictly on node degree (the count of incident hyperedges), failing to account for hyperedge sizes and the actual number of interacting neighbors. This paper introduces neighborhood-based hypergraph core decomposition, proving key structural properties (uniqueness and nested containment) and providing both bounding-accelerated peeling and a parallelized local algorithm with a novel core-correction mechanism. On massive datasets like Aminer (27M nodes, 17M hyperedges), their parallel algorithm finishes decomposition in 91 seconds while identifying significantly more effective seeds for spreading or disrupting diffusion.

What Problem Does This Paper Address?

In domains ranging from epidemiology and co-authorship to social networks and bioinformatics, interactions are polyadic—connecting groups rather than simple pairs. While graphs model pairwise edges, hypergraphs allow an edge to connect an arbitrary subset of nodes.

Decomposing graphs into cohesive subgraphs ($k$-cores) is a standard workhorse for community detection, influence analysis, and densest subgraph extraction. However, extending $k$-cores to hypergraphs brings significant hurdles:

  1. Degree vs. Neighborhood Mismatch: Prior hypergraph core decompositions only measure degree (how many hyperedges a node belongs to). A node in a single 1,000-person event has degree 1, whereas a node in two 2-person events has degree 2. Degree-based cores equate the former to a peripheral node and the latter to a denser core, ignoring the 999 potential interaction partners.
  2. Pitfalls of Graph Reductions: Transforming hypergraphs into clique expansions blows up memory ($O(m k^2)$ edges for hyperedges of size $k$) and creates phantom pairwise ties. Bipartite representations require distance-2 core decompositions, inflating problem size and assigning similar group interactions to completely different cores.

The authors formulate the problem of finding strongly-induced neighborhood-based $k$-cores ($\text{nbr-}k\text{-cores}$): finding maximal subhypergraphs where every node has at least $k$ distinct neighbors within that strongly induced subhypergraph (where a hyperedge exists if and only if all of its constituent nodes remain).

Methods

  • Peel & E-Peel: Unlike graphs where deleting a node reduces neighbor degrees by 1, deleting a node in a hypergraph can delete hyperedges and reduce a neighbor's neighborhood count by more than 1. Standard peeling (Peel) must repeatedly reconstruct the residual hypergraph. The authors introduce E-Peel, which derives a tight local lower-bound on core-numbers: $$\text{LB}(v) = \max\left(|e_m(v)| - 1, \, \min_{u \in V} |N(u)|\right)$$ (where $e_m(v)$ is the largest hyperedge containing $v$). This delays expensive neighborhood recomputations until the peeling threshold reaches that lower bound.

  • Local-core and Core-Correction: Local graph algorithms update core estimates iteratively using the $h$-index operator. The authors discover a critical negative result: naive $h$-index iteration fails on hypergraphs. In a hypergraph, even if neighbors have high $h$-indices, the induced subhypergraph may drop hyperedges whose other members have lower indices, causing the node’s true induced neighborhood to drop below $h$. They propose a Local Coreness Constraint (LCC) and a Core-correction procedure that validates and adjusts the $h$-index, ensuring convergence to the exact core-number.

  • System Optimizations:
  • Compressed Sparse Row (CSR) representation for hypergraphs to achieve $O(1)$ neighbor counts and fast neighbor enumeration.
  • Dynamic programming with hyperedge indexing to reduce core-correction overhead from $O(|N(v)|^2)$ to $O(|N(v)| d(v))$.
  • Shared-memory parallelization (Local-core(P)) using OpenMP and Longest-Processing-Time-First thread scheduling.
  • $(k, d)$-Cores & Densest Subhypergraphs: The authors extend the model to $(k, d)$-cores (requiring at least $k$ neighbors and degree $\ge d$) via a hybrid Local-core+Peel algorithm, and design a greedy approximation algorithm for finding volume-densest subhypergraphs with an approximation factor of $(d_{pair}(d_{card} - 2) + 2)$.

Datasets

The authors evaluated their methods on four synthetic and five real-world datasets:

  • Synthetic: bin4U (4-uniform), bin3U (3-uniform), and pref3U (preferential attachment with power-law degree distribution, 125K nodes, 250K hyperedges).
  • Real-World:
  • contact: School contact network where maximal cliques form hyperedges (242 nodes).
  • enron: Email correspondence groups (4.4K nodes, 5.7K hyperedges).
  • congress: Congressional bill co-sponsorship networks (1.7K nodes, 83K hyperedges).
  • dblp: Co-authorship records (1.8M nodes, 2.1M hyperedges).
  • aminer: Massive academic network (27.8M nodes, 17.1M hyperedges).

Key Insights and Ideas

  • Why Naive $h$-index Fails on Hypergraphs: In pairwise graphs, a preserved node keeps its edge to any other preserved neighbor. In hypergraphs, a neighbor relationship requires all nodes in the connecting hyperedge to survive. When a partial set survives, the hyperedge vanishes, breaking neighbor connectivity. Without Core-correction, error cascades catastrophically across correlated neighborhoods.
  • Uniqueness and Containment: The authors prove that despite non-linear neighbor drops, neighborhood-based $k$-cores maintain the classical structural guarantees of graph cores: they are unique for any $k > 0$, and $(k+1)$-cores are strictly nested within $k$-cores.
  • Epidemic and Diffusion Relevance: In SIR diffusion models, degree-based cores identify weak spreaders because nodes with high event counts in tiny groups lack broad reach. Neighborhood cores capture wide contagion potential, making them far more effective targets for epidemic intervention.

Key Results

  • Failure Rate of Baseline Local Methods: Running graph $h$-index without core-correction produced incorrect core-numbers for over 90% of nodes in bin4U, bin3U, and congress, and 5% to 26% of nodes in other datasets.
  • Algorithm Speedups:
  • E-Peel achieved up to a $17\times$ speedup over naive Peel on enron.
  • On the largest dataset (aminer, 27.8M nodes), parallel Local-core(P) with 64 threads finished end-to-end execution in 91 seconds (66s initialization + 25s execution), providing up to $12\times$ scaling over sequential execution.
  • Bipartite distance-2 decomposition was by far the slowest baseline due to bipartite graph inflation.
  • Application Impact:
  • In SIR infection spread on dblp, seeds selected via $(k, d)$-cores generated the highest infection cascade, whereas degree-based cores had the lowest.
  • In targeted immunization/intervention, deleting the top 1K–6K nodes selected by neighborhood-core decomposition produced a substantially larger decrease in average infection spread compared to degree- or clique-based decompositions.

Limitations and Future Work

  • Lattice Complexity of $(k, d)$-Cores: While neighborhood cores follow a total containment hierarchy, $(k, d)$-cores form a partial-order lattice with up to $O(k_{max} \cdot d_{max})$ cores. The paper uses a hybrid peeling step for $(k, d)$-cores; developing a fully local $(k, d)$-core algorithm remains an open problem.
  • Dynamic Settings: The current algorithms operate on static hypergraphs in shared memory. Incrementally maintaining neighborhood cores under continuous hyperedge streaming or dynamic updates is not addressed.
  • Distributed Environments: The algorithms are optimized for single-machine shared-memory architectures via OpenMP; scaling out to distributed, scale-free hypergraph stores was not explored.

Summary updated

BibTeX
@article{arafat2023neighborhood,
  author = {Naheed Anjum Arafat and Arijit Khan and Arpit Kumar Rai and Bishwamittra Ghosh},
  title = {{Neighborhood-based Hypergraph Core Decomposition}},
  journal = {Proc. VLDB Endow.},
  year = {2023},
  url = {https://openreview.net/forum?id=CWGXP3MG4U},
}
Figure