From Text to Locations: Repurposing Language Models for Spatial Trajectory Similarity Assessment

The proliferation of electronic devices with geopositioning capabilities has significantly increased trajectory data generation, thus opening up novel opportunities in mobility analysis. Our work considers the problem of assessing spatial similarity between trajectories, and focus on deep learning-based approaches that discretize trajectories using a uniform grid to generate their embeddings. In this context, t2vec is the reference approach. Large Language Models (LLMs) show promise in capturing patterns in mobility data. In this paper, we investigate whether an LLM can be repurposed to generate high-quality trajectory embeddings for the considered task. Using two real-world trajectory datasets, we consider repurposing three language models: Word2Vec, Doc2Vec, and BERT. Our results show that BERT, trained on dense trajectory datasets, can generate high-quality embeddings, thus highlighting the potential of LLMs.

Authors

Institutions

Publication Details

Published
2024-10-14
DOI
https://doi.org/10.5753/sbbd.2024.240212
Primary Topic
Data Management and Algorithms
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

From Text to Locations: Repurposing Language Models for Spatial Trajectory Similarity Assessment

Francesco Lettich, Wilken Charles Dantas Melo, Ticiana L. Coelho da Silva, Régis Pires Magalhães et al.
1 links
Data Management and Algorithms
article

From Text to Locations: Repurposing Language Models for Spatial Trajectory Similarity Assessment

Francesco Lettich, Wilken Charles Dantas Melo, Ticiana L. Coelho da Silva, Régis Pires Magalhães, Lívia Almada Cruz
article en

Abstract

The proliferation of electronic devices with geopositioning capabilities has significantly increased trajectory data generation, thus opening up novel opportunities in mobility analysis. Our work considers the problem of assessing spatial similarity between trajectories, and focus on deep learning-based approaches that discretize trajectories using a uniform grid to generate their embeddings. In this context, t2vec is the reference approach. Large Language Models (LLMs) show promise in capturing patterns in mobility data. In this paper, we investigate whether an LLM can be repurposed to generate high-quality trajectory embeddings for the considered task. Using two real-world trajectory datasets, we consider repurposing three language models: Word2Vec, Doc2Vec, and BERT. Our results show that BERT, trained on dense trajectory datasets, can generate high-quality embeddings, thus highlighting the potential of LLMs.

Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" (IT), Universidade Federal do Ceará (BR), Institute of Scientific and Technical Information of China (CN)
European Commission
Quality Education
Openalex Percentile: Top 79%
Data Management and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.