https://doi.org/10.1140/epjds/s13688-026-00662-1
Research
Sensing labour mobility flows of cross-border urban regions using machine learning and geolocated social network data
1
Department of Computer Science and Artificial Intelligence, University of Cordoba, Campus de Rabanales, Albert Einstein Building, Cordoba, Spain
2
Digital Geography Lab, Department of Geosciences and Geography, University of Helsinki, Helsinki, Finland
a
This email address is being protected from spambots. You need JavaScript enabled to view it.
b
This email address is being protected from spambots. You need JavaScript enabled to view it.
Received:
13
November
2025
Accepted:
3
May
2026
Published online:
13
May
2026
Abstract
Cross-border commuting is the backbone of economic integration but remains poorly measured by traditional surveys or administrative records, especially at fine spatial scales. In this paper, we introduce a fully data-driven, machine-learning framework to detect and classify daily transnational commuters on the basis of geolocated social media data. We focus on three European border regions—the Greater Region of Luxembourg, the Basque Country, and the Öresund Region—and obtain eighteen network and spatiotemporal features (e.g., trip frequency, origin and destination dwell times, and cross-border trips). First, we train and evaluate four state-of-the-art classifiers (CatBoost, XGBoost, random forest, and k-nearest neighbours) on k-fold cross-validation, achieving up to 98% overall accuracy with 78% recall and 70% precision for detecting cross-border home-work movements at the individual movement level. Second, we apply zero-shot transfer learning by using Luxembourg-learned models to the two other regions and evaluate the results with official reports and population data. Our approach offers a scalable, replicable methodology for mapping cross-border labour mobility, providing valuable insights for infrastructure planning, social and economic equity, and climate adaptation policies at the urban and regional scale.
Key words: Human mobility / Cross-border commuting / Machine learning / Big data / Transfer learning
Supplementary Information The online version contains supplementary material available at https://doi.org/10.1140/epjds/s13688-026-00662-1.
Handling Editor: Anna Monreale
Olle Järv, Milad Malekzadeh, Oleksandr Karasov and Domingo Ortiz-Boyer contributed equally to this work.
© The Author(s) 2026
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

