Abstract
The COVID-19 pandemic and subsequent control measures significantly altered human behavior and mobility. However, the extent to which these responses vary within a city or across demographic groups remains poorly understood. This study utilizes passively recorded cellular signaling data (CSD) at a 1km × 1km resolution for over 5 million users in Shanghai, China, alongside epidemiological surveillance data from the 2022 Omicron BA.2 outbreak. We find that behavioral changes were spatially and demographically heterogeneous, influenced by both infection incidence and government interventions. Notably, males and individuals aged 30–59 years exhibited higher mobility and community connectivity, which correlated with the highest SARS-CoV-2 incidence. These findings suggest that within-city mobility patterns are critical for designing targeted interventions for future respiratory pathogen outbreaks.
Introduction
While many studies have examined the impact of COVID-19 on human mobility at a macro level—comparing cities or nations—the internal dynamics of a megacity during a major outbreak are often obscured by aggregation. Shanghai’s experience during the Spring 2022 Omicron BA.2 outbreak provides a unique opportunity to study these dynamics. With a population of over 25 million and a rigorous citywide lockdown, the "circulatory system" of the city underwent a massive stress test. This paper investigates how mobility changed at a micro-level (within-city) and how these changes correlated with demographic factors and infection risk.
Methods and Data
The researchers analyzed two primary datasets:
- Cellular Signaling Data (CSD): Anonymized data from approximately 5.04 million China Unicom users (roughly 20% of the city's population) from February to June 2022. Unlike GPS-based data, CSD is passively recorded whenever a device interacts with a cell tower, providing a more consistent and less biased representation of population movement.
- Epidemiological Surveillance Data: Official records of 627,132 SARS-CoV-2 infections. A detailed "line list" for the early phase (March 2022) provided age and sex information for correlation with mobility patterns.
The study area was divided into 7,355 grid cells (1km × 1km). To analyze the city's functional structure, the researchers employed the Infomap method, a network analysis algorithm that identifies "communities"—groups of grid cells with high internal connectivity. The analysis was categorized into five phases: Pre-outbreak, Targeted Interventions, Citywide Lockdown, Targeted Lifting, and Reopening.
Results
Spontaneous vs. Mandated Behavioral Change
One of the most significant findings was the presence of spontaneous behavioral changes before the official citywide lockdown. In neighborhoods with high infection counts, mobility dropped by 78.7% during the "Targeted Interventions" phase. In contrast, "clean" areas saw only a 13% reduction. This suggests that residents were self-isolating based on perceived local risk and neighborhood-level restrictions before the mandate became citywide.
Demographic Heterogeneity in Mobility and Risk
The study identified a clear demographic profile for high-risk mobility. Males and adults aged 30–59 years traveled more frequently and covered longer distances than other groups. Specifically, middle-aged adults (30–59) had a network "degree"—a measure of the number of unique locations visited—that was 40 times higher than that of teenagers (16–18).
Crucially, these highly mobile groups also experienced the highest incidence of COVID-19. This correlation highlights the role of specific demographic segments as "super-connectors" within the urban environment, driving transmission through their broader social and geographic reach.
The Fragmentation of Urban Connectivity
The citywide lockdown, which began in late March, fundamentally dismantled Shanghai's social geography. Total mobility plummeted by 87.5%, and the median travel distance shrank from 6.04 km to just 1.21 km.
Using the Infomap algorithm, the researchers observed a dramatic fragmentation of the city's functional network. Before the outbreak, Shanghai consisted of 22 large, integrated communities. During the lockdown, this structure shattered into 180 tiny, isolated fragments. The "core-periphery" structure that typically allows the city to function as a single unit was effectively vaporized, restricting movement to immediate residential vicinities.
Recovery and the "Short-Trip" Rebound
Following the reopening on June 1, mobility flows returned to 91.2% of pre-outbreak levels within a single week. However, this recovery was uneven. Short-distance trips (<3 km) surged back to levels higher than pre-outbreak benchmarks almost immediately, likely reflecting a "rebound" effect as residents resumed local errands and social activities. In contrast, long-distance travel and the overall functional community structure took significantly longer to stabilize, indicating that the city’s "macro" connectivity was slower to heal than its "micro" interactions.
Discussion and Implications
The heterogeneity observed in this study has profound implications for public health policy. The data suggests that blanket, citywide lockdowns—while effective at stopping transmission—may be a blunt instrument when more surgical, spatially targeted interventions could suffice.
By identifying the demographic groups and specific neighborhoods that drive connectivity, authorities could theoretically implement "precision" restrictions. For example, interventions could focus on the most connected "super-connector" nodes or demographic groups during the early stages of an outbreak to slow spread without necessitating a total economic and social standstill.
Limitations
The study is subject to selection bias, as it only includes mobile phone users, potentially underrepresenting children and the elderly. Furthermore, detailed demographic data for infections was only available for the early phase of the outbreak, and the aggregated nature of the CSD data prevents the tracking of individual-level super-spreading events.
Conclusion
This high-resolution analysis of Shanghai’s mobility patterns reveals that a city’s response to a pandemic is far from uniform. The interplay between local risk, demographic behavior, and government policy creates a complex landscape of movement. Understanding these heterogeneities is essential for fostering preparedness and designing more resilient, targeted responses to future respiratory disease outbreaks.
Summary updated