Spatio-Temporal Few-Shot Learning via Diffusive Neural Network Generation

Yuan Yuan, Chenyang Shao, Jingtao Ding, Depeng Jin, Yong Li
2/12/2026

No official code found. Best implementation: tsinghua-fib-lab/GPD (61 stars, last commit 2024-05-18).

Abstract

Spatio-temporal modeling is foundational for smart city applications, yet it is often hindered by data scarcity in many cities and regions. To bridge this gap, we propose a novel generative pre-training framework, GPD, for spatio-temporal few-shot learning with urban knowledge transfer. Unlike conventional approaches that heavily rely on common feature extraction or intricate few-shot learning designs, our solution takes a novel approach by performing generative pre-training on a collection of neural network parameters optimized with data from source cities. We recast spatio-temporal few-shot learning as pre-training a generative diffusion model, which generates tailored neural networks guided by prompts, allowing for adaptability to diverse data distributions and city-specific characteristics. GPD employs a Transformer-based denoising diffusion model, which is model-agnostic to integrate with powerful spatio-temporal neural networks. By addressing challenges arising from data gaps and the complexity of generalizing knowledge across cities, our framework consistently outperforms state-of-the-art baselines on multiple real-world datasets for tasks such as traffic speed prediction and crowd flow prediction. The implementation of our approach is available: https://github.com/tsinghua-fib-lab/GPD.

View on arXivView PDF

Code Implementations(1)

The official implementation of the ICLR 24 submission entitled "Spatio-Temporal Few-Shot Learning via Diffusive Neural Network Generation".

616PythonFeb 21, 20242 years ago

Similar Papers

Cite this paper

@article{yuan2026spatiotemporal,
  title  = {Spatio-Temporal Few-Shot Learning via Diffusive Neural Network Generation},
  author = {Yuan Yuan and Chenyang Shao and Jingtao Ding and Depeng Jin and Yong Li},
  year   = {2026},
  eprint = {2402.11922},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.11922},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.11922.svg)](https://codeofpaper.com/paper/2402.11922)

Discussion