Hypergraph Generation via Structured Stochastic Diffusion

Christopher NemethNeurIPS 2026

TL;DR

Real-world networks often involve group interactions—like co-authors on a paper or actors in a movie—that ordinary pairwise graphs flatten and distort. This paper introduces HEDGE, a diffusion model that generates realistic hypergraphs directly in their native rectangular table format (incidence matrices) rather than reducing them to standard graphs. By blending geometry-aware "heat" smoothing with classic Gaussian noise, it learns to grow complex, overlapping group structures straight out of pure static.

What Problem Does This Paper Address?

Standard graphs connect nodes two at a time. Hypergraphs allow a single "hyperedge" to connect any number of nodes simultaneously. You can represent a hypergraph natively as a binary incidence matrix $H$: rows are nodes (say, actors), columns are hyperedges (movies), and a $1$ at $H_{ij}$ means actor $i$ appeared in movie $j$.

Generating realistic synthetic hypergraphs is notoriously tricky. You have to capture not just how active individual nodes are, but the varying sizes of groups and how those groups overlap. Existing generative models usually dodge the rectangular incidence matrix, instead projecting hypergraphs into pairwise graphs (like clique or bipartite expansions) or diffusing latent embeddings. Unfortunately, pairwise reductions often distort or lose higher-order group structure.

If you instead try to apply structure-aware "heat" diffusion directly to the matrix, you hit another snag: pure heat flow melts every hypergraph down to a data-dependent endpoint rather than a universal starting distribution you can easily sample from at test time.

Methods

HEDGE (Hyper Edge Diffusion and GEneration) solves this by treating binary $n \times m$ incidence matrices as continuous, real-valued matrices and running a structured heat–OU forward diffusion on them.

Figure 1: Left: An actor–movie hypergraph. Right: Its incidence matrix H and three snapshots of the conditional forward mean. Rows correspond to actors and columns to movies, with Hij = 1 if actor i appears in movie j. Generation starts from the OU Gaussian base law (8) and follows the learned reverse SDE.

Here is how the machinery fits together:

  • Novel Two-Sided Heat Smoothing: Early in the forward noising process, corruption is guided by the hypergraph's own geometry. HEDGE applies two Laplacian operators simultaneously: a node-side operator that smooths signals across nodes with similar group habits, and a hyperedge-side operator that smooths across overlapping groups.
  • Scheduled Transition to Ornstein–Uhlenbeck (OU): As forward time progresses, a scheduling function dials down the hypergraph-specific heat operator and dials up a standard OU process. This guarantees that all trajectories wash out into a single, explicit Gaussian base distribution—giving generation a clean, universal starting point.
  • Exact Linear-Gaussian Targets & State-Only Learning: Conditional on a training hypergraph $H$, the entire forward SDE is linear-Gaussian, meaning conditional means, covariances, and reverse-drift targets can be computed via ODEs without Monte Carlo sampling. Because $H$ isn't known when generating new data, HEDGE trains a neural network to predict a state-only reverse drift. To respect the fact that shuffling row or column labels doesn't change the underlying hypergraph, the network uses an $S_n \times S_m$ permutation-equivariant architecture.
  • Decoding: At generation time, HEDGE samples from the Gaussian base law, integrates the learned reverse SDE, thresholds the continuous matrix at $\vartheta = 0.55$, and applies an addition-only post-processing rule to ensure hyperedges have size $\ge 2$ and nodes have degree $\ge 1$.

Datasets

The authors evaluate HEDGE on two fronts (no brand-new raw datasets are introduced, though fixed-size subhypergraph benchmarks are constructed from existing ones):

  • Synthetic Regimes: Four simulated hypergraph distributions used for controlled ablations.
  • Real-World Benchmarks: Six datasets—CORA, CITESEER, ACTOR, HOUSE-COMMITTEES, DBLP, and TWITCH—covering sparse citation-like networks, co-membership structures, and overlapping committees. Because many real datasets are single massive hypergraphs, the authors sample fixed-size subhypergraphs ($n = 64$ nodes, $m$ hyperedges), splitting them 80% for training and 20% for testing.

Key Insights and Ideas

  • You can have structure-aware noise and a universal prior: Pure Laplacian heat diffusion respects network geometry, while standard Gaussian (OU) diffusion gives a tractable prior. Smoothly interpolating between them gives you the inductive bias of heat near the data without sacrificing an easy-to-sample Gaussian endpoint.
  • Both sides of the matrix matter: Smoothing only across rows (nodes) or only across columns (hyperedges) leaves structural blind spots. Coupling them suppresses high-frequency joint node–hyperedge modes first.
  • Regression secretly learns the Markovian projection: Even though the forward process depends on the hidden training hypergraph $H$, regressing a state-only network onto conditional reverse drifts recovers the exact posterior average—matching the marginal distributions of the forward mixture without needing $H$ at test time.
  • Preserving degrees isn't enough to capture group overlap: A strong statistical baseline (HCM-MCMC) explicitly preserves exact node degrees and hyperedge sizes via edge-reshuffling, yet still falls short of HEDGE at reproducing how groups actually intersect.

Key Results

Across synthetic ablations, combining both node and edge heat operators with OU outperforms unstructured OU-only noising and one-sided smoothing:

Simulated-data ablation results
  • Synthetic Ablations: Full HEDGE achieves the best Intersection Wasserstein Distance (0.105 vs. 0.132 for OU-only) and Feature MMD (0.331 vs. 0.391 for OU-only).
  • Real-Data Higher-Order Structure: Compared against three statistical null models (HCM-MCMC, HERGM, ER-HG), HEDGE achieves the best (lowest) Intersection WD on all 6 datasets (tying HCM-MCMC on CORA at 0.020, and dropping HOUSE-COMMITTEES error from HCM-MCMC's 0.367 down to 0.225). It also wins on node- and edge-spectral distances across all 6 datasets, and achieves the lowest Feature MMD on 4 of 6 (e.g., 0.069 vs. 0.138 on HOUSE-COMMITTEES; 0.113 vs. 0.309 on ACTOR).
  • Where Baselines Hold Ground: Because HCM-MCMC starts from real training hypergraphs and swaps incidences while locking marginals, it remains stronger on marginal hyperedge-size Wasserstein distance and mean-size/degree calibration gaps on 4 of 6 datasets.

Limitations and Future Work

  • Fixed-Size Constraint: One HEDGE model is tied to a fixed $n \times m$ dimension, requiring a separate model per size. Conditioning the drift network on dimensions, or using masking/set-valued architectures, is needed for variable-size generation.
  • Computational Scaling: The main experiments construct a dense $nm \times nm$ operator costing $O((nm)^2)$ time and memory per training example. The author derives and validates a Kronecker-separable eigendecomposition alternative ($O(n^3 + m^3)$ once per hypergraph, then $O(nm)$ per step) to alleviate this in future training.
  • Discrete Decoding Quirks: Enforcing node degree $\ge 1$ during post-processing adds incidences to isolated vertices, even though real datasets permit isolated nodes—occasionally shifting individual metric comparisons.
  • Prior Mismatch & Extensions: Generation starts from the infinite-time OU invariant law rather than the exact finite-horizon Gaussian mixture (though empirical impact is minimal). Future directions include learned Gaussianising transports to close this gap, diffusing jointly on source/target matrices for directed hypergraphs, and guided reverse SDEs for degree-conditioned generation.

Summary updated

Abstract

Hypergraphs model higher-order interactions, but realistic hypergraph generation remains difficult because incidence, hyperedge-size heterogeneity, and overlap structure are not faithfully captured by pairwise reductions. We propose HEDGE, a generative model defined directly on relaxed incidence matrices via a structured stochastic diffusion. The forward process combines a hypergraph-specific two-sided heat operator with an Ornstein--Uhlenbeck component, preserving structure-aware noising near the data while yielding an explicit Gaussian terminal law. Conditional on an observed hypergraph, this forward process is linear-Gaussian, so conditional means, covariances, scores, and reverse-drift targets are available in closed form. We therefore learn a permutation-equivariant state-only reverse-drift field in incidence space by regressing onto exact conditional targets, and generate samples by simulating a learned reverse-time SDE from the Gaussian base law. We establish exactness in the ideal state-only setting together with finite-horizon stability guarantees, and empirically show improved hypergraph generation quality relative to strong baselines.
BibTeX
@inproceedings{nemeth2026hypergraph,
  author = {Christopher Nemeth},
  title = {{Hypergraph Generation via Structured Stochastic Diffusion}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=uTrWNzumkt},
}
Figure