Four-Set Hypergraphlets for Characterization of Directed Hypergraphs

Heechan Moon, Hyunju Kim, Sunwoo Kim, Kijung Shin

TL;DR

This paper introduces "directed hypergraphlets" (DHGs) to characterize the local structures of directed hypergraphs, which model complex group interactions. They developed efficient algorithms for counting these DHGs and demonstrated their effectiveness in hypergraph clustering and hyperarc prediction, outperforming existing methods.

What Problem Does This Paper Address?

Real-world systems, from chemical reactions to social networks, often involve complex group interactions that are directional. Directed hypergraphs (DHs) are a natural way to model these systems, where hyperarcs represent relationships between sets of nodes. However, while local structures in traditional graphs have been extensively studied, the local structures of directed hypergraphs remain largely unexplored. This lack of understanding limits our ability to analyze and leverage these complex systems. The paper aims to fill this gap by providing a systematic way to measure, understand, and utilize the local structures of DHs.

Methods

The core of the paper is the introduction of 91 Directed Hypergraphlets (DHGs). These DHGs are defined by the patterns of overlap and directionality between the head and tail sets of any two incident hyperarcs. This provides a fine-grained way to categorize local substructures.

To utilize DHGs, the authors developed:

  • Exact and Approximate Counting Algorithms:
    • CODA-E: An exact algorithm for counting DHG instances.
  • CODA-A: A novel, faster approximate algorithm that prioritizes sampling instances of minority DHGs, leading to better accuracy for characterization.
  • Characterization Method: DHGs are used to create "Characteristic Profiles" (CPs) for entire hypergraphs and individual hyperarcs. CPs are fixed-size vectors summarizing the local structure, allowing for comparisons between graphs of different sizes.

Datasets

The authors evaluated their methods on 11 real-world directed hypergraph datasets from 5 domains:

  • Metabolic: metabolic-iAF1260b, metabolic-iJO1366
  • Email: email-enron, email-eu
  • Citation: citation-data-science, citation-software
  • Question & Answering: qna-math, qna-server
  • Bitcoin Transactions: bitcoin-2014, bitcoin-2015, bitcoin-2016

They also generated randomized versions of these datasets for comparison.

Key Insights and Ideas

  • DHGs Capture Essential Directionality: Unlike previous hypergraph motif approaches that often ignore directionality, DHGs explicitly account for the head and tail sets of hyperarcs, which is crucial for modeling directional group interactions.
  • Domain-Specific Local Structures: The Characteristic Profiles (CPs) derived from DHGs reveal that hypergraphs from the same domain exhibit similar local structural patterns, while those from different domains are distinct. This suggests DHGs can be powerful for domain classification.
  • Minority DHGs Matter: The paper highlights that minority DHGs (those with fewer occurrences) are important for accurate characterization. Their proposed algorithm, CODA-A, is specifically designed to better estimate these minority counts.
  • Efficient Characterization: The development of CODA-A offers a significant speedup (up to 32x faster than competitors) while maintaining similar characterization quality, making it practical for large-scale datasets.

Key Results

  • Hypergraph Clustering: DHG-based characterization achieved up to 12% better performance (measured by NMI) in hypergraph clustering compared to baseline methods (h-motifs, 3h-motifs, triads).
  • Hyperarc Prediction: DHG feature vectors led to up to 33% better AUROC performance in hyperarc prediction tasks compared to other feature extraction methods.
  • Algorithm Performance: CODA-A demonstrated a superior trade-off between speed and accuracy, being significantly faster than D-MOCHy and A2A while achieving comparable or better results. It also required significantly less memory.
  • Temporal Patterns: Analysis of time-evolving DHGs revealed that datasets from the same domain not only share similar frequent DHGs but also exhibit similar temporal trends in their occurrence ratios.

Limitations and Future Work

  • Computational Cost of Exact Counting: While CODA-E is exact, its computational cost can be prohibitive for very large graphs.
  • Approximate Algorithm Trade-offs: CODA-A, while efficient, is an approximation. The paper acknowledges that its accuracy depends on the number of samples.
  • Future Work: The authors suggest exploring the application of DHGs to other tasks like temporal analysis and link prediction, and developing more efficient counting algorithms. They also mention that their work can be extended to hypergraphs with self-loops, although this would increase the number of DHGs.

Summary updated

BibTeX
@article{moon2026four,
  author = {Heechan Moon and Hyunju Kim and Sunwoo Kim and Kijung Shin},
  title = {{Four-Set Hypergraphlets for Characterization of Directed Hypergraphs}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2026},
  doi = {10.1109/tkde.2026.3677137},
}
Figure