Skip to main content
QUICK REVIEW

[Paper Review] Learning from Multiple Cities: A Meta-Learning Approach for Spatial-Temporal Prediction

Huaxiu Yao, Yiding Liu|arXiv (Cornell University)|Jan 24, 2019
Traffic Prediction and Management TechniquesEngineering46 references8 citations
TL;DR

This paper proposes MetaST, a meta-learning framework that transfers spatial-temporal knowledge from multiple data-rich cities to improve prediction in data-scarce target cities. By learning a well-generalized model initialization and leveraging a pattern-based memory to distill long-term periodicity, MetaST achieves state-of-the-art performance on traffic and water quality prediction tasks, with a 7.7% average improvement over baselines.

ABSTRACT

Spatial-temporal prediction is a fundamental problem for constructing smart city, which is useful for tasks such as traffic control, taxi dispatching, and environmental policy making. Due to data collection mechanism, it is common to see data collection with unbalanced spatial distributions. For example, some cities may release taxi data for multiple years while others only release a few days of data; some regions may have constant water quality data monitored by sensors whereas some regions only have a small collection of water samples. In this paper, we tackle the problem of spatial-temporal prediction for the cities with only a short period of data collection. We aim to utilize the long-period data from other cities via transfer learning. Different from previous studies that transfer knowledge from one single source city to a target city, we are the first to leverage information from multiple cities to increase the stability of transfer. Specifically, our proposed model is designed as a spatial-temporal network with a meta-learning paradigm. The meta-learning paradigm learns a well-generalized initialization of the spatial-temporal network, which can be effectively adapted to target cities. In addition, a pattern-based spatial-temporal memory is designed to distill long-term temporal information (i.e., periodicity). We conduct extensive experiments on two tasks: traffic (taxi and bike) prediction and water quality prediction. The experiments demonstrate the effectiveness of our proposed model over several competitive baseline models.

Motivation & Objective

  • To address spatial-temporal prediction in cities with limited data by leveraging knowledge from multiple data-rich source cities.
  • To improve model generalization and adaptation stability by transferring knowledge from multiple diverse cities rather than a single source.
  • To capture and transfer long-term periodic patterns (e.g., daily/weekly cycles) from source cities to enhance predictions in target cities with short data spans.
  • To develop a meta-learning framework that enables fast, effective adaptation of a spatial-temporal model to new, data-scarce target cities.

Proposed method

  • A spatial-temporal neural network (ST-net) is designed with a local CNN for spatial features and an LSTM for temporal dependencies.
  • Meta-learning is applied to learn a well-generalized initialization of the ST-net, enabling fast adaptation to new target cities with few samples.
  • A global pattern-based spatial-temporal memory is introduced to distill long-term periodic patterns (e.g., monthly or weekly cycles) from multiple source cities.
  • The memory representation is learned via K-means clustering on DTW-distances of temporal patterns, capturing region-specific periodic behaviors.
  • A joint loss function combines reconstruction loss and meta-learning loss, with a trade-off hyperparameter γ to balance adaptation and memory learning.
  • The model is trained on multiple source cities and fine-tuned on target cities using few-shot adaptation, enabling effective transfer even with limited target data.

Experimental results

Research questions

  • RQ1Can knowledge transfer from multiple source cities improve prediction performance in data-scarce target cities compared to single-source transfer?
  • RQ2How can a meta-learning framework enable fast and stable adaptation of a spatial-temporal model to new target cities with limited data?
  • RQ3To what extent can long-term periodic patterns (e.g., weekly or monthly cycles) be effectively captured and transferred from source cities to improve prediction in target cities?
  • RQ4Does incorporating a pattern-based memory for periodicity improve model generalization and performance over standard transfer learning baselines?

Key findings

  • MetaST achieves a 7.7% average relative improvement in prediction accuracy over all baselines on the water quality prediction task, with significant gains in data-scarce regions.
  • The model outperforms both non-transfer and single-source transfer baselines, demonstrating the benefit of multi-city knowledge transfer for improved stability and generalization.
  • The pattern-based spatial-temporal memory effectively captures and transfers long-term periodic patterns, such as monthly pH cycles, which are critical for accurate environmental prediction.
  • Hyperparameter analysis shows that a memory dimension d=4 and trade-off factor γ=10⁻⁴ yield optimal performance, indicating the importance of balanced loss weighting and appropriate memory capacity.
  • MetaST significantly outperforms MAML and Multi-FT baselines in water quality prediction, suggesting that structured memory and multi-source transfer are more effective than generic initialization or simple data mixing.
  • The model generalizes well across diverse spatial-temporal patterns, as evidenced by consistent performance gains across multiple target cities and prediction tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.