Lune

VLDB2026Top-tier venue

Counting HyperGraphlets via Color Coding: a Quadratic Barrier and How to Break It

Marco Bressan, Stefano Clemente, Giacomo Fumagalli

Abstract

We study the problem of counting k-hyper graphlets, an interesting but surprisingly ignored primitive, with the aim of understanding if efficient algorithms exist. To this end we consider color coding , a well-known technique for approximately counting k -graphlets in graphs. Our first result is that, on hypergraphs, color coding encounters a quadratic barrier : under the Orthogonal Vector Conjecture, no implementation of it can run in time sub-quadratic in the size of the input. We then introduce a simple property, ( α, β )-niceness, that hypergraphs from real-world datasets appear to satisfy for small values of α and β. Intuitively, an ( α, β )-nice hypergraph can be split into two sub-hypergraphs having respectively rank at most α and degree at most β. By applying different techniques to each sub-hypergraph and carefully combining the outputs, we show how to run color coding in time 2

O ( k )

· [2*| V | +

α k

| E | + α 2 β || H ||), where H = ( V, E ) is the input hypergraph. Afterwards, we can sample colorful k -hypergraphlets uniformly in expected

k O

( k )

· ( β 2

  • ln | V |) time per sample. Experiments on real-world hypergraphs show that our algorithm neatly outperforms the naive quadratic algorithm, sometimes by more than an order of magnitude.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Hypergraph Motif Representation Learning cites Hypergraph Motifs: Concepts, Algorithms, and Discoveries
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on3

  1. Minimizing Localized Ratio Cut Objectives in HypergraphsNate Veldt, Austin R. Benson, Jon M. KleinbergKDD 2020 · 3 citations
  2. Hypergraph Motif Representation LearningAlessia Antelmi, Gennaro Cordasco, Daniele De Vinco, Valerio Di Pasquale et al.KDD 2025 · 1 citation
  3. Hypergraph Motifs: Concepts, Algorithms, and DiscoveriesGeon Lee, Jihoon Ko, Kijung ShinVLDB 2020

Related papers

  1. Efficient and near-optimal algorithms for sampling connected subgraphsMarco BressanSTOC 2021
  2. Nearly Optimal Average-Case Complexity of Counting Bicliques Under SETHShuichi Hirahara, Nobutaka ShimizuSODA 2021 · 8 citations
  3. Near-linear time subhypergraph counting in bounded degeneracy hypergraphsDaniel Paul-Pena, C. SeshadhriSODA 2026
  4. Characterization of Simplicial Complexes by Counting Simplets Beyond Four NodesHyunju Kim, Jihoon Ko, Fanchen Bu, Kijung ShinWWW 2023 · 8 citations
  5. Hypergraph kk-cut for fixed kk in deterministic polynomial timeKarthekeyan Chandrasekaran, Chandra ChekuriFOCS 2020 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines