TrajLM: Transferable Mobility Pattern Distillation for Unified Trajectory Learning in Sparse Road Networks
Abstract
Spatio-temporal trajectory data mining plays a pivotal role in understanding and predicting object movements across space and time, impacting crucial location-based applications such as urban traffic optimization, human mobility analysis, and autonomous vehicle navigation. Although traditional methods effectively capture local trajectory patterns, they struggle with the semantic understanding required for robust representation of diverse traffic scenarios due to their limited ability to incorporate global contextual semantics. Recent advances in large language models (LLMs) have shown promise in capturing semantic relationships from extensive data; however, they face difficulties adapting their powerful semantic learning capabilities to sparse regions where only a few trajectories are traversed because of uneven geographical coverage. To bridge this gap, we propose TrajLM , a novel model that distills transferable mobility patterns in sparse road networks for unified trajectory representation via large language models. Our approach facilitates deep collaboration between dense and sparse trajectory regions, leveraging mutual knowledge distillation to mitigate the sparsity challenge and enhance semantic representation. Moreover, by incorporating spatio-temporal dynamics, our model enables LLMs to learn time-varying movement representations, thereby improving mobility understanding. Extensive experiments demonstrate that our model significantly outperforms state-of-the-art competitors across three downstream tasks, achieving an average improvement of 29.51%. Implementation details and code are available at https://anonymous.4open.science/r/TrajLM-6343.
- Venue
- UbiComp / IMWUT 2026
- Volume
- Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, Volume 10
- DOI
- 10.1145/3810208
- https://dl.acm.org/doi/pdf/10.1145/3810208
- Anthology ID
2026.imwut-10.48
Cite
@article{han-etal-2026-trajlm,
title = {{TrajLM: Transferable Mobility Pattern Distillation for Unified Trajectory Learning in Sparse Road Networks}},
author = {Xiaolin Han and Jianqiang Gao and Yuting Cui and Chenhao Ma and Yudai Pan and Zhanhuai Li and Xuequn Shang},
journal = {Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies},
volume = {10},
issn = {2474-9567},
year = {2026},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/3810208},
url = {https://doi.org/10.1145/3810208},
abstract = {Spatio-temporal trajectory data mining plays a pivotal role in understanding and predicting object movements across space and time, impacting crucial location-based applications such as urban traffic optimization, human mobility analysis, and autonomous vehicle navigation. Although traditional methods effectively capture local trajectory patterns, they struggle with the semantic understanding required for robust representation of diverse traffic scenarios due to their limited ability to incorporate global contextual semantics. Recent advances in large language models (LLMs) have shown promise in capturing semantic relationships from extensive data; however, they face difficulties adapting their powerful semantic learning capabilities to sparse regions where only a few trajectories are traversed because of uneven geographical coverage. To bridge this gap, we propose TrajLM , a novel model that distills transferable mobility patterns in sparse road networks for unified trajectory representation via large language models. Our approach facilitates deep collaboration between dense and sparse trajectory regions, leveraging mutual knowledge distillation to mitigate the sparsity challenge and enhance semantic representation. Moreover, by incorporating spatio-temporal dynamics, our model enables LLMs to learn time-varying movement representations, thereby improving mobility understanding. Extensive experiments demonstrate that our model significantly outperforms state-of-the-art competitors across three downstream tasks, achieving an average improvement of 29.51\%. Implementation details and code are available at https://anonymous.4open.science/r/TrajLM-6343.}
}