PNI : Industrial Anomaly Detection using Position and Neighborhood Information

ICCV 2023  ·  Jaehyeok Bae, Jae-Han Lee, Seyun Kim ·

Because anomalous samples cannot be used for training, many anomaly detection and localization methods use pre-trained networks and non-parametric modeling to estimate encoded feature distribution. However, these methods neglect the impact of position and neighborhood information on the distribution of normal features. To overcome this, we propose a new algorithm, \textbf{PNI}, which estimates the normal distribution using conditional probability given neighborhood features, modeled with a multi-layer perceptron network. Moreover, position information is utilized by creating a histogram of representative features at each position. Instead of simply resizing the anomaly map, the proposed method employs an additional refine network trained on synthetic anomaly images to better interpolate and account for the shape and edge of the input image. We conducted experiments on the MVTec AD benchmark dataset and achieved state-of-the-art performance, with \textbf{99.56\%} and \textbf{98.98\%} AUROC scores in anomaly detection and localization, respectively.

PDF Abstract ICCV 2023 PDF ICCV 2023 Abstract

Results from the Paper


Ranked #4 on Anomaly Detection on BTAD (using extra training data)

     Get a GitHub badge
Task Dataset Model Metric Name Metric Value Global Rank Uses Extra
Training Data
Result Benchmark
Anomaly Detection BTAD PNI Segmentation AUROC 97.8 # 4
Anomaly Detection MVTec AD PNI Ensemble Detection AUROC 99.63 # 9
Segmentation AUROC 99.06 # 5
Anomaly Detection MVTec AD PNI Detection AUROC 99.56 # 14
Segmentation AUROC 98.98 # 7

Methods