Spatio Temporal Diffusion Point Processes
A diffusion-based framework for spatio-temporal point processes
Install / Use
npx skills add tsinghua-fib-lab/Spatio-temporal-Diffusion-Point-ProcessesInstalls into whichever agent you are using.
README
Spatio-temporal Diffusion Point Processes

This project was initially described in the full research track paper Spatio-temporal Diffusion Point Processes at KDD 2023 in Long Beach, CA. Contributors to this project are from the Future Intelligence laB (FIB) at Tsinghua University.
The code is tested under a Linux desktop with torch 1.7 and Python 3.7.10.
Installation
Environment
- Tested OS: Linux
- Python >= 3.7
- PyTorch == 1.7.1
- Tensorboard
Dependencies
- Install PyTorch 1.7.1 with the correct CUDA version.
- Use the
pip install -r requirements. txtcommand to install all of the Python modules and packages used in this project.
Model Training
Use the following command to train DSTPP on Earthquake dataset:
python app.py --dataset Earthquake --mode train --timesteps 500 --samplingsteps 500 --batch_size 64 --total_epochs 2000
To train DSTPP on other datasets:
python app.py --dataset COVID19 --mode train --timesteps 500 --samplingsteps 500 --batch_size 64 --total_epochs 2000
python app.py --dataset Citibike --mode train --timesteps 500 --samplingsteps 500 --batch_size 128 --total_epochs 2000
python app.py --dataset Independent --mode train --timesteps 500 --samplingsteps 500 --batch_size 128 --total_epochs 2000
The trained models are saved in ModelSave/.
The logs are saved in logs/.
Note
The implemention is based on DDPM.
If you found this library useful in your research, please consider citing:
@inproceedings{yuan2023DSTPP,
author = {Yuan, Yuan and Ding, Jingtao and Shao, Chenyang and Jin, Depeng and Li, Yong},
title = {Spatio-Temporal Diffusion Point Processes},
year = {2023},
booktitle = {Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
pages = {3173–3184},
}
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.6kCommit, push, and open a PR
Languages
Security Score
Audited on Jun 15, 2026
