NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

Investigating the Spatiotemporal Response of Urban Functions to Fine-Grained Resident Activities with a Novel Analytical Framework and Baidu Heatmap

Dongxue Han, Deqin Fan, Jinyu Zhang, Xuesheng Zhao, Haoyu WangLand 2025

TL;DR

This paper introduces a novel analytical framework using tensor decomposition and Random Forests to understand how urban functions dynamically respond to fine-grained resident activities. By analyzing Baidu heatmap data in Beijing, the study reveals distinct temporal and spatial patterns of human behavior and their impact on urban functions, offering crucial insights for resource allocation and urban planning.

What Problem Does This Paper Address?

Urban planning and resource allocation traditionally struggle with understanding the dynamic interplay between how people use urban spaces and how those spaces function. Existing methods often rely on fixed time intervals and static spatial definitions, failing to capture the nuanced, real-time shifts in resident activities and their impact on urban functions. This complexity is further amplified by rapid urbanization, making it challenging to effectively manage resources, monitor urban development, and ensure urban resilience. This paper aims to bridge this gap by developing a framework that can dynamically analyze these spatiotemporal relationships.

Methods

The core of this study lies in a novel analytical framework that combines several advanced techniques:

  • Tensor Decomposition (Tucker Decomposition): This method is used to extract latent spatiotemporal patterns from high-dimensional big data. Unlike traditional approaches that might use fixed time bins, tensor decomposition allows for the identification of dynamic temporal and spatial patterns without pre-defined intervals. This helps in understanding the underlying structure of resident activities and urban functions.
  • K-Means Clustering: Applied to the spatial patterns identified by tensor decomposition, K-means clustering is used to group similar spatial units into distinct functional categories (e.g., basic living areas, bustling business districts). This helps in classifying urban spaces based on their dominant functions.
  • Random Forest Model: This machine learning algorithm is employed to quantify the importance of different Points of Interest (POI) categories (Transportation, Organizations, Leisure, Habitation, and Basic Facilities) in influencing urban functions across various spatiotemporal contexts. It helps understand which types of facilities are most critical in shaping urban dynamics.
  • Elasticity Index (EI): Adapted from economics, the EI is used to measure the responsiveness of urban functions to changes in resident activity intensity. This provides a quantitative metric for assessing how well urban facilities adapt to dynamic demands.

Datasets

The study utilizes two primary datasets for Beijing:

  • Baidu Maps POI Data: Approximately 809,488 Points of Interest (POIs) were collected and classified into five main categories: Transportation (TPOI), Organizations (OPOI), Leisure (CPOI), Habitation (HPOI), and Basic Facilities (BPOI).
  • Baidu Heatmap Data: This data, collected over two days (a workday and a rest day) with a temporal resolution of 1 hour and a spatial resolution of 150 meters, captures population aggregation and reflects resident activity intensity.

Key Insights and Ideas

  • Dynamic Urban Rhythms: Residents' daily lives exhibit distinct temporal patterns (sleeping, commuting, daytime, leisure) that are not static but fluid and context-dependent.
  • Functional Heterogeneity: Urban spaces are not monolithic; they can be categorized into distinct functional types (basic living, mixed-use, commercial, bustling business districts), each with unique activity patterns.
  • Interdependence of Space and Activity: Urban functions are not just passive backdrops but actively shape resident activities, and conversely, resident activities dynamically influence and transform urban functions.
  • Context-Specific Facility Importance: The significance of different POI types (e.g., transportation, commercial) varies greatly depending on the time of day and the type of urban functional zone.
  • Uneven Adaptive Capacity: Different urban functional zones possess varying degrees of "elasticity" or responsiveness to changes in resident activity, highlighting areas that may be over- or under-resourced.

Key Results

  • Four Temporal Patterns: The study identified four distinct temporal patterns of resident activity: Sleep (22:00-6:00), Commuting (6:00–10:00, 18:00–20:00), Daytime Activity (10:00–18:00), and Leisure (20:00–22:00).
  • Four Spatial Function Types: Beijing's urban landscape was classified into four main spatial function types: Basic living areas, Residential areas with mixed functions, Residential areas with commercial functions, and Bustling business districts.
  • Contextual POI Dominance: Basic living POIs were dominant during daytime activities in residential zones, while transportation POIs were crucial during commuting in mixed-use areas. Commercial POIs (CPOI) showed consistent influence across all clusters, particularly during daytime and sleep periods in commercial and business districts.
  • Spatial Heterogeneity in Elasticity: The Elasticity Index (EI) revealed significant differences in how urban functions adapt to activity shifts. Basic living areas and mixed-use residential areas showed more stable elasticity, indicating better alignment between supply and demand, while commercial and business districts exhibited greater volatility, suggesting more specialized but potentially less balanced functional structures.

Limitations and Future Work

  • Data Representativeness: The study acknowledges that Baidu Heatmap data may not fully represent all user groups (e.g., elderly, low-income) and that POI data might overemphasize commercial facilities. Mobile signaling data could be used in the future to address these biases.
  • Temporal Scope: The analysis was limited to two specific days (a workday and a rest day). Future research plans to extend the study period to include more dates, holidays, and different seasons to capture a broader range of spatiotemporal behaviors.
  • Framework Application: The authors suggest exploring the framework's application over longer time periods and in other cities and datasets to support evidence-based urban planning and resilience assessment.

Summary updated

Abstract

Studying the response of urban functions to residents’ spatiotemporal activity patterns is essential for understanding urban functions and guiding resource allocation. Unlike previous studies constrained by fixed intervals and static functional spaces, this study has developed an analytical framework to examine urban functional responses to residents’ activity patterns under dynamic spatiotemporal combinations. Tensor decomposition was employed to identify key temporal activity patterns of residents and dynamic urban functional patterns, while a Random Forest model was used to evaluate the contributions of five POI (Points of Interest) groups—Transportation, Organizations, Leisure, Habitation, and Basic Facilities—derived from a reclassification of 17 original POI categories, and the Elasticity Index (EI) quantifies functional responsiveness to activity changes. Results indicated that (1) four temporal patterns (sleeping, commuting, daytime, and leisure) and four spatial function types (the basic living area, the residential areas with mixed functions, residential areas with commercial functions and bustling business districts) characterized Beijing’s urban dynamics; (2) the five types of urban function varied with spatiotemporal context, with basic living POIs dominating daytime activities in residential zones and transportation POIs prevailing during commuting in mixed-use areas; (3) EI revealed significant spatial heterogeneity in adaptive capacities to activity transitions, which helped to accurately identify the key areas for improving urban functions. These findings provide new methodological insights and scientific evidence for resilient urban planning and resource optimization, supporting data-driven decision-making for spatial planning, infrastructure allocation, and emergency response management.
BibTeX
@inproceedings{han2025investigating,
  author = {Dongxue Han and Deqin Fan and Jinyu Zhang and Xuesheng Zhao and Haoyu Wang},
  title = {{Investigating the Spatiotemporal Response of Urban Functions to Fine-Grained Resident Activities with a Novel Analytical Framework and Baidu Heatmap}},
  booktitle = {Land},
  year = {2025},
  doi = {10.3390/land14112235},
}
Figure