Impact of weather factors on migration intention using machine learning algorithms

John Aoga, Juhee Bae, Stefanija Veljanoska, Siegfried Nijssen, Pierre SchausarXiv 2020

TL;DR

This paper applies tree-based machine learning algorithms to demonstrate how weather shocks interact with socioeconomic factors to shape human migration intentions across six West African nations. The models reveal that while socioeconomic traits remain primary drivers, climate data significantly improves predictive accuracy, showing that international migration plans are triggered by long-term climate shifts whereas local moves respond to short-term weather anomalies.

What Problem Does This Paper Address?

Understanding the relationship between climate change and human mobility is crucial for future political and scientific planning, yet traditional empirical models often yield conflicting results. Standard econometric approaches (like probit or logit models) struggle to account for the highly non-linear, complex interactions between environmental shocks and individual socioeconomic situations.

Furthermore, existing literature often treats climate variables uniformly, failing to distinguish between short-term weather anomalies (like a bad rainy season) and long-term hydrological shifts (like multi-year desertification). This paper addresses these gaps by shifting from traditional parameter estimation to a predictive machine learning framework capable of handling high-dimensional, non-linear climate data across agriculture-dependent economies.

Methods

The authors implement a supervised learning workflow using three popular ensemble tree-based classification algorithms:

  • Decision Trees (DT)
  • Random Forests (RF)
  • eXtreme Gradient Boosting (XGB)

To optimize these models without overfitting, they employ a 10-fold cross-validation workflow combined with Bayesian Hyperparameter Optimization (BHO).

Because machine learning models are often critiqued as "black boxes," the authors utilize Relative Feature Importance (RFI) to rank which variables most heavily influence migration decisions. They also use Partial Dependence Plots (PDP) to visualize the direction and nature (e.g., linear vs. V-shaped) of these influences.

Datasets

The study integrates two primary data sources spanning from 2009 to 2015 across six West African countries (Burkina Faso, Ivory Coast, Mali, Mauritania, Niger, and Senegal):

  1. Gallup World Poll (GWP): Provides individual-level survey data on migration intentions—distinguishing between a "general move" (internal or international within 12 months) and an "international move" (desire to move permanently to another country)—alongside demographic covariates (age, gender, income, household size, and international networks).
  2. Climatic Research Unit (CRU) Dataset: Used to calculate the Standardized Precipitation-Evapotranspiration Index (SPEI). SPEI measures drought severity by balancing precipitation against potential evapotranspiration (accounting for temperature, wind, and humidity). The authors analyze SPEI across seven distinct timescales (1 to 24 months) and up to 48 monthly lags to capture historical context.

Key Insights and Ideas

  • Socioeconomics First, Climate Second: Demographic features like age and gender are the strongest predictors of migration intent. For instance, young males consistently show the highest willingness to migrate. However, adding weather data consistently and significantly improves model performance.
  • Timescale Matters: The type of climate shock dictates the type of move. International migration intentions are heavily influenced by longer SPEI timescales (18–24 months), which align with severe, systemic hydrological droughts. Conversely, general/local moves are more sensitive to shorter SPEI timescales (1–12 months), reflecting immediate agricultural or meteorological disruptions.
  • No "One-Size-Fits-All" Model: Global models that aggregate all six countries perform poorly compared to country-specific models. The climate-migration nexus is deeply context-dependent; a weather pattern that triggers migration in Mali might not have the same effect in the Ivory Coast.
  • The V-Shaped Climate Response: In countries like Burkina Faso, partial dependence plots revealed a distinct V-shaped relationship for weather features. Both extreme drought (highly negative SPEI) and extreme flooding (highly positive SPEI) during the agricultural cropping season spike migration intentions, while moderate weather stabilizes them.

Key Results

  • XGBoost Wins: Among the tree-based methods tested, XGBoost consistently achieved the highest Area Under the ROC Curve (AUC) and precision scores for both general and international migration targets.
  • ML vs. Traditional Econometrics: As shown in Figure 1, the machine learning approach (LR/DT) yielded significantly higher predictive power ($R^2$ and accuracy metrics) on unseen test data compared to traditional multi-regression models previously used in the literature.
Comparison of predictive power between traditional econometric approaches and machine learning models.
  • Statistical Significance: T-tests confirmed that adding weather data to the GWP baseline significantly improved both precision (from 0.76 to 0.77 for international moves) and AUC metrics (from 0.71 to 0.73 for international moves), proving that environmental factors provide distinct predictive signals.

Limitations and Future Work

While the tree-based models successfully mapped complex climate interactions, the authors note several limitations:

  1. Survey Inaccuracies: The GWP relies on self-reported intentions rather than actual, recorded migration flows.
  2. Data Discretization: To manage SPEI variability, the authors binned continuous climate data into seven equal intervals, which potentially dilutes the nuance of extreme weather events.
  3. Prediction vs. Causation: While machine learning excels at predicting outcomes, it does not inherently establish causality in the way traditional structural econometrics aims to do.

The authors suggest that future work should explore deep learning architectures (like neural networks) and focus on integrating causal inference techniques directly into machine learning workflows to better translate these predictive insights into actionable policy.

Summary updated

BibTeX
@misc{aoga2020impact,
  author = {John Aoga and Juhee Bae and Stefanija Veljanoska and Siegfried Nijssen and Pierre Schaus},
  title = {{Impact of weather factors on migration intention using machine learning algorithms}},
  year = {2020},
  eprint = {2012.02794},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.02794},
}
Figure