NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Transferable Unsupervised Outlier Detection Framework for Human Semantic Trajectories

Zheng Zhang, Hossein Amiri, Dazhou Yu, Yuntong Hu, Liang Zhao, Andreas Züfle

Human movement is more than just a series of GPS coordinates; it is inherently "semantic," driven by purposes such as going to work, visiting a restaurant, or returning home. Detecting outliers in these semantic trajectories is critical for applications ranging from public health monitoring to early dementia detection. However, existing research faces three significant challenges: the difficulty of integrating multi-modal (spatial, temporal, and semantic) data, a lack of large-scale labeled ground truth for outliers, and poor transferability across different geographic domains.

To address these issues, researchers at Emory University developed TOD4Traj, an unsupervised framework designed to detect abnormal behaviors without requiring labeled training data.

Methodology

TOD4Traj utilizes three core modules to learn and evaluate human behavior patterns:

  1. Modality Alignment: The framework employs a pre-trained BERT model to generate text embeddings for location types. Through contrastive learning, spatial and temporal features are aligned with these semantic embeddings, enabling the model to associate specific times (e.g., Friday evenings) with specific activities (e.g., dining out).
  2. Temporal Contrastive Learning: Leveraging the periodic nature of human life, the model learns a user's unique "Pattern of Life" by comparing trajectories from the same day of the week across multiple weeks.
  3. Outlier Quantification via Soft Clustering: To avoid the computational cost of exhaustive user-to-user comparisons, the model uses soft clustering to summarize population-wide "normal" behavior. Outliers are identified by their deviation from both their own historical patterns (Cross-Time) and the general population's routines (Cross-Population).
Overview of the TOD4Traj framework, highlighting the temporal contrastive learning process across different weeks to identify patterns of life.

Datasets and Evaluation

The framework was evaluated using two primary data sources:

  • Pattern-of-Life (POL) Simulation: An agent-based simulation generating 450 days of activity across four cities, with injected anomalies such as "hunger" (excessive restaurant visits) or "work" (skipping employment) outliers.
  • GeoLife: A real-world dataset from Microsoft Research, adapted with manually classified locations and "imposter outliers" created by swapping user trajectories.

Key Results

TOD4Traj demonstrates significant improvements over traditional and deep-learning baselines like DeepTEA and GM-VSAE. Notably, the model achieved a perfect score (10/10) for Top-10 Hits in five out of six test scenarios.

A key strength of the framework is its transferability. By using natural language as a universal "anchor" for location types, the model can be trained in one city (e.g., Atlanta) and effectively applied to another (e.g., New Orleans) without retraining. This domain-agnostic approach leverages the "low-rank" property of human mobility—the fact that most people follow a small set of core routines regardless of their specific city.

Performance comparison of TOD4Traj variants against baselines on ATL and NOLA datasets, demonstrating high Top-10 Hits and transferability.

Conclusion and Future Work

While TOD4Traj is robust, it faces challenges with non-periodic "normal" events, such as holidays, which may trigger false positives. Future work will focus on refining the model to handle these corner cases and exploring how different neural architectures (CNNs vs. Transformers) impact detection across various outlier types. Despite these limitations, TOD4Traj represents a major step forward in unsupervised, transferable anomaly detection for complex human movement data.

Summary updated

BibTeX
@inproceedings{zhang2024transferable,
  author = {Zheng Zhang and Hossein Amiri and Dazhou Yu and Yuntong Hu and Liang Zhao and Andreas Züfle},
  title = {{Transferable Unsupervised Outlier Detection Framework for Human Semantic Trajectories}},
  booktitle = {SIGSPATIAL/GIS},
  year = {2024},
  doi = {10.1145/3678717.3691324},
}
Figure