[Paper Review] Infostop: Scalable stop-location detection in multi-user mobility data
Infostop is a scalable, multi-user stop-location detection algorithm that leverages the Infomap network community detection method to overcome limitations in existing approaches, such as merging nearby locations due to noise and inability to analyze multiple users simultaneously. It achieves compact, accurate destination clustering and enables detection of social meetings, with a high-performance open-source implementation in Python and C++.
Data-driven research in mobility has prospered in recent years, providing solutions to real-world challenges including forecasting epidemics and planning transportation. These advancements were facilitated by computational tools enabling the analysis of large-scale data-sets of digital traces. One of the challenges when pre-processing spatial trajectories is the so-called stop location detection, that entails the reduction of raw time series to sequences of destinations where an individual was stationary. The most widely adopted solution to this problem was proposed by Hariharan and Toyama (2004) and involves filtering out non-stationary measurements, then applying agglomerative clustering on the stationary points. This state-of-the-art solution, however, suffers of two limitations: (i) frequently visited places located very close (such as adjacent buildings) are likely to be merged into a unique location, due to inherent measurement noise, (ii) traces for multiple users can not be analysed simultaneously, thus the definition of destination is not shared across users. In this paper, we describe the Infostop algorithm that overcomes the limitations of the state-of-the-art solution by leveraging the flow-based network community detection algorithm Infomap. We test Infostop for a population of $\sim 1000$ individuals with highly overlapping mobility. We show that the size of locations detected by Infostop saturates for increasing number of users and that time complexity grows slower than for previous solutions. We demonstrate that Infostop can be used to easily infer social meetings. Finally, we provide an open-source implementation of Infostop, written in Python and C++, that has a simple API and can be used both for labeling time-ordered coordinate sequences (GPS or otherwise), and unordered sets of spatial points.
Motivation & Objective
- To address the limitation of existing stop-location detection methods that merge nearby frequently visited locations due to measurement noise.
- To enable simultaneous analysis of multiple users' mobility traces to identify shared destinations across individuals.
- To develop a scalable, efficient algorithm suitable for large-scale population mobility data with high spatial and temporal resolution.
- To facilitate the detection of social meetings by identifying overlapping stays across users in the same location.
- To provide a fast, open-source implementation with a simple API for both single-user and multi-user trajectory processing.
Proposed method
- Infostop first identifies stationary points in time series using a temporal downsampling step with running median computation to filter noise.
- It applies spatial downsampling to reduce redundant points and improve computational efficiency.
- A ball tree data structure is used to efficiently identify stationary events within a spatial radius $ r_2 $, forming a network where connected nodes represent nearby events.
- The Infomap algorithm is applied to detect communities in the resulting network, assigning each community a unique destination label.
- The algorithm reverses spatial and temporal downsampling to map labels back to the original trajectory records.
- The method supports arbitrary distance metrics and can process both timestamped and non-timestamped input sequences, enabling flexible use across diverse data formats.
Experimental results
Research questions
- RQ1Can a network-based clustering approach outperform traditional Euclidean clustering (e.g., DBSCAN) in preserving spatially distinct but closely located destinations?
- RQ2Does multi-user stop-location detection using Infostop lead to more accurate and compact destination clusters compared to single-user methods?
- RQ3Can Infostop effectively identify social meetings—simultaneous stays in the same location—across a large population of users?
- RQ4How does the computational complexity of Infostop scale with increasing numbers of users and data size?
- RQ5To what extent does Infostop’s performance depend on parameter choices such as $ r_1 $, $ t_{min} $, and $ r_2 $, and how can spatial and temporal downsampling improve efficiency?
Key findings
- Infostop detects a saturating number of stop locations as the number of users increases, indicating stable and consistent destination clustering across populations.
- The time complexity of Infostop grows more slowly than previous methods, enabling efficient processing of large-scale multi-user mobility data.
- Infostop successfully identifies social meetings, with a strong correlation between shared stays and actual mobile phone interactions (SMS and calls).
- The algorithm maintains compact destination clusters, avoiding the merging of nearby but distinct locations such as adjacent buildings.
- The open-source implementation in C++ and Python achieves high performance, with critical steps like temporal downsampling accelerated via a C++ submodule.
- The package supports flexible input formats, including both time-ordered and unordered spatial points, and provides visualization tools for convex hulls and heatmaps of stay points.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.