# DyGDi: Diffusion Model for Continuous-Time Dynamic Graph Generation

> DyGDi jointly generates continuous-time event windows with flow matching, role codes and random embeddings to keep new nodes distinct. On Reddit's 172-feature data, it was 175× faster than DG-Gen at 10 steps on an A100, with matching reported generation quality.

- arXiv: https://arxiv.org/abs/2611.36253
- Authors: Tsiry Mayet, Noé Gille, Simon Bernard, Maxime Berar, Clément Chatelain, Sébastien Adam
- Published: 2026-12-01
- Topic: Generative models
- Visual carousel: https://instaxiv.com/p/2611.36253
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Can graph diffusion generate event windows jointly and keep new identities straight?

**175×** events/s vs DG-Gen, Reddit 172F, 10 steps

## An event stream is hard to batch

**Sequential DG-Gen:** Continuous-time graphs are timestamped event streams; DG-Gen samples them autoregressively one event at a time, limiting generation speed.

**Independent batches:** 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?

![Figure 1](https://cdn.instaxiv.com/figures/2611.36253/figure1.webp)

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. (Figure 1)

## 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

**Joint DyGDi:** On a controlled synthetic stream, full DyGDi created and recalled new nodes in order; every scored node and feature accuracy was 1.

**Diagonal independent:** 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

![Figure 2](https://cdn.instaxiv.com/figures/2611.36253/figure2.webp)

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. (Figure 2)

## DyGDi better matches full-feature distributions

**Reddit, 172 features:** DyGDi's Wasserstein distance is 2.3× lower and pairwise JS is 7% lower than DG-Gen's on Reddit.

**Wikipedia, 172 features:** 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

**Global JL:** JL combines topology, features and time: DyGDi ranks best on all eight datasets; on MOOC, DG-Gen scores five times worse.

**MOOC window topology:** 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

![Figure 5](https://cdn.instaxiv.com/figures/2611.36253/figure5.webp)

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. (Figure 5)

## 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.

Best used when: Use for inductive CTDG streams needing coherent event windows, new-node identities and rich features; choose context and window sizes in advance.

## Key takeaways

- 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?

## Links

- arXiv: https://arxiv.org/abs/2611.36253
- PDF: https://arxiv.org/pdf/2611.36253

## Citation

```bibtex
@article{mayet2026dygdi,
  title   = {DyGDi: Diffusion Model for Continuous-Time Dynamic Graph Generation},
  author  = {Mayet, Tsiry and Gille, Noé and Bernard, Simon and Berar, Maxime and Chatelain, Clément and Adam, Sébastien},
  journal = {arXiv preprint arXiv:2611.36253},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.36253}
}
```
