Optimizing PatchCore for Few/many-shot Anomaly Detection

07/20/2023
by   João Santos, et al.
0

Few-shot anomaly detection (AD) is an emerging sub-field of general AD, and tries to distinguish between normal and anomalous data using only few selected samples. While newly proposed few-shot AD methods do compare against pre-existing algorithms developed for the full-shot domain as baselines, they do not dedicatedly optimize them for the few-shot setting. It thus remains unclear if the performance of such pre-existing algorithms can be further improved. We address said question in this work. Specifically, we present a study on the AD/anomaly segmentation (AS) performance of PatchCore, the current state-of-the-art full-shot AD/AS algorithm, in both the few-shot and the many-shot settings. We hypothesize that further performance improvements can be realized by (I) optimizing its various hyperparameters, and by (II) transferring techniques known to improve few-shot supervised learning to the AD domain. Exhaustive experiments on the public VisA and MVTec AD datasets reveal that (I) significant performance improvements can be realized by optimizing hyperparameters such as the underlying feature extractor, and that (II) image-level augmentations can, but are not guaranteed, to improve performance. Based on these findings, we achieve a new state of the art in few-shot AD on VisA, further demonstrating the merit of adapting pre-existing AD/AS methods to the few-shot setting. Last, we identify the investigation of feature extractors with a strong inductive bias as a potential future research direction for (few-shot) AD/AS.

READ FULL TEXT
research
07/28/2022

SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentation

Visual anomaly detection is commonly used in industrial quality inspecti...
research
02/15/2023

Zero-Shot Anomaly Detection without Foundation Models

Anomaly detection (AD) tries to identify data instances that deviate fro...
research
07/15/2022

Registration based Few-Shot Anomaly Detection

This paper considers few-shot anomaly detection (FSAD), a practical yet ...
research
05/30/2020

Rethinking Assumptions in Deep Anomaly Detection

Though anomaly detection (AD) can be viewed as a classification problem ...
research
05/28/2020

Modeling the Distribution of Normal Data in Pre-Trained Deep Features for Anomaly Detection

Anomaly Detection (AD) in images is a fundamental computer vision proble...
research
04/05/2022

Learning to Adapt to Domain Shifts with Few-shot Samples in Anomalous Sound Detection

Anomaly detection has many important applications, such as monitoring in...
research
05/31/2021

Semi-orthogonal Embedding for Efficient Unsupervised Anomaly Segmentation

We present the efficiency of semi-orthogonal embedding for unsupervised ...

Please sign up or login with your details

Forgot password? Click here to reset