Lune

SIGMOD2026Top-tier venue

Triangle Counting in Hypergraph Streams: A Complete and Practical Approach

Lingkai Meng, Long Yuan, Xuemin Lin, Wenjie Zhang, Ying Zhang

2026Year
4Citations

Abstract

Triangle counting in hypergraph streams-including both hyper-vertex and hyper-edge triangles-is a fundamental problem in hypergraph analytics, with broad applications. However, existing methods face two key limitations: (𝑖) an incomplete classification of hyper-vertex triangle structures, typically considering only inner or outer triangles; and (𝑖𝑖) inflexible sampling schemes that predefine the number of sampled hyperedges, which is impractical under strict memory constraints due to highly variable hyperedge sizes. To address these challenges, we first introduce a complete classification of hyper-vertex triangles, including inner, hybrid, and outer triangles. Based on this, we develop HTCount, a reservoir-based algorithm that dynamically adjusts the sample size based on the available memory 𝑀. To further improve memory utilization and reduce estimation error, we develop HTCount-P, a partition-based variant that adaptively partitions unused memory into independent sample subsets. We provide theoretical analysis of the unbiasedness and variance bounds of the proposed algorithms. Case studies demonstrate the expressiveness of our triangle structures in revealing meaningful interaction patterns. Extensive experiments on real-world hypergraphs show that both our algorithms achieve highly accurate triangle count estimates under strict memory constraints, with relative errors that are 1 to 2 orders of magnitude lower than those of existing methods and consistently high throughput. CCS Concepts: • Theory of computation → Graph algorithms analysis; Streaming models.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 0d7e6c16-bb48-487e-a474-8f446704cb0e

Builds on13

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines