Transferable Unsupervised Outlier Detection Framework for Human Semantic Trajectories
Zheng Zhang, Hossein Amiri, Dazhou Yu, Yuntong Hu, Liang Zhao, Andreas Zufle
TL;DR
TOD4Traj presents a transferable unsupervised framework for outlier detection in human semantic trajectories by unifying multi-modal data and leveraging two levels of contrastive learning: modality alignment across spatial-temporal and semantic information, and trajectory-level regularity learning that exploits temporal periodicity. The framework introduces a combined objective $\mathcal{L}=\mathcal{L}_{Align}+\mathcal{L}_{Consistency}+\beta\mathcal{L}_{Clustering}$ to produce embeddings used for cross-time and cross-population anomaly scoring, with low-rank structure captured via a centroid-based soft clustering approach. Experiments on six simulated POL datasets and GeoLife show TOD4Traj outperforms baselines in AUC and Top-K metrics, and demonstrates transferability across cities and robustness to parameter variations. The work provides open datasets and code, highlighting practical potential for real-world surveillance, eldercare, and urban planning tasks where unseen outliers across modalities arise.
Abstract
Semantic trajectories, which enrich spatial-temporal data with textual information such as trip purposes or location activities, are key for identifying outlier behaviors critical to healthcare, social security, and urban planning. Traditional outlier detection relies on heuristic rules, which requires domain knowledge and limits its ability to identify unseen outliers. Besides, there lacks a comprehensive approach that can jointly consider multi-modal data across spatial, temporal, and textual dimensions. Addressing the need for a domain-agnostic model, we propose the Transferable Outlier Detection for Human Semantic Trajectories (TOD4Traj) framework.TOD4Traj first introduces a modality feature unification module to align diverse data feature representations, enabling the integration of multi-modal information and enhancing transferability across different datasets. A contrastive learning module is further pro-posed for identifying regular mobility patterns both temporally and across populations, allowing for a joint detection of outliers based on individual consistency and group majority patterns. Our experimental results have shown TOD4Traj's superior performance over existing models, demonstrating its effectiveness and adaptability in detecting human trajectory outliers across various datasets.
