NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Mixed-Curvature Geometric Latent Diffusion Model for Graph Generation

Minxue Qi, Xian Yang, Liang BaiNeurIPS 2026

TL;DR

Real-world graphs are messy mashups of branching trees, closed loops, and flat grids, yet most generative models force them into a single, uniform mathematical space—squashing and distorting their structure in the process. CurvDiff solves this by embedding graphs into a "mixed-curvature" latent space (combining hyperbolic, spherical, and flat Euclidean geometries) and uniting them on a shared tangent interface for clean, topology-aware diffusion. The result is a fast, unified graph generator that faithfully captures diverse structural patterns without geometric compromise.

What Problem Does This Paper Address?

Imagine trying to flatten an orange peel onto a table without tearing or stretching it. You can't—their intrinsic curvatures don't match. A very similar problem plagues latent graph diffusion models (models that compress discrete networks into continuous latent spaces to generate new graphs via denoising).

Most existing models assume a homogeneous latent space—usually flat Euclidean space, or occasionally purely hyperbolic space. However, real-world networks exhibit structural heterogeneity: a single network might contain hierarchical trees, dense cliques, cyclic loops, and grid-like neighborhoods all at once.

  • Trees expand exponentially and naturally belong in negatively curved hyperbolic space.
  • Cycles wrap around and suit positively curved spherical space.
  • Grids sit comfortably in flat Euclidean space.

Forcing all of these motifs into a single geometry introduces representation distortion, and any generative diffusion model trained in that warped space inevitably inherits those flaws.

Figure 1: Qualitative comparison of geometric embeddings on a heterogeneous graph. Colored outlines mark hierarchical/branching (blue/brown), cyclic/dense (magenta), and locally regular (green) regions. Quantitative comparisons are reported in Sections 5.3 and 5.4.

Methods

To give every graph motif a geometric home it likes while still allowing standard Gaussian diffusion to work, the authors introduce CurvDiff, built around three core ideas:

Figure 2: Overview of CurvDiff. A mixed-curvature encoder exports product-manifold embeddings to a shared tangent-space interface for diffusion. Ricci-derived structural signals provide topology-aware priors for representation regularization and diffusion conditioning.
  1. Mixed-Curvature Product Encoder: Using standard Graph Convolutional Networks (GCNs), the encoder extracts graph embeddings and maps them into a product manifold combining hyperbolic, spherical, and Euclidean spaces ($\mathcal{M}_{\text{hyp}} \times \mathcal{M}_{\text{sph}} \times \mathcal{M}_{\text{euc}}$). Crucially, the curvature of each subspace isn't rigid—it adapts and learns alongside the network weights during training.
  2. Shared Tangent-Space Interface: Running standard Gaussian diffusion directly on curved manifolds is mathematically thorny. Instead, CurvDiff maps the mixed-curvature representations back to a flat, shared origin tangent space via logarithmic maps. Standard DDPM noise injection and denoising happen cleanly here before a decoder translates the latent vector back into a discrete adjacency matrix.
  3. Ricci-Derived Structural Priors: To ensure discrete graph topology isn't lost in continuous latent space, the model computes Forman–Ricci curvature (FRC)—a fast, combinatorial measure of local graph structure (like bottlenecks and communities). FRC pulls double duty: it regularizes the encoder-decoder reconstruction at the node level and conditions the diffusion denoiser (via FiLM layers and classifier-free guidance) using graph-level curvature summaries.

Datasets

CurvDiff is evaluated on four standard, unlabeled graph benchmarks chosen specifically because they span radically different structural regimes (no new datasets are introduced):

  • Synthetic: Ego (1,197 graphs; high leaf ratio, branching-heavy) and Grid (100 graphs; 2D locally regular lattices rich in square cycles).
  • Real-world: COLLAB (5,000 scientific collaboration graphs) and IMDB-BINARY (1,000 movie collaboration graphs), both featuring high density and intense local clustering.

Key Insights and Ideas

  • Mixed curvature alone isn't a silver bullet: Surprisingly, ablations show that slapping a mixed-curvature encoder onto a diffusion model without topological guidance barely beats a plain Euclidean baseline. Conversely, conditioning diffusion on curvature without grounding it in the encoder also falls flat. The "aha" moment is that geometry and topology must be coupled across a shared interface—when combined, error drops dramatically.
  • Subspaces genuinely specialize: Tracking the learnable curvatures during training reveals they don't collapse into redundant copies. Hyperbolic branches stay negative, spherical stay positive, and Euclidean hover near zero, dynamically shifting magnitudes depending on the dataset.
  • Simpler curvature math wins: Forman–Ricci curvature (FRC) doesn't just beat Ollivier–Ricci curvature (ORC) in speed by avoiding expensive optimal-transport calculations—it also produces substantially better graph generation fidelity.

Key Results

Generation quality is measured by Maximum Mean Discrepancy (MMD) across degree, clustering, and spectral distributions (lower means the generated graphs look closer to real test graphs).

  • State-of-the-Art Fidelity: CurvDiff achieves the best overall Average MMD across all four benchmarks: 0.012 on Ego, 0.037 on Grid, 0.007 on COLLAB, and 0.041 on IMDB-BINARY, outperforming classical autoregressive models (GraphRNN), discrete diffusion/flow models (DiGress, EDGE, LG-Flow), and purely hyperbolic generators (HypDiff, HGDM, GGBall).
  • Balanced Geometry: As shown in the ablation heatmap below, single-geometry models play whack-a-mole—excelling on one metric or dataset while failing on another (e.g., purely hyperbolic models struggle on Grid's spectral properties). CurvDiff stays consistently dark (low error) across the board.
  • Fast Sampling: On an RTX 4090 GPU, generating a batch of 20 graphs takes just 2.06–2.26 seconds (~103–113 ms per graph).
Figure 3: Per-metric MMD heatmap for geometry ablations. Darker cells generally correspond to lower MMD under the current color scale.

Limitations and Future Work

  • Unattributed graphs only: CurvDiff currently focuses strictly on bare-bones graph topology (structure-only generation) using fixed-size padded representations. Extending the framework to graphs with rich node and edge attributes—such as 3D molecular generation—is left for future work.
  • Dataset-dependent tuning: While the main results use a fixed classifier-free guidance (CFG) scale of 3.0 for fairness, sensitivity analyses show the optimal CFG scale varies wildly by dataset (Ego prefers ~9–10, while IMDB-BINARY prefers ~1).
  • Fixed factor dimensions: Although subspace curvatures are learnable, the dimensionality allocated to each geometric factor is fixed upfront, and theoretical guarantees do not yet establish whether that fixed split is globally optimal.

Summary updated

BibTeX
@inproceedings{qi2026mixed,
  author = {Minxue Qi and Xian Yang and Liang Bai},
  title = {{Mixed-Curvature Geometric Latent Diffusion Model for Graph Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=pvgnsDCNSi},
}
Figure