CoBAD: Modeling Collective Behaviors for Human Mobility Anomaly Detection

Haomin Wen, Shurui Cao, Leman Akoglu
8/13/2025
cs.LGcs.AIcs.SI

Official code: wenhaomin/CoBAD (1 star, last commit 2025-05-31).

Abstract

Detecting anomalies in human mobility is essential for applications such as public safety and urban planning. While traditional anomaly detection methods primarily focus on individual movement patterns (e.g., a child should stay at home at night), collective anomaly detection aims to identify irregularities in collective mobility behaviors across individuals (e.g., a child is at home alone while the parents are elsewhere) and remains an underexplored challenge. Unlike individual anomalies, collective anomalies require modeling spatiotemporal dependencies between individuals, introducing additional complexity. To address this gap, we propose CoBAD, a novel model designed to capture Collective Behaviors for human mobility Anomaly Detection. We first formulate the problem as unsupervised learning over Collective Event Sequences (CES) with a co-occurrence event graph, where CES represents the event sequences of related individuals. CoBAD then employs a two-stage attention mechanism to model both the individual mobility patterns and the interactions across multiple individuals. Pre-trained on large-scale collective behavior data through masked event and link reconstruction tasks, CoBAD is able to detect two types of collective anomalies: unexpected co-occurrence anomalies and absence anomalies, the latter of which has been largely overlooked in prior work. Extensive experiments on large-scale mobility datasets demonstrate that CoBAD significantly outperforms existing anomaly detection baselines, achieving an improvement of 13%-18% in AUCROC and 19%-70% in AUCPR. All source code is available at https://github.com/wenhaomin/CoBAD.

View on arXivView PDF

Code Implementations(1)

wenhaomin/CoBADOfficial100%

Modeling Collective Behaviors for Human Mobility Anomaly Detection

10PythonMay 26, 20251 years ago

Similar Papers

Cite this paper

@article{wen2025cobad,
  title  = {CoBAD: Modeling Collective Behaviors for Human Mobility Anomaly Detection},
  author = {Haomin Wen and Shurui Cao and Leman Akoglu},
  year   = {2025},
  eprint = {2508.14088},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.14088v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.14088.svg)](https://codeofpaper.com/paper/2508.14088)

Discussion