Normality-Anchored Regional Evidence Reasoning for Zero-Shot Industrial Anomaly Detection

Authors

  • Yan Wang Jilin University of Chemical Technology, Jilin, China Author
  • Guan Zhang Jilin University of Chemical Technology, Jilin, China Author
  • Chunxiao Wu Jilin University of Chemical Technology, Jilin, China Author
  • Yanyan Guo Jilin University of Chemical Technology, Jilin, China Author
  • Weihua Xiong Jilin University of Chemical Technology, Jilin, China Author

DOI:

https://doi.org/10.70088/34f2ff15

Keywords:

zero-shot anomaly detection, industrial visual inspection, vision-language model, normality anchoring, regional evidence reasoning, conflict-aware reasoning

Abstract

Industrial visual inspection is a key task in intelligent manufacturing and quality control. However, defective samples in real production lines are usually scarce, diverse in appearance, and expensive to annotate, which makes supervised models that rely on large numbers of defective samples difficult to adapt to new products and unknown defect scenarios. To address this problem, this paper proposes NARE-ZSAD, a normality-anchored regional evidence reasoning framework for zero-shot industrial anomaly detection. The proposed framework first decomposes an input image into local candidate regions through a language-guided multi-scale region proposal mechanism, and then performs region-level vision-text alignment using normal and abnormal textual prompts, thereby reducing the interference caused by global image semantics and large normal background areas. Subsequently, a normality memory bank is constructed to characterize local normal visual patterns of the target product, reformulating anomaly detection as a joint estimation of semantic anomaly responses and deviations from normal patterns. Furthermore, a text-guided pseudo-defect evidence calibration strategy is designed to synthesize local anomaly evidence, such as scratches, stains, missing areas, and color shifts, on defect-free images. This strategy calibrates abnormal prompt responses and regional thresholds without using real defective samples. Finally, a conflict-aware expert reasoning module integrates semantic anomalies, normality deviations, texture inconsistencies, and prompt uncertainty to output anomaly scores, anomaly localization maps, triggered prompts, and manual review decisions. Unlike conventional GAN-based defect image augmentation methods, NARE-ZSAD does not generate full defective images to train supervised classifiers. Instead, it enables region-level evidence discovery, normality-deviation reasoning, and reliability-aware decision making under zero-shot conditions, providing an interpretable and reviewable solution for industrial inspection in defect-scarce and unknown-anomaly scenarios.

References

S. Niu, B. Li, X. Wang, and H. Lin, "Defect image sample generation with GAN for improving defect recognition," IEEE Transactions on Automation Science and Engineering, vol. 17, no. 3, pp. 1611–1622, 2020.

I. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio, "Generative adversarial nets," in Advances in Neural Information Processing Systems, vol. 27, 2014.

J.-Y. Zhu, T. Park, P. Isola, and A. A. Efros, "Unpaired image-to-image translation using cycle-consistent adversarial networks," in Proc. IEEE Int. Conf. Comput. Vis. (ICCV), 2017, pp. 2223–2232.

A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark, G. Krueger, and I. Sutskever, "Learning transferable visual models from natural language supervision," in Proc. 38th Int. Conf. Mach. Learn. (ICML), 2021, pp. 8748–8763.

J. Jeong, Y. Zou, T. Kim, D. Zhang, A. Ravichandran, and O. Dabeer, "WinCLIP: Zero-/few-shot anomaly classification and segmentation," in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2023, pp. 19606–19616.

Q. Zhou, G. Pang, Y. Tian, S. He, and J. Chen, "AnomalyCLIP: Object-agnostic prompt learning for zero-shot anomaly detection," in Proc. Int. Conf. Learn. Represent. (ICLR), 2024.

P. Bergmann, M. Fauser, D. Sattlegger, and C. Steger, "MVTec AD: A comprehensive real-world dataset for unsupervised anomaly detection," in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2019, pp. 9592–9600.

Y. Zou, J. Jeong, L. Pemula, D. Zhang, and O. Dabeer, "SPot-the-Difference self-supervised pre-training for anomaly detection and segmentation," in Proc. Eur. Conf. Comput. Vis. (ECCV), 2022, pp. 392–408.

P. Bergmann, K. Batzner, M. Fauser, D. Sattlegger, and C. Steger, "Beyond dents and scratches: Logical constraints in unsupervised anomaly detection and localization," Int. J. Comput. Vis., vol. 130, pp. 947–969, 2022.

A. Kirillov, E. Mintun, N. Ravi, H. Mao, C. Rolland, L. Gustafson, T. Xiao, S. Whitehead, A. C. Berg, W.-Y. Lo, P. Dollar, and R. Girshick, "Segment anything," in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), 2023, pp. 4015–4026.

K. Roth, L. Pemula, J. Zepeda, B. Scholkopf, T. Brox, and P. Gehler, "Towards total recall in industrial anomaly detection," in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2022, pp. 14318–14328.

T. Defard, A. Setkov, A. Loesch, and R. Audigier, "PaDiM: A patch distribution modeling framework for anomaly detection and localization," Pattern Recognit., vol. 126, p. 108522, 2021.

N. Cohen and Y. Hoshen, "Sub-image anomaly detection with deep pyramid correspondences," arXiv preprint arXiv:2005.02357, 2020.

T. Nguyen, T. Le, H. Vu, and D. Phung, "Dual discriminator generative adversarial nets," in Advances in Neural Information Processing Systems, vol. 30, 2017.

M. Heusel, H. Ramsauer, T. Unterthiner, B. Nessler, and S. Hochreiter, "GANs trained by a two time-scale update rule converge to a local Nash equilibrium," in Advances in Neural Information Processing Systems, vol. 30, 2017.

K. Batzner, L. Heckler, and R. Konig, "EfficientAD: Accurate visual anomaly detection at millisecond-level latencies," in Proc. IEEE/CVF Winter Conf. Appl. Comput. Vis. (WACV), 2024, pp. 128–138.

V. Zavrtanik, M. Kristan, and D. Skocaj, "DRAEM: A discriminatively trained reconstruction embedding for surface anomaly detection," in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), 2021, pp. 8330–8339.

X. Li, Z. Zhang, X. Tan, C. Chen, Y. Qu, Y. Xie, and L. Ma, "PromptAD: Learning prompts with only normal samples for few-shot anomaly detection," in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2024, pp. 16838–16848.

C.-L. Li, K. Sohn, J. Yoon, and T. Pfister, "CutPaste: Self-supervised learning for anomaly detection and localization," in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2021, pp. 9664–9674.

D. Gudovskiy, S. Ishizaka, and K. Kozuka, "CFLOW-AD: Real-time unsupervised anomaly detection with localization via conditional normalizing flows," in Proc. IEEE/CVF Winter Conf. Appl. Comput. Vis. (WACV), 2022, pp. 98–107.

Downloads

Published

17 August 2026

Issue

Section

Article

How to Cite

Wang, Y., Zhang, G., Wu, C., Guo, Y., & Xiong, W. (2026). Normality-Anchored Regional Evidence Reasoning for Zero-Shot Industrial Anomaly Detection. Artificial Intelligence and Digital Technology, 3(3), 104-114. https://doi.org/10.70088/34f2ff15