Abstract
The rapid spread of COVID-19 has highlighted the critical need for early detection and localized containment strategies. Traditional interventions often suffer from a "cold-start" problem, relying on delayed case counts that lead to either late responses or economically damaging city-wide lockdowns. This paper introduces C-Watcher, a novel machine learning framework designed to identify high-risk residential neighborhoods in a target city before local outbreaks are reported. By employing an adversarial encoder-decoder architecture, C-Watcher extracts city-invariant mobility and infrastructure features from virus epicenters (e.g., Wuhan) and transfers this knowledge to target cities. Experimental results across 10 Chinese cities demonstrate that C-Watcher significantly outperforms traditional baselines, providing a proactive tool for pandemic management.
Introduction
A primary challenge in managing the COVID-19 pandemic is the significant time lag between infection and clinical detection, typically spanning a 5–14 day incubation period. By the time a cluster of cases is confirmed, the virus has often already established a foothold within the community. Existing data-driven models frequently rely on confirmed case counts, which are both time-delayed and coarse-grained. Consequently, authorities are often forced into a binary choice: implement containment measures too late or impose blunt, metropolitan-wide lockdowns that incur severe social and economic costs.
C-Watcher addresses this "cold-start" challenge by shifting the focus from tracking existing infections to identifying neighborhoods where the virus is most likely to thrive based on human behavior and urban infrastructure.
Methods
The C-Watcher framework integrates comprehensive feature engineering with a sophisticated cross-city transfer learning architecture.
Feature Engineering
The model characterizes neighborhoods using three primary data categories sourced from Baidu Maps:
- POI Radius Features: Proximity to essential facilities like hospitals and transit hubs. A lack of local facilities often necessitates longer travel distances, increasing exposure risk.
- Demographic Features: Static indicators including population density, age distribution, and education levels.
- Transportation-Related Features: Dynamic patterns of resident movement, including average commute distances and Origin-Transportation-Destination (OTD) travel patterns.
Adversarial Encoder-Decoder Architecture
To overcome the heterogeneity between different cities (e.g., varying transit preferences), C-Watcher utilizes an adversarial learning approach to extract "city-invariant" features.
As shown in the architecture above, the Encoder generates a latent representation of a neighborhood. A Discriminator then attempts to identify whether this representation originates from the epicenter or the target city. The encoder is trained to "fool" the discriminator, effectively stripping away city-specific noise and focusing on underlying mobility behaviors that drive viral spread. Simultaneously, Decoders ensure that these representations retain essential neighborhood characteristics through reconstruction loss, while a Classifier trained on epicenter ground-truth data performs the final risk assessment.
Datasets and Experimental Setup
The study utilized large-scale, anonymized data from 16 cities in China, covering the period from January to March 2020.
- Epicenter Data: Wuhan, with 336 high-risk and 715 low-risk neighborhoods labeled based on official government releases.
- Reference Cities: Five cities (e.g., Shenzhen, Shanghai) used for hyperparameter tuning.
- Target Cities: Ten additional cities (e.g., Huizhou, Shaoyang) used to evaluate early detection performance.
- Data Sources: Point-of-Interest (POI) data, user profile data, and human mobility traces from Baidu Maps.
Key Results
C-Watcher demonstrated superior performance across all test scenarios, outperforming classical baselines such as SVM, XGBoost, and MLP by an average of 8.18% in AUC. In specific cities like Shaoyang, the improvement reached as high as 14.57%.
Feature Importance Analysis
The model's weights provide significant insight into the drivers of neighborhood-level risk.
Analysis of the learned weights reveals several critical correlations:
- High Risk Factors: Strongly associated with high population density (PD) and long average commute distances.
- Low Risk Factors: Neighborhoods with a higher proportion of residents who walk (TW) rather than use public transit showed significantly lower risk.
- Infrastructure Impact: Interestingly, a greater distance to major transit hubs like train stations was found to reduce a neighborhood's vulnerability.
Discussion and Limitations
While C-Watcher offers a powerful proactive tool, its effectiveness can be sensitive to geographic and cultural differences. Performance gains were most pronounced when the "reference city" used for tuning shared similarities with the target city. Furthermore, while the use of anonymized mobility data is effective, it necessitates robust privacy-preserving frameworks to protect individual data.
Future work aims to incorporate real-time behavioral shifts—such as immediate public reaction to lockdown announcements—to further refine risk scores and provide even more dynamic guidance for public health authorities.
Summary updated