Contracting skeletal kinematics for human-related video anomaly detection

Alessandro Flaborea, Guido Maria D'Amely di Melendugno, Stefano D'Arrigo, Marco Aurelio Sterpa, Alessio Sampieri, Fabio Galasso · DOI

TL;DR

This paper introduces COSKAD, a novel skeleton-based approach for detecting anomalous human behavior in videos. By "contracting" skeletal motion embeddings into a compact latent space across different geometric manifolds (Euclidean, spherical, hyperbolic), COSKAD achieves state-of-the-art performance on challenging benchmarks, offering a more privacy-preserving and efficient alternative to traditional video-based methods.

What Problem Does This Paper Address?

Anomaly detection in videos, particularly for human behavior, is crucial for applications like surveillance and elder care. However, it's a challenging task due to several factors: anomalous events are rare, making datasets imbalanced; anomalies can manifest in diverse ways (e.g., sudden fights vs. subtle faints), making them context-dependent; and individual variations in normal behavior add complexity. Furthermore, privacy concerns arise when analyzing human actions in videos. Existing methods often rely on raw video frames, which can be computationally expensive and less privacy-friendly. This paper aims to address these challenges by focusing on skeletal motion, which captures essential kinematic information while being more compact and privacy-preserving.

Methods

COSKAD is an end-to-end model that leverages skeletal human motion data. It consists of two main components:

  • Graph Convolutional Network (GCN) Encoder: This component processes the input skeletal data, represented as spatio-temporal graphs. The paper uses a Space-Time-Separable GCN (STS-GCN), which factorizes the adjacency matrix into spatial and temporal components. This allows for efficient encoding of joint-joint and time-time relationships in human motion.
  • Projector Module: This module refines the embeddings produced by the encoder to map them into a latent space. The paper explores three different manifolds for this latent space:
  • Euclidean Space ($\mathbb{R}^n$): The standard flat space.
  • n-Sphere Space ($S^n$): A curved space where points are constrained to a spherical surface.
  • Hyperbolic Space ($H^n$): A negatively curved space characterized by exponential volume growth, which can accommodate larger variations.

The model is trained using a One-Class Classification (OCC) objective. This objective aims to "contract" the embeddings of normal motion into a compact region around a central point in the chosen latent manifold, minimizing the distance between embeddings and this center. This approach naturally handles the rarity of anomalous events. The paper also introduces a dynamic center update strategy, where the center of the latent space is re-calculated at each training epoch, allowing the model to adapt better to the data distribution.

Datasets

The paper uses and introduces the following datasets:

  • UBnormal: A large, recent dataset for frame-level video anomaly detection with train-validation-test splits adhering to the Open Set protocol. It contains 19 clips with 29 background scenes and 22 categories of anomalies.
  • HR-UBnormal (Proposed): A new human-related version of UBnormal. This dataset is created by filtering out non-human-related anomalies and extracting human skeletons using AlphaPose and PoseFlow. It focuses solely on human behaviors.
  • CUHK Avenue: An existing dataset for anomaly detection, with a human-related version (HR-Avenue) used in the paper.
  • ShanghaiTech Campus (STC): Another existing dataset for anomaly detection, with a human-related version (HR-STC) used in the paper.

Key Insights and Ideas

  • Manifold Choice Matters: The choice of latent space manifold (Euclidean, spherical, hyperbolic) significantly impacts performance. The hyperbolic space, with its exponential volume growth, shows particular promise for accommodating variations in normal human motion.
  • Dynamic Center is Crucial: Fixing the center of the latent space (as in prior work) can lead to suboptimal training. A data-driven, dynamic center update strategy allows the model to better explore the latent space and find a more optimal representation.
  • Skeleton-Based is Powerful and Private: Using skeletal data for anomaly detection is not only computationally efficient but also inherently more privacy-preserving than using raw RGB frames, as it abstracts away personal identifying features.
  • STS-GCN Encoder is Effective: The separable GCN encoder, by factorizing spatial and temporal adjacency matrices, leads to improved representations and a significant reduction in parameters compared to standard GCNs.

Key Results

  • COSKAD achieves state-of-the-art (SoA) performance on the human-related versions of UBnormal, CUHK Avenue, and ShanghaiTech Campus benchmarks.
  • On the challenging HR-UBnormal dataset, COSKAD-hyperbolic outperforms the previous best method by 7% (65.5 AUC vs. 61.2 AUC).
  • COSKAD-Euclidean sets a new SoA on HR-ShanghaiTech Campus (77.1 AUC) and HR-Avenue (87.8 AUC).
  • The model is lightweight, using significantly fewer parameters than many video-based competitors. For instance, COSKAD uses only 240K parameters compared to 80M for a strong video-based model.
  • Ablation studies confirm the effectiveness of the non-linear projector and the dynamic center update strategy, with the latter providing a substantial gain, especially in the hyperbolic setting.

Limitations and Future Work

  • Misestimated Skeletal Poses: The performance of COSKAD is dependent on the accuracy of the input skeletal poses. Errors in pose estimation, due to challenging conditions like occlusion or unusual poses, can lead to misclassifications. The paper acknowledges this limitation and discusses examples of misestimations in the HR-UBnormal dataset.
  • Failure Cases: The paper presents examples of failure cases, including false positives (e.g., classifying dancing as abnormal) and false negatives (e.g., struggling with interspersed normal and abnormal actions).
  • Future Work: The authors suggest that appearance-based features could be complementary to skeleton-based features, potentially leading to even better performance. They also highlight the value of skeleton-based techniques as a research direction due to their efficiency and privacy benefits. Further research could explore more sophisticated ways to handle pose estimation errors and investigate the interplay between different manifolds and anomaly types.

Summary updated

BibTeX
@article{flaborea2024contracting,
  author = {Alessandro Flaborea and Guido Maria D'Amely di Melendugno and Stefano D'Arrigo and Marco Aurelio Sterpa and Alessio Sampieri and Fabio Galasso},
  title = {{Contracting skeletal kinematics for human-related video anomaly detection}},
  journal = {Pattern Recognition},
  year = {2024},
  doi = {10.1016/j.patcog.2024.110817},
}
Figure