Trajectory Test-Train Overlap in Next-Location Prediction Datasets

Massimiliano Luca, Luca Pappalardo, Bruno Lepri, Gianni Barlacchi
3/7/2022
cs.AIcs.SI

Official code: MassimilianoLuca/overlap-processing (1 star, Jupyter Notebook, last commit 2022-02-11).

Abstract

Next-location prediction, consisting of forecasting a user's location given their historical trajectories, has important implications in several fields, such as urban planning, geo-marketing, and disease spreading. Several predictors have been proposed in the last few years to address it, including last-generation ones based on deep learning.

Show full abstract

This paper tests the generalization capability of these predictors on public mobility datasets, stratifying the datasets by whether the trajectories in the test set also appear fully or partially in the training set. We consistently discover a severe problem of trajectory overlapping in all analyzed datasets, highlighting that predictors memorize trajectories while having limited generalization capacities. We thus propose a methodology to rerank the outputs of the next-location predictors based on spatial mobility patterns. With these techniques, we significantly improve the predictors' generalization capability, with a relative improvement on the accuracy up to 96.15% on the trajectories that cannot be memorized (i.e., low overlap with the training set).

View on arXivView PDF

Code Implementations(1)

11Jupyter Notebook, PythonFeb 11, 20224 years ago

Similar Papers

Cite this paper

@article{luca2022trajectory,
  title  = {Trajectory Test-Train Overlap in Next-Location Prediction Datasets},
  author = {Massimiliano Luca and Luca Pappalardo and Bruno Lepri and Gianni Barlacchi},
  year   = {2022},
  eprint = {2203.03208},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.03208}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.03208.svg)](https://codeofpaper.com/paper/2203.03208)

Discussion