GADformer: A Transparent Transformer Model for Group Anomaly Detection on Trajectories

Andreas Lohrer, Darpan Malik, Claudius Zelenka, Peer Kröger
3/17/2023
cs.LG

No official code found. Best implementation: lohrera/gadformer (3 stars, last commit 2024-03-19).

Abstract

Group Anomaly Detection (GAD) identifies unusual pattern in groups where individual members might not be anomalous. This task is of major importance across multiple disciplines, in which also sequences like trajectories can be considered as a group. As groups become more diverse in heterogeneity and size, detecting group anomalies becomes challenging, especially without supervision. Though Recurrent Neural Networks are well established deep sequence models, their performance can decrease with increasing sequence lengths. Hence, this paper introduces GADformer, a BERT-based model for attention-driven GAD on trajectories in unsupervised and semi-supervised settings. We demonstrate how group anomalies can be detected by attention-based GAD. We also introduce the Block-Attention-anomaly-Score (BAS) to enhance model transparency by scoring attention patterns. In addition to that, synthetic trajectory generation allows various ablation studies. In extensive experiments we investigate our approach versus related works in their robustness for trajectory noise and novelties on synthetic data and three real world datasets.

View on arXivView PDF

Code Implementations(1)

lohrera/gadformerCommunity100%
30Shell, PythonMay 23, 20232 years ago

Similar Papers

Cite this paper

@article{lohrer2023gadformer,
  title  = {GADformer: A Transparent Transformer Model for Group Anomaly Detection on Trajectories},
  author = {Andreas Lohrer and Darpan Malik and Claudius Zelenka and Peer Kröger},
  year   = {2023},
  eprint = {2303.09841},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.09841v2}
}

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/2303.09841.svg)](https://codeofpaper.com/paper/2303.09841)

Discussion