Skip to main content
QUICK REVIEW

[Paper Review] Unbiased Multiple Instance Learning for Weakly Supervised Video Anomaly Detection

Hui Lv, Zhongqi Yue|arXiv (Cornell University)|Mar 22, 2023
Anomaly Detection Techniques and ApplicationsComputer Science3 citations
TL;DR

This paper proposes Unbiased Multiple Instance Learning (UMIL), a novel framework for weakly supervised video anomaly detection that mitigates detector bias by separating confident and ambiguous snippets, learning invariant features across groups, and leveraging self-training on ambiguous samples. UMIL achieves state-of-the-art performance, improving AUC by 3.09% on UCF-Crime and 1.19% on TAD over baseline MIL.

ABSTRACT

Weakly Supervised Video Anomaly Detection (WSVAD) is challenging because the binary anomaly label is only given on the video level, but the output requires snippet-level predictions. So, Multiple Instance Learning (MIL) is prevailing in WSVAD. However, MIL is notoriously known to suffer from many false alarms because the snippet-level detector is easily biased towards the abnormal snippets with simple context, confused by the normality with the same bias, and missing the anomaly with a different pattern. To this end, we propose a new MIL framework: Unbiased MIL (UMIL), to learn unbiased anomaly features that improve WSVAD. At each MIL training iteration, we use the current detector to divide the samples into two groups with different context biases: the most confident abnormal/normal snippets and the rest ambiguous ones. Then, by seeking the invariant features across the two sample groups, we can remove the variant context biases. Extensive experiments on benchmarks UCF-Crime and TAD demonstrate the effectiveness of our UMIL. Our code is provided at https://github.com/ktr-hubrt/UMIL.

Motivation & Objective

  • To address the inherent bias in Multiple Instance Learning (MIL) for weakly supervised video anomaly detection (WSVAD), where detectors overfit to simple context shortcuts like smoke or motion.
  • To improve snippet-level anomaly detection by learning invariant representations that are robust to varying context biases.
  • To enhance model generalization by incorporating ambiguous snippets—previously neglected in MIL—through self-training and clustering.
  • To reduce false positives on normal snippets with similar context to anomalies (e.g., smoke without explosion) and improve detection of subtle anomalies (e.g., vandalism with minimal motion).
  • To provide a training scheme that dynamically separates samples into confident and ambiguous sets based on prediction confidence and historical variance.

Proposed method

  • At each training iteration, snippets are divided into a confident set (high-confidence normal/abnormal snippets) and an ambiguous set (remaining snippets) using prediction confidence and historical variance.
  • The ambiguous set is clustered into two groups via unsupervised clustering to discover intrinsic normal/abnormal patterns despite context bias.
  • An invariant binary classifier is learned by minimizing distribution shift between the confident set and the two clusters in the ambiguous set, promoting robustness to context bias.
  • Self-training is applied to the ambiguous set using pseudo-labels generated from the current detector, improving representation learning on previously underutilized samples.
  • The backbone is fine-tuned end-to-end with a joint loss combining MIL objective, self-training loss, and clustering consistency loss.
  • A similarity threshold (0.8) is used in cosine similarity for clustering, and a confident threshold (0.8) is used to select high-confidence snippets, both validated via ablation.

Experimental results

Research questions

  • RQ1Can a Multiple Instance Learning framework be designed to reduce bias in weakly supervised video anomaly detection by explicitly separating and learning from confident and ambiguous snippets?
  • RQ2How can invariant features be learned across different context biases to improve generalization and reduce false alarms?
  • RQ3What is the impact of self-training on ambiguous snippets that are typically ignored in standard MIL?
  • RQ4Does using historical prediction variance improve the selection of confident samples compared to relying solely on maximum confidence?
  • RQ5How sensitive is the performance to hyperparameters such as the confident threshold and similarity threshold in clustering?

Key findings

  • UMIL achieves an AUC of 86.75% on UCF-Crime and 92.93% on TAD when the backbone is fine-tuned, significantly outperforming the MIL baseline.
  • When the backbone is frozen instead of fine-tuned, performance drops to 83.44% on UCF and 90.71% on TAD, validating the benefit of end-to-end fine-tuning for WSVAD.
  • Removing the self-training loss reduces AUC to 83.66% on UCF and 91.74% on TAD, demonstrating that self-training on ambiguous snippets is crucial for performance gains.
  • A confident threshold of 0.8 yields optimal performance, with higher thresholds (e.g., 1.0) leading to ineffective self-training due to insufficient samples.
  • The clustering similarity threshold is insensitive to changes around 0.8, with peak performance at 0.8 (AUC 93.0% on TAD), indicating robustness to hyperparameter choice.
  • Using historical variance for confident sample selection yields better results (86.8% AUC on UCF, 93.0% on TAD) than max confidence (85.9% and 92.2%), proving its superiority in identifying reliable samples.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.