Contrastive Pre-training with Adversarial Perturbations for Check-In Sequence Representation Learning
Letian Gong, Youfang Lin, Shengnan Guo, Yan Lin, Tianyi Wang, Erwen Zheng, Zeyu Zhou, Huaiyu Wan
Abstract
A core step of mining human mobility data is to learn accurate representations for user-generated check-in sequences. The learned representations should be able to fully describe the spatial-temporal mobility patterns of users and the high-level semantics of traveling. However, existing check-in sequence representation learning is usually implicitly achieved by endto-end models designed for specific downstream tasks, resulting in unsatisfactory generalizable abilities and poor performance. Besides, although the sequence representation learning models that follow the contrastive learning pre-training paradigm have achieved breakthroughs in many fields like NLP, they fail to simultaneously consider the unique spatialtemporal characteristics of check-in sequences and need manual adjustments on the data augmentation strategies. So, directly applying them to check-in sequences cannot yield a meaningful pretext task. To this end, in this paper we propose a contrastive pre-training model with adversarial perturbations for check-in sequence representation learning (CACSR). Firstly, we design a novel spatial-temporal augmentation block for disturbing the spatial-temporal features of check-in sequences in the latent space to relieve the stress of designing manual data augmentation strategies. Secondly, to construct an effective contrastive pretext task, we generate "hard" positive and negative pairs for the check-in sequence by adversarial training. These two designs encourage the model to capture the high-level spatial-temporal patterns and semantics of check-in sequences while ignoring the noisy and unimportant details. We demonstrate the effectiveness and versatility of CACSR on two kinds of downstream tasks using three real-world datasets. The results show that our model outperforms both the state-of-the-art pre-training methods and the end-to-end models.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e8ea9d73-818a-45f7-8121-98b5f0f8d5bfCited by top-tier papers3
- Mobility-LLM: Learning Visiting Intentions and Travel Preference from Human Mobility Data with Large Language ModelsLetian Gong, Yan Lin, Xinyue Zhang, Yiwen Lu et al.NeurIPS 2024 · 59 citations
- TrajAgent: An LLM-Agent Framework for Trajectory Modeling via Large-and-Small Model CollaborationYuwei Du, Jie Feng, Jie Zhao, Yong LiNeurIPS 2025 · 8 citations
- VecCity: A Taxonomy-guided Library for Map Entity Representation Learning [Experiment, Analysis & Benchmark]Wentao Zhang, Jingyuan Wang, Yifan Yang, Leong Hou UVLDB 2025 · 7 citations
Builds on6
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
- STAN: Spatio-Temporal Attention Network for Next Location RecommendationYingtao Luo, Qiang Liu, Zhaocheng LiuWWW 2021 · 438 citations
- Where to Go Next: Modeling Long- and Short-Term User Preferences for Point-of-Interest RecommendationKe Sun, Tieyun Qian, Tong Chen, Yile Liang et al.AAAI 2020 · 412 citations
- Pre-training Context and Time Aware Location Embeddings from Spatial-Temporal Trajectories for User Next Location PredictionYan Lin, Huaiyu Wan, Shengnan Guo, Youfang LinAAAI 2021 · 143 citations
- Contrastive Learning with Adversarial Perturbations for Conditional Text GenerationSeanie Lee, Dong Bok Lee, Sung Ju HwangICLR 2021 · 117 citations
Related papers
- AdaptSSR: Pre-training User Model with Augmentation-Adaptive Self-Supervised RankingYang Yu, Qi Liu, Kai Zhang, Yuren Zhang et al.NeurIPS 2023 · 4 citations
- Contrastive Learning for Sequential RecommendationXu Xie, Fei Sun, Zhaoyang Liu, Shiwen Wu et al.ICDE 2022 · 674 citations
- Automated Spatio-Temporal Graph Contrastive LearningQianru Zhang, Chao Huang, Lianghao Xia, Zheng Wang et al.WWW 2023 · 72 citations
- CLLP: Contrastive Learning Framework Based on Latent Preferences for Next POI RecommendationHongli Zhou, Zhihao Jia, Haiyang Zhu, Zhizheng ZhangSIGIR 2024 · 14 citations
- Self-supervised Trajectory Representation Learning with Temporal Regularities and Travel SemanticsJiawei Jiang, Dayan Pan, Houxing Ren, Xiaohan Jiang et al.ICDE 2023 · 101 citations
