Global-Regularized Neighborhood Regression for Efficient Zero-Shot Texture Anomaly Detection

Haiming Yao, Wei Luo, Yunkang Cao, Yiheng Zhang, Wenyong Yu +1 more
6/11/2024
cs.CV

No official code found. Best implementation: hmyao22/GRNR (9 stars, last commit 2026-03-19).

Abstract

Texture surface anomaly detection finds widespread applications in industrial settings. However, existing methods often necessitate gathering numerous samples for model training. Moreover, they predominantly operate within a close-set detection framework, limiting their ability to identify anomalies beyond the training dataset. To tackle these challenges, this paper introduces a novel zero-shot texture anomaly detection method named Global-Regularized Neighborhood Regression (GRNR). Unlike conventional approaches, GRNR can detect anomalies on arbitrary textured surfaces without any training data or cost. Drawing from human visual cognition, GRNR derives two intrinsic prior supports directly from the test texture image: local neighborhood priors characterized by coherent similarities and global normality priors featuring typical normal patterns. The fundamental principle of GRNR involves utilizing the two extracted intrinsic support priors for self-reconstructive regression of the query sample. This process employs the transformation facilitated by local neighbor support while being regularized by global normality support, aiming to not only achieve visually consistent reconstruction results but also preserve normality properties. We validate the effectiveness of GRNR across various industrial scenarios using eight benchmark datasets, demonstrating its superior detection performance without the need for training data. Remarkably, our method is applicable for open-set texture defect detection and can even surpass existing vanilla approaches that require extensive training.

View on arXivView PDF

Code Implementations(1)

hmyao22/GRNRCommunity67%

Official implementation of the paper "Global-Regularized Neighborhood Regression for Efficient Zero-Shot Texture Anomaly Detection"

90PythonSep 4, 20247 months ago

Similar Papers

Cite this paper

@article{yao2024globalregularized,
  title  = {Global-Regularized Neighborhood Regression for Efficient Zero-Shot Texture Anomaly Detection},
  author = {Haiming Yao and Wei Luo and Yunkang Cao and Yiheng Zhang and Wenyong Yu and Weiming Shen},
  year   = {2024},
  eprint = {2406.07333},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.07333v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.07333.svg)](https://codeofpaper.com/paper/2406.07333)

Discussion