FRAnomaly: flow-based rapid anomaly detection from images

Fran Milković,Luka Posilović,Duje Medak,Marko Subašić,Sven Lončarić,Marko Budimir
DOI: https://doi.org/10.1007/s10489-024-05332-1
IF: 5.3
2024-02-24
Applied Intelligence
Abstract:Detecting anomalies, such as defects in newly manufactured products or damage in long-used material structures, is a tedious task for humans. Given the current advances in the areas of artificial intelligence (AI) and computer vision, automation of visual quality control is possible and can be a reliable solution. Current methods that achieve state-of-the-art anomaly detection results often use features of different scales extracted from pre-trained convolutional neural networks (CNN). We propose employing multiple feature sets of the same scale alongside a normalizing flow model designed specifically for such sets. Such input features allow the creation of significantly smaller flow models with faster inference. We managed to achieve a decrease of up to 77.5% in the number of flow model parameters and 63.6% in inference time while still accomplishing results better than all other flow models and all but one non-flow method. Experimental evaluation on publicly available MVTec AD and MTD datasets showed a state-of-the-art level of performance of our models, thus proving that it is not necessary to use different scales to detect anomalies of different sizes. This research paves the way for real-time, efficient AI-based automation of visual inspection.
computer science, artificial intelligence
What problem does this paper attempt to address?