Skip to main navigation Skip to search Skip to main content

PMME: Spatio-Temporal Few-Shot Learning via Pattern Matching with Memory Enhancement

  • Ziyang Ji
  • , Xiaobin Ren
  • , Qiqi Wang
  • , Kaiqi Zhao*
  • *Corresponding author for this work
  • The University of Auckland
  • Nankai University
  • Harbin Institute of Technology Shenzhen

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Spatio-temporal forecasting is critical for urban computing but remains challenging for cities with limited historical data. Existing spatio-temporal few-shot methods are all based on spatio-temporal GNNs and struggle to capture long-range temporal dependencies, which limits cross-city transfer. We propose Pattern Matching with Memory Enhancement (PMME), a two-stage framework for cross-city spatio-temporal few-shot learning built on multivariate time-series backbones. In the first stage, a Pattern Matching (PM) module leverages Gaussian process-enhanced conditional optimal transport to match and align the features of spatio-temporal patterns shared between source and target cities, thereby mitigating negative transfer. In the second stage, a Residual Memory (RM) module then learns to correct residual errors of the frozen backbone via an attention-based memory matrix, focusing on spatio-temporal patterns that are rare in source cities but potentially common in the target. We further provide a theoretical analysis of PM’s generalization behavior under varying sample sizes and distributional discrepancies. Experiments on four real-world traffic benchmarks show that PMME improves strong backbones and outperforms state-of-the-art few-shot and domain adaptation baselines. Appendix and code are provided in the repository https://github.com/serre20/PMME.

Original languageEnglish
Title of host publicationAdvances in Knowledge Discovery and Data Mining - 30th Pacific-Asia Conference on Knowledge Discovery and Data Mining, PAKDD 2026, Proceedings
EditorsRaymond Chi-Wing Wong, Hanghang Tong, Hua Lu, James Kwok, Flora Salim, Yuanfeng Song, Man Lung Yiu
PublisherSpringer Science and Business Media Deutschland GmbH
Pages132-144
Number of pages13
ISBN (Print)9789819214617
DOIs
StatePublished - 2026
Externally publishedYes
Event30th Pacific-Asia Conference on Knowledge Discovery and Data Mining, PAKDD 2026 - Hong Kong, China
Duration: 9 Jun 202612 Jun 2026

Publication series

NameLecture Notes in Computer Science
Volume16598 LNAI
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference30th Pacific-Asia Conference on Knowledge Discovery and Data Mining, PAKDD 2026
Country/TerritoryChina
CityHong Kong
Period9/06/2612/06/26

Keywords

  • Few-Shot Learning
  • Spatio-Temporal Learning
  • Traffic Prediction

Fingerprint

Dive into the research topics of 'PMME: Spatio-Temporal Few-Shot Learning via Pattern Matching with Memory Enhancement'. Together they form a unique fingerprint.

Cite this