Generative Modelling of Structurally Constrained Graphs

Manuel Madeira, Clément Vignac, D. Thanou, Pascal Frossard
2/3/2026

No official code found. Best implementation: manuelmlmadeira/ConStruct (19 stars, MIT, last commit 2025-03-31).

Abstract

Graph diffusion models have emerged as state-of-the-art techniques in graph generation; yet, integrating domain knowledge into these models remains challenging. Domain knowledge is particularly important in real-world scenarios, where invalid generated graphs hinder deployment in practical applications. Unconstrained and conditioned graph diffusion models fail to guarantee such domain-specific structural properties. We present ConStruct, a novel framework that enables graph diffusion models to incorporate hard constraints on specific properties, such as planarity or acyclicity. Our approach ensures that the sampled graphs remain within the domain of graphs that satisfy the specified property throughout the entire trajectory in both the forward and reverse processes. This is achieved by introducing an edge-absorbing noise model and a new projector operator. ConStruct demonstrates versatility across several structural and edge-deletion invariant constraints and achieves state-of-the-art performance for both synthetic benchmarks and attributed real-world datasets. For example, by incorporating planarity constraints in digital pathology graph datasets, the proposed method outperforms existing baselines, improving data validity by up to 71.1 percentage points.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper "Generative Modelling of Structurally Constrained Graphs"

193C++, PythonMay 14, 20241 years agoMIT

Similar Papers

Cite this paper

@article{madeira2026generative,
  title  = {Generative Modelling of Structurally Constrained Graphs},
  author = {Manuel Madeira and Clément Vignac and D. Thanou and Pascal Frossard},
  year   = {2026},
  eprint = {2406.17341},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2406.17341},
  url    = {https://arxiv.org/abs/2406.17341},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.17341.svg)](https://codeofpaper.com/paper/2406.17341)

Discussion