Skip to main content
QUICK REVIEW

[Paper Review] An LSTM approach to Forecast Migration using Google Trends

Nicolas Golenvaux, Pablo González Álvarez|arXiv (Cornell University)|May 20, 2020
Human Mobility and Location-Based AnalysisSocial Sciences32 references14 citations
TL;DR

This paper proposes an LSTM-based deep learning model that leverages Google Trends data to forecast one-year-ahead international migration flows to 35 OECD countries. By replacing the traditional gravity model and a standard artificial neural network (ANN) with an LSTM architecture, the approach achieves significantly improved forecasting accuracy, reducing RMSE and MAE by factors of 5 and 4, respectively, on the test set.

ABSTRACT

Being able to model and forecast international migration as precisely as possible is crucial for policymaking. Recently Google Trends data in addition to other economic and demographic data have been shown to improve the forecasting quality of a gravity linear model for the one-year ahead forecasting. In this work, we replace the linear model with a long short-term memory (LSTM) approach and compare it with two existing approaches: the linear gravity model and an artificial neural network (ANN) model. Our LSTM approach combined with Google Trends data outperforms both these models on various metrics in the task of forecasting the one-year ahead incoming international migration to 35 Organization for Economic Co-operation and Development (OECD) countries: for example the root mean square error (RMSE) and the mean average error (MAE) have been divided by 5 and 4 on the test set. This positive result demonstrates that machine learning techniques constitute a serious alternative over traditional approaches for studying migration mechanisms.

Motivation & Objective

  • To improve the accuracy of one-year-ahead international migration forecasting for OECD countries using real-time digital trace data.
  • To evaluate whether recurrent neural networks (LSTM) can better capture complex migration dynamics than traditional linear models.
  • To compare the performance of LSTM, artificial neural networks (ANN), and gravity models when augmented with Google Trends data.
  • To assess the potential of machine learning techniques in modeling migration flows with limited or delayed official data.
  • To explore the interpretability and generalization capacity of deep learning models in migration forecasting.

Proposed method

  • The model uses a Long Short-Term Memory (LSTM) recurrent neural network to process sequential migration data and features over time.
  • Input features include GDP, population size, country fixed effects (one-hot encoded), and Google Trends Index (GTI) data for bilateral and unilateral migration-related search terms.
  • The GTI features are extracted from Böhme et al. (2020), representing normalized search volume for migration-related keywords between origin and destination countries.
  • The model is trained to predict the number of incoming migrants to each destination country in the next year using data from 2004 to 2014, with 2015 used as the test year.
  • Model performance is evaluated using RMSE, MAE, and R-squared metrics, comparing LSTM against a linear gravity model and a standard feedforward ANN.
  • The LSTM architecture captures temporal dependencies and nonlinear interactions among features, enabling better modeling of complex migration dynamics.

Experimental results

Research questions

  • RQ1Can an LSTM model outperform a linear gravity model in forecasting one-year-ahead international migration flows when using Google Trends data?
  • RQ2Does the LSTM approach improve forecasting accuracy compared to a standard artificial neural network (ANN) on the same dataset?
  • RQ3To what extent do Google Trends features enhance the predictive performance of machine learning models in migration forecasting?
  • RQ4How does the model perform on countries with major migration fluctuations, such as those affected by financial crises?
  • RQ5Can the LSTM model generalize to unseen origin-destination country pairs, or is performance limited to known country combinations?

Key findings

  • The LSTM model reduced the root mean square error (RMSE) by a factor of 5 compared to the linear gravity model on the test set (2015).
  • The LSTM model reduced the mean absolute error (MAE) by a factor of 4 compared to the linear gravity model on the test set.
  • The LSTM model outperformed both the linear gravity model and the standard artificial neural network (ANN) across all evaluation metrics, including R-squared and correlation.
  • The model demonstrated superior performance in capturing migration trends, particularly for countries with high migration inflows, though it underestimated flows in Spain during the 2008 financial crisis.
  • Heat maps of forecast errors showed that the LSTM model produced more accurate and consistent predictions than the gravity model and ANN, especially for high-migration countries.
  • The results suggest that LSTMs are better suited than linear or standard neural networks for modeling complex, nonlinear migration dynamics using real-time digital data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.