Cross-City Transfer Learning for Deep Spatio-Temporal Prediction

Leye Wang, Xu Geng, Xiaojuan Ma, Feng Liu, Qiang Yang

Introduction

Deep spatio-temporal prediction models have become essential tools for managing urban infrastructure, from optimizing bike-sharing flows to monitoring air quality. However, these models are notoriously "data-hungry," typically requiring years of historical data to achieve high accuracy. This requirement creates a significant barrier for developing cities or newly established service areas that lack extensive historical records—a challenge known as the "cold-start" problem.

Presented at IJCAI-19, RegionTrans is a novel transfer learning framework designed to bridge this digital divide. By transferring knowledge from data-rich "source" cities to data-scarce "target" cities, RegionTrans enables accurate predictions even when only a few days of data are available.

The RegionTrans Framework

Traditional transfer learning often attempts to align knowledge at a city-wide level. However, this approach frequently fails because cities differ vastly in size, layout, and overall dynamics. RegionTrans overcomes this by operating at the neighborhood (region) level. The core insight is that while two cities may be different as a whole, they often contain individual regions—such as financial districts or parks—that exhibit similar behavioral patterns.

Overview of the RegionTrans framework, illustrating inter-city region matching and cross-city parameter optimization.

The framework consists of three primary stages:

  1. Inter-city Region Matching: The system identifies "twin" regions across cities. This is achieved through two strategies: S-Match, which uses short-term service data (1–3 days), and A-Match, which utilizes long-term auxiliary data like Foursquare check-ins to identify functional similarities (e.g., residential vs. commercial zones).
  2. Region-Representation Network: The architecture employs ConvLSTM layers followed by a 1×1 convolutional layer. This design allows the model to extract a unique high-dimensional "fingerprint" for every individual grid cell, decoupling spatial features and enabling transfer between cities with different grid dimensions.
  3. Cross-City Optimization: During training on the target city, a joint loss function is used. It minimizes prediction error while penalizing discrepancies between the representations of matched region pairs. This forces the model to apply patterns learned in the source city to the target city.

Experimental Evaluation

The researchers evaluated RegionTrans using bike-sharing flow data from Washington D.C., Chicago, and New York City. To simulate extreme data scarcity, the target city's training data was restricted to just one or three days, while the source city provided years of historical data. Foursquare check-in data served as the auxiliary signal for region matching.

Key Results and Insights

RegionTrans demonstrated significant improvements over existing methods:

  • Error Reduction: The framework reduced the Root Mean Square Error (RMSE) by up to 10.7% compared to state-of-the-art baselines like ST-ResNet.
  • Data Efficiency: As shown in the performance analysis, the model remains effective even with only one day of target city data, a scenario where standard deep learning models typically fail to converge.
  • Robustness: Unlike standard fine-tuning, which can suffer from "negative transfer" when cities are too dissimilar, RegionTrans maintained consistent performance by focusing on local similarities.
Prediction error (RMSE) for target cities with limited data (1-day and 3-day), demonstrating the effectiveness of the transfer learning approach.

Conclusion

RegionTrans provides a robust solution to the cold-start problem in urban computing. By leveraging neighborhood-level similarities and innovative architectural choices like 1×1 convolutions, it allows data-scarce cities to benefit from the advanced AI capabilities of data-rich metropolises. Future work may involve extending this framework to non-grid structures using Graph Convolutional Networks (GCNs) and exploring broader spatial granularities.

Summary updated

BibTeX
@inproceedings{wang2019cross,
  author = {Leye Wang and Xu Geng and Xiaojuan Ma and Feng Liu and Qiang Yang},
  title = {{Cross-City Transfer Learning for Deep Spatio-Temporal Prediction}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/262},
}
Figure