Papers › DiGress: Discrete Denoising diffusion for graph generation

DiGress: Discrete Denoising diffusion for graph generation

29 Sep 2022arXiv:2209.14734archive 2025-07-28

Clement Vignac, Igor Krawczuk, Antoine Siraudin, Bohan Wang, Volkan Cevher, Pascal Frossard

This work introduces DiGress, a discrete denoising diffusion model for generating graphs with categorical node and edge attributes. Our model utilizes a discrete diffusion process that progressively edits graphs with noise, through the process of adding or removing edges and changing the categories. A graph transformer network is trained to revert this process, simplifying the problem of distribution learning over graphs into a sequence of node and edge classification tasks. We further improve sample quality by introducing a Markovian noise model that preserves the marginal distribution of node and edge types during diffusion, and by incorporating auxiliary graph-theoretic features. A procedure for conditioning the generation on graph-level features is also proposed. DiGress achieves state-of-the-art performance on molecular and non-molecular datasets, with up to 3x validity improvement on a planar graph dataset. It is also the first model to scale to the large GuacaMol dataset containing 1.3M drug-like molecules without the use of molecule-specific representations.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2209.14734")

Code

Syntology Ran 15 of 25 code samples harvested from 3 repositories linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 3 ran · fixture could not drive it; 11 ran with no contract checked.

By repository: official repository: 4 samples from 1 repository, 0 ran; community (archive-listed): 21 samples from 2 repositories, 15 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

cvignac/digress officialmentioned in paperpytorch report
lingxiaoshawn/pard mentioned on GitHubpytorch report
xinyangATK/GraphBetaDiffusion mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

25 samples harvested; 15 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
3ran · fixture could not drive it
11ran
10unverified

Licence: 0 of the 25 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

DiscreteDenoisingDiffusion cvignac/digress/src/diffusion_model_discrete.py official repository unverified MIT (permissive) · f9e50edf64cad6ca · report
GraphTransformer cvignac/digress/src/diffusion_model_discrete.py official repository unverified MIT (permissive) · 02efa89bd5962590 · report
NodeEdgeBlock cvignac/digress/src/diffusion_model_discrete.py official repository unverified MIT (permissive) · 3913b8a35ac72188 · report
XEyTransformerLayer cvignac/digress/src/diffusion_model_discrete.py official repository unverified MIT (permissive) · 52d0bb0f479c428c · report
CrossEntropyMetric xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · f4e42e3306130e06 · report
DiscreteUniformTransition xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) ran MIT (permissive) · 551ec09673d49e88 · report
Etoy xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 7e3fab9a98573ff0 · report
MarginalUniformTransition xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) ran MIT (permissive) · 9ce4bfced7e6004c · report
NLL xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · a7e50774a4e4f675 · report
NodeEdgeBlock xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) ran MIT (permissive) · e9400f315259c7be · report
SumExceptBatchKL xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 295f1f304ea8e1f4 · report
SumExceptBatchMetric xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 5a0e207d75121664 · report
TrainLossDiscrete xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 0eeeb63ec7b09fb3 · report
Xtoy xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · d7bb782f9e70779e · report
index_last_dim lingxiaoshawn/pard/pard/diffusion.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · cd574a170c2b72b8 · report
noise_schedule lingxiaoshawn/pard/pard/diffusion.py community (archive-listed) ran MIT (permissive) · 01627b4b65b502c9 · report
sample_bernoulli lingxiaoshawn/pard/pard/diffusion.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 0d129fbf2733355c · report
sample_categorical lingxiaoshawn/pard/pard/diffusion.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 9d8f3764aca720ec · report
set_last_dim lingxiaoshawn/pard/pard/diffusion.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · ea18929480741b1e · report
DiscreteDenoisingDiffusion xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) unverified MIT (permissive) · 2e0a2b9a6b44de63 · report
DiscreteDiffusion lingxiaoshawn/pard/pard/diffusion.py community (archive-listed) unverified MIT (permissive) · ae40c21213aba78e · report
GraphTransformer xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) unverified MIT (permissive) · 19aa05716c3273ce · report
PredefinedNoiseScheduleDiscrete xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) unverified MIT (permissive) · 354be05e0f965a4b · report
XEyTransformerLayer xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) unverified MIT (permissive) · a8bf4eb62fe3ecd9 · report
masked_softmax xinyangATK/GraphBetaDiffusion/src/diffusion_model_discrete.py community (archive-listed) unverified MIT (permissive) · 1717b7476aced94e · report

Tasks

DenoisingEdge ClassificationGraph Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDiffusionDropoutGraph TransformerLabel SmoothingLapEigenLaplacian PELayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections