Learning Not to Reconstruct Anomalies

Marcella Astrid, Muhammad Zaigham Zaheer, Jae-Yeong Lee, Seung-Ik Lee
10/19/2021
cs.CV

Official code: aseuteurideu/LearningNotToReconstructAnomalies (19 stars, Python, last commit 2022-12-29).

Abstract

Video anomaly detection is often seen as one-class classification (OCC) problem due to the limited availability of anomaly examples. Typically, to tackle this problem, an autoencoder (AE) is trained to reconstruct the input with training set consisting only of normal data.

Show full abstract

At test time, the AE is then expected to well reconstruct the normal data while poorly reconstructing the anomalous data. However, several studies have shown that, even with only normal data training, AEs can often start reconstructing anomalies as well which depletes the anomaly detection performance. To mitigate this problem, we propose a novel methodology to train AEs with the objective of reconstructing only normal data, regardless of the input (i.e., normal or abnormal). Since no real anomalies are available in the OCC settings, the training is assisted by pseudo anomalies that are generated by manipulating normal data to simulate the out-of-normal-data distribution. We additionally propose two ways to generate pseudo anomalies: patch and skip frame based. Extensive experiments on three challenging video anomaly datasets demonstrate the effectiveness of our method in improving conventional AEs, achieving state-of-the-art performance.

View on arXivView PDF

Code Implementations(1)

Official implementation of "Learning Not to Reconstruct" (BMVC 2021)

190PythonOct 18, 20213 years ago

Similar Papers

Cite this paper

@article{astrid2021learning,
  title  = {Learning Not to Reconstruct Anomalies},
  author = {Marcella Astrid and Muhammad Zaigham Zaheer and Jae-Yeong Lee and Seung-Ik Lee},
  year   = {2021},
  eprint = {2110.09742},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.09742}
}

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

Discussion