DyGDi: Diffusion Model for Continuous-Time Dynamic Graph Generation
Mayet et al. in Generative models
Can graph diffusion generate event windows jointly and keep new identities straight?
DyGDi: Diffusion Model for Continuous-Time Dynamic Graph Generation
An event stream is hard to batch
Continuous-time graphs are timestamped event streams; DG-Gen samples them autoregressively one event at a time, limiting generation speed.
DG-Gen batches events for speed, but batch members are independent and cannot condition on one another, sacrificing coherence.
The challenge is parallelism without severing event-to-event dependencies.
What does DyGDi actually generate?

DyGDi is presented as the first diffusion generator for continuous-time graph streams. Past events and seen-node memories condition flow matching, which jointly denoises whole windows of tokens carrying node vectors, time gaps and edge features.
New nodes need an identity anchor
- 1
Tag node roles
Each endpoint is tagged seen, new in this window, or new already encountered here.
- 2
Separate new nodes
Training gives each unseen node a distinct random Gaussian vector instead of the shared zero vector.
- 3
Route to the right pool
At generation, predicted roles route embeddings to seen IDs, fresh IDs, or new nodes made in this window.
- 4
Check the collapse modes
Ablations show both matter: without vectors, recalls swap new identities; without roles, new events often reuse existing IDs.
Joint windows preserve event dependencies
On a controlled synthetic stream, full DyGDi created and recalled new nodes in order; every scored node and feature accuracy was 1.
With the same model, each position drawn from a separately generated window, order accuracy fell to 0.50 for seen events and 0.51 for recalls.
Events must see one another to tie a new node to its feature and later recalls.
Training reaches its best sooner

In the 12-feature comparison, DyGDi reaches its best validation loss earlier than DG-Gen. Colored dots mark each best; lighter dots mark the first value within 5% of it. Loss magnitudes are not comparable.
DyGDi better matches full-feature distributions
DyGDi's Wasserstein distance is 2.3× lower and pairwise JS is 7% lower than DG-Gen's on Reddit.
DyGDi's Wasserstein distance is 1.7× lower and pairwise JS is 38% lower than DG-Gen's on Wikipedia.
Both distances are lower-is-better; DG-Gen's noise schedule was adjusted for its 48-hour full-feature training budget.
Whole-stream fit and local topology diverge
JL combines topology, features and time: DyGDi ranks best on all eight datasets; on MOOC, DG-Gen scores five times worse.
Yet DyGDi's per-window connected-component error is about 7.5× the real-data scale, reflecting over-fragmentation.
A strong stream-level score cannot replace per-window structural checks.
Generation stays fast across window sizes

Reddit 12F events/s versus L, with M=4096 and the full 10,984-node summary; small windows stay fast. Separately, 10-step Reddit 172F speed vs DG-Gen was averaged over 10 A100 runs, at matching reported quality.
Where the evidence stops
Fixed window lengths
Current context and generation windows have fixed lengths; generalizing across lengths remains open.
Still needs ODE steps
Default generation uses a 100-step Euler solver; fewer-step sampling is a stated goal for resource-constrained devices.
MMD has a boundary
Maximum mean discrepancy (MMD) favors DG-Gen on Wikipedia and MOOC, but near-discrete features make its median-bandwidth kernel a poor fit.
Why it matters
- Jointly generating an event window preserves cross-event structure that independent sampling loses.
- For new nodes, retain role codes and random embeddings; both are needed for exact identity tracking in the controlled ablation.
- Can DyGDi keep that fidelity with variable window sizes and substantially fewer ODE steps?
11 slides, 3 min
1 day ago