UrbanDataLayer: A Unified Data Pipeline for Urban Science

Yiheng Wang, Tianyu Wang, YuYing Zhang, Hongji Zhang, Haoyu Zheng, Guanjie Zheng, Linghe Kong

Introduction

UrbanDataLayer (UDL) is a new standardized data management suite designed to fix the fragmented state of urban science research. By providing unified data structures and automated pipelines for multi-modal fusion, UDL enables researchers to build reproducible benchmarks and easily integrate diverse datasets—like satellite imagery, traffic flows, and population grids—into modern AI foundation models.

The Challenge in Urban Science

In fields like Computer Vision (CV) or Natural Language Processing (NLP), standardized datasets like ImageNet or WikiText-103 have fueled rapid, iterative progress. Urban science, however, remains highly fragmented. Researchers often tackle similar problems (e.g., air quality prediction) using completely different datasets or inconsistent processing steps.

The authors identify three main hurdles:

  1. Lack of Benchmarks: Because data processing is non-standard, it is nearly impossible to compare two different models fairly.
  2. Data Inaccessibility: Less than 30% of papers in some urban tasks make their data public, making results hard to reproduce.
  3. Multi-modal Friction: Urban data comes in a mess of formats—TIFFs for satellite images, JSONs for trajectories, and CSVs for sensors. Fusing these to train a single model is currently a manual, error-prone nightmare.

The UrbanDataLayer (UDL) Methodology

To solve these issues, the authors propose UrbanDataLayer (UDL), a pipeline that systematically moves data through four stages: Raw Data, Standard Data Layer, Granularity Aligned Data, and Fused Data.

The four-stage UrbanDataLayer pipeline

The core of UDL relies on five standardized data structures to represent the physical world:

  • Grid: For raster-like data (e.g., population density).
  • Graph: For networked data (e.g., road networks).
  • Point: For discrete locations (e.g., Points of Interest or sensor stations).
  • Linestring: For paths (e.g., trajectories).
  • Polygon: For areas (e.g., administrative boundaries).

UDL provides a suite of "ready-to-use" APIs to handle the heavy lifting of Granularity Alignment (e.g., converting a $0.01^\circ$ grid to a $0.05^\circ$ grid) and Scheme Transformation (e.g., turning a road network graph into a set of points).

Scheme transformation APIs in UDL

This architecture allows a researcher to fuse nightlight data with population data in just a few lines of code, rather than writing custom scripts for every new project.

Datasets and Empirical Cases

The paper demonstrates UDL’s utility across four empirical cases using data from Shanghai and New York State:

  • Air Quality: PM2.5 concentration data from NASA.
  • Socioeconomic Data: Population grids and "SMOD" (an urbanization degree indicator).
  • Infrastructure: Road network intersection density and Points of Interest (POI).
  • Remote Sensing: Nightlight intensity (VIIRS/DNB).
  • Climate: The El Niño dataset for anomaly detection.

Key Insights and Results

  • The "6-to-2" Efficiency Gain: In a typical multi-task scenario (e.g., doing regression, classification, and clustering on the same region), a researcher might normally have to perform six separate data conversion steps. With UDL’s unified API, this is reduced to just two steps, as the intermediate "Standard Data Layer" can be reused across all tasks.
  • Standardization as a Catalyst for Foundation Models: The recent rise of Large Language Models (LLMs) for time-series and urban computing requires a steady stream of "tokenizable" urban data. UDL acts as the pre-processor that can turn messy city data into the point-based formats these models require.
  • Improved Predictive Performance: The experiments confirm that fusing multi-modal urban features yields superior results. The authors tested UDL by training classic models (XGBoost, MLP, Random Forest) on fused datasets:
  • PM2.5 Prediction: In both Shanghai and New York, combining all features (road network + nightlight + population) consistently yielded the best results. In Shanghai, the RMSE dropped from 3.95 (road network only) to 3.35 (combined) using XGBoost.
  • Built-up Area Classification: Using UDL to fuse SMOD and population data allowed classifiers to reach an F1-score of 0.800 in Shanghai and 0.899 in New York, significantly outperforming single-feature models.
  • Boundary Identification: UDL helped identify administrative boundaries by clustering POI and road data, achieving an F1-score of 0.914 in New York City when combining road and population data.

Limitations and Future Work

While UDL is a powerful step toward standardization, the authors note a few limitations:

  • Geospatial Focus: The current iteration is heavily focused on geospatial and spatio-temporal data. It may need expansion to handle more abstract urban data like social media sentiment or economic policy text.
  • Global Scaling: Most experiments were limited to two major metropolitan areas. The authors plan to incorporate more diverse regions to ensure the pipeline handles the quirks of cities in developing nations or different geographic climates.
  • Precision Loss: The paper acknowledges that "intra-area aggregation" during transformation (e.g., moving from a fine grid to a coarse one) can lead to a loss of data precision.

Summary updated

BibTeX
@inproceedings{wang2024urbandatalayer,
  author = {Yiheng Wang and Tianyu Wang and YuYing Zhang and Hongji Zhang and Haoyu Zheng and Guanjie Zheng and Linghe Kong},
  title = {{UrbanDataLayer: A Unified Data Pipeline for Urban Science}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
}
Figure