From Graphs to Hypergraphs: Hypergraph Projection and its Reconstruction

Yanbang Wang, Jon KleinbergICLR 2024

TL;DR

Real-world systems are often modeled as simple graphs (pairwise connections) even when the underlying relationships involve groups of three or more (hypergraphs). This paper proves that reconstructing the original hypergraph from its graph "projection" is combinatorially impossible without prior knowledge. To solve this, the authors introduce SHyRe, a learning-based framework that successfully recovers these higher-order structures by identifying domain-specific patterns.

What Problem Does This Paper Address?

In data science, we often represent complex systems—like coauthorship networks or protein interactions—as graphs where edges connect pairs of nodes. However, these relationships are frequently "higher-order" by nature: three people might write a paper together, or five proteins might form a single functional complex.

Graph to Hypergraph Reconstruction

When we represent these higher-order relationships as a standard graph, we perform a projection (specifically, a clique expansion), where every member of a group is connected to every other member. This process is destructive. It creates "clique-rich" graphs where it is impossible to tell if a group of nodes is connected because they all participated in one big event or several smaller, overlapping ones.

The authors identify two main reasons this happens in practice:

  1. Unobservable data: Sensors (like Bluetooth proximity) might only detect pairs, even if a group conversation is happening.
  2. Unpublished data: Researchers often release the pairwise graph but keep the original hypergraph private.

The core challenge this paper tackles is: Can we reverse this projection and reconstruct the original hypergraph?

Methods

The authors first use graph and set theory to prove that perfect reconstruction is impossible without extra information. They identify two "Error Patterns" that lead to structural information loss during projection:

  • Error I (Nested Hyperedges): Occurs when a small group's interaction is entirely contained within a larger group's interaction.
  • Error II (Uncovered Triangles): Occurs when three hyperedges overlap in a way that creates a "fake" clique in the projected graph.
Error Patterns in Hypergraph Projection

To overcome this combinatorial impossibility, they propose SHyRe (Supervised Hypergraph Reconstruction). The core of SHyRe relies on a new statistic discovered by the authors called $\rho(n, k)$-alignment. This statistic measures the probability that a subset of $k$ nodes is a true hyperedge given they are part of a maximal clique of size $n$. They found that this distribution is remarkably consistent within a specific domain (e.g., all coauthorship networks look similar) but varies wildly between domains (e.g., emails vs. protein complexes).

The SHyRe pipeline consists of two main components:

  1. A Clique Sampler: A greedy algorithm that uses the $\rho(n, k)$ statistic to efficiently pick the most "promising" cliques to test, staying within a computational budget.
  2. A Hyperedge Classifier: A Multi-Layer Perceptron (MLP) that uses structural "Motif" features—counting how cliques and nodes overlap—to decide if a candidate clique is a real hyperedge.

Datasets

The method was evaluated on 8 real-world datasets spanning diverse domains:

  • Coauthorship: DBLP.
  • Communication: Enron emails.
  • Social/Proximity: Foursquare check-ins, Primary School, and High School interactions.
  • Biological: Hosts-Virus interactions.
  • Legal/Professional: Directors (corporate boards) and Crimes (co-offender networks).

The authors also utilized the Microsoft Academic Graph (MAG) for transfer learning experiments.

Key Insights and Ideas

  • The "DNA" of Hypergraphs: The discovery of $\rho(n, k)$-alignment is a major breakthrough. It suggests that every domain has a structural signature. If you have a small sample of a hypergraph from a specific field, you can use its "signature" to reconstruct other graphs in that same field.
  • Combinatorial Impossibility: The paper mathematically proves that the number of potential hyperedges can grow exponentially, making purely mathematical reconstruction (without learning or priors) a "disastrous" task.
  • Storage Efficiency: A reconstructed hypergraph is significantly smaller than its projected graph. On average, the hypergraph representation required only 4.6% of the storage space of the projected graph.

Key Results

  • Superior Reconstruction: SHyRe variants outperformed all baselines (including community detection and clique covering methods) on 7 out of 8 datasets. On the DBLP dataset, it achieved a Jaccard similarity score of ~81%, significantly higher than the standard "Maximal Clique" baseline.
  • Downstream Benefits:
    • Protein Ranking: Using reconstructed hypergraphs to rank essential proteins resulted in a list much closer to biological ground truth than using the pairwise graph.
  • Link Prediction: Reconstructed hypergraphs improved the performance of Graph Convolutional Networks (GCNs) in predicting future links.
  • Robustness: The model proved effective in "transfer learning" scenarios—for example, training on DBLP data from 2011 and successfully reconstructing DBLP data from 2010.

Limitations and Future Work

  • The "Small Edge" Problem: The authors noted that hyperedges with very few nodes (size 1 or 2) are harder to recover because they contain less structural information for the classifier to latch onto.
  • Structure-Only: Currently, SHyRe only looks at the "shape" of the graph. It does not yet incorporate node attributes (like a researcher's affiliation or a protein's function), which could further improve accuracy.
  • End-to-End Optimization: The current framework optimizes the sampler and classifier separately. The authors suggest that an end-to-end differentiable pipeline could be a promising future direction.

Summary updated

BibTeX
@inproceedings{wang2024from,
  author = {Yanbang Wang and Jon Kleinberg},
  title = {{From Graphs to Hypergraphs: Hypergraph Projection and its Reconstruction}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=qwYKE3VB2h},
}
Figure