Autoencoders for Anomaly Detection are Unreliable

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Bouman, Roel, Heskes, Tom
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913662399152128
author Bouman, Roel
Heskes, Tom
author_facet Bouman, Roel
Heskes, Tom
contents Autoencoders are frequently used for anomaly detection, both in the unsupervised and semi-supervised settings. They rely on the assumption that when trained using the reconstruction loss, they will be able to reconstruct normal data more accurately than anomalous data. Some recent works have posited that this assumption may not always hold, but little has been done to study the validity of the assumption in theory. In this work we show that this assumption indeed does not hold, and illustrate that anomalies, lying far away from normal data, can be perfectly reconstructed in practice. We revisit the theory of failure of linear autoencoders for anomaly detection by showing how they can perfectly reconstruct out of bounds, or extrapolate undesirably, and note how this can be dangerous in safety critical applications. We connect this to non-linear autoencoders through experiments on both tabular data and real-world image data, the two primary application areas of autoencoders for anomaly detection.
format Preprint
id arxiv_https___arxiv_org_abs_2501_13864
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Autoencoders for Anomaly Detection are Unreliable
Bouman, Roel
Heskes, Tom
Machine Learning
Artificial Intelligence
Autoencoders are frequently used for anomaly detection, both in the unsupervised and semi-supervised settings. They rely on the assumption that when trained using the reconstruction loss, they will be able to reconstruct normal data more accurately than anomalous data. Some recent works have posited that this assumption may not always hold, but little has been done to study the validity of the assumption in theory. In this work we show that this assumption indeed does not hold, and illustrate that anomalies, lying far away from normal data, can be perfectly reconstructed in practice. We revisit the theory of failure of linear autoencoders for anomaly detection by showing how they can perfectly reconstruct out of bounds, or extrapolate undesirably, and note how this can be dangerous in safety critical applications. We connect this to non-linear autoencoders through experiments on both tabular data and real-world image data, the two primary application areas of autoencoders for anomaly detection.
title Autoencoders for Anomaly Detection are Unreliable
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2501.13864