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. 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.
翻译:通常,为了解决这一问题,一个自动编码器(AE)经过培训,用仅由正常数据组成的培训组重建输入。在测试时,AE预期会很好地重建正常数据,同时对异常数据进行错误的重建。然而,一些研究显示,即使只是进行正常的数据培训,AEs也往往可以开始重建异常数据,而且会耗尽异常数据的检测性能。为了缓解这一问题,我们提议了一个新颖的方法来培训AEs,目的是只重建正常数据,而不论输入(即正常或异常)如何。由于在OCC环境中没有真正的异常,因此培训会受到假的异常现象的帮助,这些异常现象是操纵正常数据以模拟异常数据传播产生的。我们还提出了产生假异常现象的两种方法:补丁和跳过框。在三个富有挑战性的视频异常数据集上的广泛实验展示了我们的方法在改进常规 AEs,实现状态性功能方面的有效性。