Mult-Domain Discrete Graph Generation
Revolinsky et al. in Generative models
Can one model keep five graph worlds distinct?
Mult-Domain Discrete Graph Generation
A domain label is not enough
V.U.N. requires passing the domain's validity test, no duplicates among outputs, and absence from training and fine-tuning pools. DeFoG scores 95.0% Planar but 5.0% SBM; G²PT gets 2.5% Planar and 73.1% SBM.
DiG² pairs domain-specific priors with structural conditioning and vocabulary masks; it scores 100% Planar and 85% SBM V.U.N. under the same benchmark.
A domain name alone does not keep generation inside the requested graph family.
DiG²'s discrete flow-matching model
- 1
Start with a domain prior
Start from that domain’s node/edge class-frequency prior, not from pooled noise distribution.
- 2
Condition on structure
Combine its label, a clean-graph running-average prototype and a noisy-graph summary; inject the signal at every layer.
- 3
Limit classes and adapt depth
Mask training and sampling to valid domain classes; a domain-conditioned gate mixes readouts from layers 8, 10 and 12.
- 4
Resolve entries gradually
Each step redraws an entry from its clean-class prediction with a time-dependent chance; otherwise it keeps the current class.
One shared model wins three structural domains
Main Results: shared corpus, schedule and harness; after 75K-step anchored fine-tuning. G²PT has 89M parameters; DiG² has 18M.
Molecular validity and FCD favor DiG²
Main Results; FCD = Fréchet ChemNet Distance (lower is closer); shared five-domain setup, post-75K anchored fine-tuning.
Removing the prototype hurts Planar and SBM most
On the same benchmark, full DiG² reaches 100% Planar and 85% SBM V.U.N. after shared anchored fine-tuning.
Removing only the EMA prototype yields 77.5% Planar and 42.5% SBM; per-domain priors and vocabulary masks remain unchanged.
The running prototype matters most for separating these structural domains.
A slider built from two learned domains
- 1
Blend both conditioning rows
Linearly blend QM9 and ZINC domain embeddings and their structural-prototype vectors with one weight, α.
- 2
Fix the other controls
Keep the prior fixed at ZINC and the allowed vocabulary fixed to the union of QM9 and ZINC molecular classes.
- 3
Sweep without target updates
Set α=0 for QM9 conditioning and α=1 for ZINC; values above 1 extrapolate. No GuacaMol or MOSES graphs update the model.
QED becomes a steerable property

Read it as QED across the conditioning sweep. In GuacaMol’s 10-14-heavy-atom band, DiG² covers 0.138, versus DemoDiff’s 0.037 and GenMol’s 0.002; only DiG² reaches both the 25th- and 50th-percentile targets.
Past ZINC, logP rises but validity falls
In MOSES’ 20-27-heavy-atom band, DemoDiff spans 0.31 logP but cannot mix past α=1; GenMol shifts only 0.08 over α=0-1. DiG² at α=1 averages 2.830±0.026.
At α=2, mean logP is 4.734±0.049; 59.2% of samples exceed ZINC’s 95th percentile, while validity is 0.668, below the 0.70 display floor.
The learned path reaches beyond ZINC, but the farthest setting sacrifices validity.
Where the evidence stops
Vocabulary size
The shared encoding has 11 node and 5 edge classes; the authors identify larger vocabularies as future work.
Narrow interpolation
Zero-shot blending was tested between QM9 and ZINC, related datasets with similar vocabularies, not arbitrary graph domains.
Property proxies
The evaluation reports validity and QED/logP, not biological activity or experimental performance.
Why it matters
- One graph model can serve distinct graph and molecule domains when priors, structural signals and vocabularies remain domain-aware.
- Blend QM9/ZINC conditioning to explore zero-shot QED and logP shifts, while watching validity as you extrapolate.
- Open question: do these separation controls and property paths hold with larger vocabularies or much less related domains?
8 likes 11 slides, 3 min
4 days ago