TL;DR
This paper introduces ICAD, a novel self-supervised framework for detecting anomalies in human mobility data. ICAD excels at identifying both spatial and temporal deviations by modeling individual visit patterns and providing interpretable, component-wise anomaly scores, outperforming existing methods.
What Problem Does This Paper Address?
Detecting unusual human mobility patterns is crucial for public safety, urban planning, and healthcare. Existing methods often struggle with two key issues: (1) they overlook fine-grained temporal anomalies, focusing more on unusual locations or broad deviations, and (2) they lack interpretability, making it hard to pinpoint why a visit is considered anomalous. This means we can flag a suspicious trip but not understand if it was the unusual location, the timing, or both, limiting practical application. Furthermore, temporal anomalies are particularly tricky because they are continuous and context-dependent, unlike discrete spatial locations.
Methods
ICAD tackles these challenges with a self-supervised autoregressive approach. It models human mobility as sequences of "visits," where each visit has a location, arrival time, and departure time. The core idea is to train a model on normal visit sequences using a "next-visit prediction" objective. This allows the model to learn the underlying probability distribution of typical behavior.
At inference time, ICAD computes anomaly scores for each visit by measuring how much it deviates from this learned normal distribution. This is done in a "component-wise" manner:
- Spatial Anomalies: For location, ICAD uses a "top-k deviation" metric, comparing the actual location to the k most probable locations predicted by the model.
- Temporal Anomalies: For arrival and departure times, ICAD introduces a novel "mode-margin scoring" function. This method leverages Gaussian Mixture Models (GMMs) to capture the complex, multi-modal nature of temporal patterns and scores deviations relative to the most probable time intervals.
This component-wise scoring allows ICAD to not only detect anomalies but also to explain which part of the visit (location, arrival time, or departure time) contributed most to its anomalous nature.
Datasets
The authors evaluated ICAD on the NUMOSIM dataset, a large-scale synthetic benchmark designed to model diverse human mobility behaviors across spatial and temporal dimensions. This dataset simulates visits for 200,000 agents over eight weeks, including both normal patterns and two types of anomalies: non-recurring disruptions (spatial deviations) and recurring deviations (temporal shifts).
Key Insights and Ideas
- Component-wise Anomaly Detection is Key: Breaking down a visit into its spatial and temporal components and scoring them individually is crucial for both accurate detection and interpretability.
- Relative Scoring Matters: Instead of absolute anomaly scores, ICAD's relative scoring (comparing to the model's learned "normal" distribution) is more robust, especially for continuous temporal data, and avoids issues with GMMs.
- Temporal Anomalies are Highly Informative: The study found that arrival time deviations, in particular, are strong indicators of abnormal behavior, as people tend to maintain consistent arrival patterns at regular locations.
- Interpretability is Not an Afterthought: ICAD's design inherently provides explanations for anomalies, showing whether they stem from spatial, temporal, or combined factors, which is a significant advantage over black-box models.
Key Results
ICAD consistently outperformed state-of-the-art baselines on the NUMOSIM dataset for both visit-level and agent-level anomaly detection.
- Visit-level AP: ICAD achieved an AP of 0.1610, significantly higher than its closest competitors like DeepBayesics (0.0042) and TOD4Traj (0.0022).
- Agent-level AP: ICAD reached an AP of 0.2561, again outperforming DeepBayesics (0.0121) and TOD4Traj (0.0020).
- AUROC scores also showed similar superiority for ICAD.
- Ablation studies confirmed the importance of each component: removing arrival time scoring led to the largest performance drop, highlighting its critical role.
Limitations and Future Work
- Evaluation on Synthetic Data: The authors acknowledge that their experiments are limited to synthetic data (NUMOSIM) due to the inherent difficulties in obtaining and annotating real-world human mobility data (privacy, noise, lack of ground truth). This makes reliable real-world anomaly evaluation challenging.
- Computational Complexity: While manageable for typical human mobility trajectories (few daily visits), the transformer backbone's quadratic scaling with sequence length could become an issue for domains with longer sequences or larger-scale applications.
- Dataset Dependence of Temporal Signals: The optimal temporal signal (absolute timestamps vs. proxy signals like travel time) can vary depending on the dataset's characteristics (e.g., commuting routines vs. flexible travel). This suggests a need for adaptive or hybrid approaches.
Future work could explore more robust real-world evaluation strategies and investigate adaptive temporal signal modeling.
Summary updated