Cargando…

Fast and Efficient Image Novelty Detection Based on Mean-Shifts

Image novelty detection is a repeating task in computer vision and describes the detection of anomalous images based on a training dataset consisting solely of normal reference data. It has been found that, in particular, neural networks are well-suited for the task. Our approach first transforms th...

Descripción completa

Detalles Bibliográficos
Autores principales: Hermann, Matthias, Umlauf, Georg, Goldlücke, Bastian, Franz, Matthias O.
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9573479/
https://www.ncbi.nlm.nih.gov/pubmed/36236774
http://dx.doi.org/10.3390/s22197674
_version_ 1784810880843644928
author Hermann, Matthias
Umlauf, Georg
Goldlücke, Bastian
Franz, Matthias O.
author_facet Hermann, Matthias
Umlauf, Georg
Goldlücke, Bastian
Franz, Matthias O.
author_sort Hermann, Matthias
collection PubMed
description Image novelty detection is a repeating task in computer vision and describes the detection of anomalous images based on a training dataset consisting solely of normal reference data. It has been found that, in particular, neural networks are well-suited for the task. Our approach first transforms the training and test images into ensembles of patches, which enables the assessment of mean-shifts between normal data and outliers. As mean-shifts are only detectable when the outlier ensemble and inlier distribution are spatially separate from each other, a rich feature space, such as a pre-trained neural network, needs to be chosen to represent the extracted patches. For mean-shift estimation, the Hotelling [Formula: see text] test is used. The size of the patches turned out to be a crucial hyperparameter that needs additional domain knowledge about the spatial size of the expected anomalies (local vs. global). This also affects model selection and the chosen feature space, as commonly used Convolutional Neural Networks or Vision Image Transformers have very different receptive field sizes. To showcase the state-of-the-art capabilities of our approach, we compare results with classical and deep learning methods on the popular dataset CIFAR-10, and demonstrate its real-world applicability in a large-scale industrial inspection scenario using the MVTec dataset. Because of the inexpensive design, our method can be implemented by a single additional 2D-convolution and pooling layer and allows particularly fast prediction times while being very data-efficient.
format Online
Article
Text
id pubmed-9573479
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-95734792022-10-17 Fast and Efficient Image Novelty Detection Based on Mean-Shifts Hermann, Matthias Umlauf, Georg Goldlücke, Bastian Franz, Matthias O. Sensors (Basel) Article Image novelty detection is a repeating task in computer vision and describes the detection of anomalous images based on a training dataset consisting solely of normal reference data. It has been found that, in particular, neural networks are well-suited for the task. Our approach first transforms the training and test images into ensembles of patches, which enables the assessment of mean-shifts between normal data and outliers. As mean-shifts are only detectable when the outlier ensemble and inlier distribution are spatially separate from each other, a rich feature space, such as a pre-trained neural network, needs to be chosen to represent the extracted patches. For mean-shift estimation, the Hotelling [Formula: see text] test is used. The size of the patches turned out to be a crucial hyperparameter that needs additional domain knowledge about the spatial size of the expected anomalies (local vs. global). This also affects model selection and the chosen feature space, as commonly used Convolutional Neural Networks or Vision Image Transformers have very different receptive field sizes. To showcase the state-of-the-art capabilities of our approach, we compare results with classical and deep learning methods on the popular dataset CIFAR-10, and demonstrate its real-world applicability in a large-scale industrial inspection scenario using the MVTec dataset. Because of the inexpensive design, our method can be implemented by a single additional 2D-convolution and pooling layer and allows particularly fast prediction times while being very data-efficient. MDPI 2022-10-10 /pmc/articles/PMC9573479/ /pubmed/36236774 http://dx.doi.org/10.3390/s22197674 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Hermann, Matthias
Umlauf, Georg
Goldlücke, Bastian
Franz, Matthias O.
Fast and Efficient Image Novelty Detection Based on Mean-Shifts
title Fast and Efficient Image Novelty Detection Based on Mean-Shifts
title_full Fast and Efficient Image Novelty Detection Based on Mean-Shifts
title_fullStr Fast and Efficient Image Novelty Detection Based on Mean-Shifts
title_full_unstemmed Fast and Efficient Image Novelty Detection Based on Mean-Shifts
title_short Fast and Efficient Image Novelty Detection Based on Mean-Shifts
title_sort fast and efficient image novelty detection based on mean-shifts
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9573479/
https://www.ncbi.nlm.nih.gov/pubmed/36236774
http://dx.doi.org/10.3390/s22197674
work_keys_str_mv AT hermannmatthias fastandefficientimagenoveltydetectionbasedonmeanshifts
AT umlaufgeorg fastandefficientimagenoveltydetectionbasedonmeanshifts
AT goldluckebastian fastandefficientimagenoveltydetectionbasedonmeanshifts
AT franzmatthiaso fastandefficientimagenoveltydetectionbasedonmeanshifts