Skip to main navigation Skip to search Skip to main content

Analyzing the influence of environment, demographic and socio-economic factors on Aedes albopictus (Diptera: Culicidae) mosquito density at the micro-level using XGBoost and SHAP

  • Shanghai Municipal Center for Disease Control and Prevention
  • Ministry of Education of the People's Republic of China
  • East China Normal University
  • Ministry of Natural Resources of the People's Republic of China

Research output: Contribution to journalArticlepeer-review

Abstract

Background: Effective mosquito control in urban areas requires understanding of how climatic, ecological and socioeconomic factors shape vector abundance. However, most studies use linear or opaque models that overlook nonlinear relationships between environmental conditions and Aedes albopictus density. These complex associations remain insufficiently characterized in highly urbanized settings, where interacting environmental and human factors jointly influence mosquito habitats. Methods: We trained a random forest model, an XGBoost model with a default squared-error objective and an XGBoost model with a Poisson count objective using adult Aedes albopictus monitoring data collected across Shanghai from April to November 2023. Model performance was evaluated with RMSE, MAE, R2 and Poisson deviance, and temporally blocked cross-validation was applied to assess temporal generalizability. SHAP analysis was used to interpret variable importance and contribution patterns. To examine operational relevance, we additionally evaluated hotspot localization accuracy using July 2024 data. Results: On the independent test set, the XGBoost-Poisson model achieved the best overall accuracy (R2 = 0.73, Poisson deviance = 4.52). SHAP analysis identified the 14-day temperature lag as the dominant predictor, followed by a slight negative population density and compulsory completion of education. Precipitation and NDVI showed smaller positive contributions. Age structure variables exhibited nonlinear trends—with an inverted-U shape for children, a declining pattern for older adults and a shallow U shape for building height. By site type, mosquito density tended to be higher near schools, livestock sheds and office areas and lower in residential, farmhouse, park and hospital environments. Under temporally blocked cross-validation, the model retained moderate temporal generalization. In out-of-time hotspot validation, the top 10% of sites captured 41–50% of hotspots, rising to 60–68% at 25% coverage, suggesting moderate spatial localization. Conclusions: The framework identified key environmental and socioeconomic drivers of Aedes albopictus density in Shanghai. Despite moderate temporal generalization, it provides interpretable, fine-scale insights to guide targeted vector control and inform urban mosquito management in dense metropolitan settings. Future research should validate the framework across additional seasons and diverse urban contexts, incorporate finer environmental and infrastructural data and enhance uncertainty quantification for improved interpretive robustness.

Original languageEnglish
Article number71
JournalParasites and Vectors
Volume19
Issue number1
DOIs
StatePublished - Dec 2026

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 3 - Good Health and Well-being
    SDG 3 Good Health and Well-being

Keywords

  • Aedes albopictus
  • Interpretability analysis
  • Machine learning
  • Mosquito density prediction
  • Public health
  • SHAP
  • XGBoost

Fingerprint

Dive into the research topics of 'Analyzing the influence of environment, demographic and socio-economic factors on Aedes albopictus (Diptera: Culicidae) mosquito density at the micro-level using XGBoost and SHAP'. Together they form a unique fingerprint.

Cite this