Shape-based methods in mobility data analysis: effectiveness and limitations

Cristiano Landi, Riccardo Guidotti

Introduction

Mobility Data Analysis (MDA) is a critical field focused on understanding the movement patterns of people and objects through space and time. Traditionally, classifying trajectories—such as distinguishing between a bicycle and a car based on GPS traces—relied heavily on manual feature engineering. Researchers would calculate aggregate statistics like average speed, maximum acceleration, or heading changes. However, these "ad-hoc" models often lack generalizability; a model optimized for the grid-like streets of New York City might fail entirely when applied to the winding, irregular paths of a medieval European city.

Recently, "shapelet-based" methods, such as Movelets and Geolet, have emerged as a promising alternative. These methods identify "discriminatory subtrajectories"—specific snippets of a path that are statistically unique to a particular class. While these methods have shown high accuracy, a fundamental question remained: do they work because they capture the intrinsic physics of movement, or are they simply memorizing specific geographic locations? This paper explores the effectiveness and limitations of shape-based methods, introducing a novel tool, GASM, to decode the underlying mechanisms of these models.

Methodology and Frameworks

The research employs a multi-pronged approach to dissect the performance of shape-based mobility analysis.

GASM: Geographic Automaton Shape-based Map Matching

To investigate whether shape acts as a proxy for location, the authors developed GASM (Geographic Automaton Shape-based map Matching). This algorithm attempts to perform map matching—identifying a trajectory's location on a map—using only its geometric shape, without any knowledge of absolute GPS coordinates. GASM utilizes Symbolic Aggregate approXimation (SAX) to convert continuous movements into discrete strings and employs the Aho-Corasick algorithm to search a comprehensive "dictionary" of road shapes derived from map data.

Geolet vs. Movelets

The study compares two primary frameworks:

  1. Movelets: A method that identifies subtrajectories based on raw coordinates.
  2. Geolet: A more advanced framework that introduces "shift" normalization. By aligning all subtrajectories to a common origin $(0,0)$, Geolet theoretically strips away absolute geographic information, forcing the model to focus on the relative dynamics of the movement.

Experimental Design

The authors utilized a variety of datasets to isolate specific variables:

  • Synthetic Benchmarks: Datasets like SR (Straight-Right turns), Yao (complex curves), and FS (Fast-Slow movements) were used to test the models' ability to distinguish between pure geometry and pure dynamics.
  • SUMO Simulations: High-fidelity simulations of cars and bicycles were conducted in three distinct urban environments: Rome (curvilinear), New York (grid), and Athens (mixed).
  • OSM Tuscany: A real-world dataset from OpenStreetMap traces in Italy was used to validate the GASM algorithm's map-matching accuracy across a large-scale road network.

Key Insights: The "Why" Behind the Performance

The experiments yielded several critical insights into how shape-based models function.

Shape as a Location Proxy

The GASM algorithm achieved over 90% accuracy in identifying correct road segments using shape alone. This provides empirical proof that shape-based methods can unintentionally learn geographic locations. Even without coordinate data, the unique "fingerprint" of a specific road segment allows a model to "memorize" where an object is, which can lead to overfitting if the model is intended to generalize across different regions.

Kinematics and Point Density

Even when location is abstracted away through normalization, shapelets remain effective because they capture "kinematics"—the physics of motion. For instance, a car and a bicycle navigating the same turn will produce different point densities in a GPS trace due to their differing speeds and acceleration profiles. Shapelets pick up on these subtle "rhythms," allowing the model to distinguish between modes of transport based on the dynamics of the movement rather than just the path taken.

Geographic Transferability

One of the most significant findings is the power of normalization. The "shift" normalization used in Geolet is the key to Geographic Transferability. By centering subtrajectories, the model learns universal movement patterns—such as "a sharp right turn at high speed"—that remain consistent regardless of the city. Models trained in Rome and tested in New York showed almost no performance degradation, demonstrating that proper preprocessing allows these models to transcend local geography.

Results and Performance

Geolet consistently outperformed Movelets, particularly in scenarios involving geographic shifts. On simulated data, Geolet often achieved F1 scores above 0.90, whereas Movelets struggled (frequently dropping to around 0.50) when trajectories did not perfectly overlap geographically.

Furthermore, the study demonstrated the computational feasibility of these methods. Indexing the entire road network of the Tuscany region for GASM took less than 1.5 hours, suggesting that shape-based searching is scalable to large provinces.

Limitations and Future Directions

Despite their success, shape-based methods face several challenges:

  1. Computational Complexity: While more efficient than previous iterations, the algorithms still possess polynomial complexity, which may hinder real-time application on global-scale datasets.
  2. Rotation Invariance: Current models are sensitive to orientation; a U-turn facing North is perceived as different from a U-turn facing South. Future work should incorporate rotation invariance into similarity measures.
  3. Noise Sensitivity: The reliance on high-fidelity simulations (SUMO) means the models have yet to be fully stress-tested against the "urban canyon" effects and sensor drift common in real-world GPS data.
  4. Unsupervised Discovery: Current shapelet discovery is supervised, requiring labeled data. Exploring unsupervised methods to identify movement patterns in unlabeled data remains a vital area for future research.

Conclusion

Shape-based methods represent a significant leap forward in Mobility Data Analysis, moving the field away from manual feature engineering toward data-driven discovery. By understanding the dual role of shape as both a location proxy and a carrier of kinematic information, researchers can build more robust, transferable models that capture the universal essence of movement.

Summary updated

BibTeX
@article{landi2025shape,
  author = {Cristiano Landi and Riccardo Guidotti},
  title = {{Shape-based methods in mobility data analysis: effectiveness and limitations}},
  journal = {Geoinformatica},
  year = {2025},
  doi = {10.1007/s10707-025-00555-x},
}
Figure