PNI: Industrial Anomaly Detection using Position and Neighborhood Information
Jaehyeok Bae, Jae-Han Lee, Seyun Kim
Abstract
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, 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 99.56% and 98.98% AUROC scores in anomaly detection and localization, respectively. Code is available at https://github.com/wogur110/PNI_Anomaly_Detection.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 146b416b-8f1d-41fe-9204-246d4f579d47Cited by top-tier papers22
- Dual-Modeling Decouple Distillation for Unsupervised Anomaly DetectionXinyue Liu, Jianyuan Wang, Biao Leng, Shuo ZhangACM MM 2024 · 23 citations
- CNC: Cross-modal Normality Constraint for Unsupervised Multi-class Anomaly DetectionXiaolei Wang, Xiaoyang Wang, Huihui Bai, Eng Gee Lim et al.AAAI 2025 · 19 citations
- IAD-R1: Reinforcing Consistent Reasoning in Industrial Anomaly DetectionYanhui Li, Yunkang Cao, Chengliang Liu, Yuan Xiong et al.AAAI 2026 · 12 citations
- Filter or Compensate: Towards Invariant Representation from Distribution Shift for Anomaly DetectionZining Chen, Xingshuang Luo, Weiqiu Wang, Zhicheng Zhao et al.AAAI 2025 · 9 citations
- SAGE: A Visual Language Model for Anomaly Detection via Fact Enhancement and Entropy-aware AlignmentGuoxin Zang, Xue Li, Donglin Di, Lanshun Nie et al.ACM MM 2025 · 8 citations
Builds on4
- Towards Total Recall in Industrial Anomaly DetectionKarsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf et al.CVPR 2022 · 1,301 citations
- Anomaly Detection via Reverse Distillation from One-Class EmbeddingHanqiu Deng, Xingyu LiCVPR 2022 · 701 citations
- CutPaste: Self-Supervised Learning for Anomaly Detection and LocalizationChun-Liang Li, Kihyuk Sohn, Jinsung Yoon, Tomas PfisterCVPR 2021
- Uninformed Students: Student-Teacher Anomaly Detection With Discriminative Latent EmbeddingsPaul Bergmann, Michael Fauser, David Sattlegger, Carsten StegerCVPR 2020
Related papers
- Prototypical Residual Networks for Anomaly Detection and LocalizationHui Zhang, Zuxuan Wu, Zheng Wang, Zhineng Chen et al.CVPR 2023
- Inter-Realization Channels: Unsupervised Anomaly Detection Beyond One-Class ClassificationDeclan McIntosh, Alexandra Branzan AlbuICCV 2023 · 36 citations
- Removing Anomalies as Noises for Industrial Defect LocalizationFanbin Lu, Xufeng Yao, Chi-Wing Fu, Jiaya JiaICCV 2023 · 53 citations
- A Diffusion-Based Framework for Multi-Class Anomaly DetectionHaoyang He, Jiangning Zhang, Hongxu Chen, Xuhai Chen et al.AAAI 2024 · 231 citations
- Is Task-Specific Training Necessary for Anomaly Detection?Xingwu Zhang, Guanxuan Li, Paul Henderson, Gerardo Aragon-Camarasa et al.ICML 2026 · 1 citation
