DiffSTG
UGnet, the denoising network of DiffSTG, a diffusion model for probabilistic spatio-temporal graph forecasting.
Time series · 307 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Time series
- Parameters
- 996.8K
- Operations
- 307
- Framework
- PyTorch
- Recurrent
- No
- Published
- ACM SIGSPATIAL 2023
- Cited by
- 129 (as of 28 October 2026)
- Authors
- Haomin Wen, Youfang Lin, Yutong Xia and others
- Source
- GitHub: wenhaomin/DiffSTG
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16114
- Graph hash
- 3e64bfb5a6663e0a2d7e4c2200b1c722f1639ca9806cca15f5fb4997de235426
- Skeleton hash
- 6309aff877ef7ae93ddb90d49b074f504eab2aa35b2d2cb6ddfb10fb0923bb25
- Architecture hash
- 8947d85ac3bdb3ccb2b2c9528c62707f71fa946f34cf4eb342f24dfa1ce9ad41
- Diagram SHA-256
- 1f826df9e6402355a99b3a0c6c57b365fb46ceaf23d52688199ea2cf580b3ea6
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
DiffSTG generalizes denoising diffusion probabilistic models to spatio-temporal graphs (STGs), producing probabilistic forecasts of the signals on a graph's nodes. The paper's starting point is that spatio-temporal graph neural networks, the dominant forecasting models, fail to model the intrinsic uncertainties within the data. DiffSTG is non-autoregressive: it generates multi-horizon predictions all at once rather than step by step.
This model is UGnet, the denoising network at the center of DiffSTG. It adopts a Unet-like architecture in the temporal dimension to capture temporal dependencies at different granularities, and a graph neural network to model spatial correlations. The history is represented by masking all future time steps, and it conditions the denoiser. In each spatio-temporal residual block the features pass through a temporal convolution network, a 1D gated causal convolution, and then a graph convolution in the form of the vanilla GCN. The noise level enters as a positional encoding.
This model is set up for PEMS08, a traffic flow dataset collected by the Caltrans Performance Measurement System. The paper reports that DiffSTG reduces the Continuous Ranked Probability Score (CRPS) by 4%-14% and Root Mean Squared Error (RMSE) by 2%-7% over existing methods on three real-world datasets.
Key idea. DiffSTG extends denoising diffusion probabilistic models to spatio-temporal graph forecasting, with a denoising network, UGnet, that pairs a Unet-based temporal structure with a graph neural network.
- diffstg
- ugnet
- spatio-temporal graph forecasting
- stg forecasting
- probabilistic forecasting
- diffusion model
- ddpm
- traffic forecasting
- air quality forecasting
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wen2024diffstgprobabilisticspatiotemporalgraph,
title={DiffSTG: Probabilistic Spatio-Temporal Graph Forecasting with Denoising Diffusion Models},
author={Haomin Wen and Youfang Lin and Yutong Xia and Huaiyu Wan and Qingsong Wen and Roger Zimmermann and Yuxuan Liang},
year={2024},
eprint={2301.13629},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2301.13629},
}