We applied convolutional versions of a "standard" autoencoder (CAE), a variational autoencoder (VAE) and an adversarial autoencoder (AAE) to two different publicly available datasets and compared their anomaly detection performances. We used the MNIST dataset as a simple anomaly detection scenario. The CIFAR10 dataset was used to examine the autoencoders in a more complex anomaly detection task. The anomaly detection performance of our different autoencoder types is compared in a qualitative and quantitative manner. The time needed for training the models is measured to capture their complexity. The simplest model demanding the simplest training, the CAE, computes results which are nearly as accurate and for some cases even better than results achieved by the VAE and AAE. We show that all three autoencoder types computed convincing anomaly detection results for the more simple-structured MNIST scenario. However, none of the autoencoder types proved to capture a good representation of the relevant features of the more complex CIFAR10 dataset, leading to moderately good anomaly detection performances.
@inproceedings{schneideretal22cvprw, title={Autoencoders - A Comparative Analysis in the Realm of Anomaly Detection}, author={Sarah Schneider and Doris Antensteiner and Daniel Soukup and Matthias Scheutz}, year={2022}, booktitle={2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)}, pages={1985--1991} url={https://hrilab.tufts.edu/publications/schneideretal22cvprw.pdf} doi={10.1109/CVPRW56347.2022.00216} }