<p>Recent studies on anomaly detection (AD) for industrial products typically address the problem in an unsupervised manner, requiring only normal data for training. This approach alleviates the need for anomalous data but still requires a set of normal samples and often involves demanding computations. More recent methods aim to solve this problem in zero-, one-, or few-shot settings but suffer from performance drops or rely on additional contexts, such as language guidance and text encoding, which add overhead. This paper focuses on homogeneous textures and demonstrates how the problem can be addressed without any training samples or additional training (zero-shot), only requiring one normal sample (one-shot) for hyperparameter selection, which is an additional challenge in unsupervised settings. This is achieved by enforcing <i>K</i>-means clustering with <InlineEquation ID="IEq1"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="138_2025_1670_Article_IEq1.gif" Format="GIF" Height="14" Rendition="HTML" Resolution="72" Type="Linedraw" Width="47" /> </InlineMediaObject> <EquationSource Format="TEX">\({K}=2\)</EquationSource> </InlineEquation> on each of the testing samples independently, distinguishing it from the typical use of clustering methods in outlier detection, which are applied to a set of samples. The confidence score of each locality belonging to the smaller cluster, considered the potential anomalous cluster for evaluation, forms the anomaly map used in anomaly localization, and the maximum values in this map are used in AD. Competitive performance is achieved through the careful selection of the distance metric, feature layers, and clustering method. Experiments show that this zero-to-one-shot method, which facilitates deployment by reducing data dependency, maintains performance comparable to, or even higher than, conventional many-shot methods, all with relatively high speed.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Enforced clustering for zero-to-one-shot texture anomaly detection

  • Bahar Amirian Varnousefaderani,
  • Akhrorjon Akhmadjon Ugli Rakhmonov,
  • Jae-Soo Kim,
  • Jeonghong Kim

摘要

Recent studies on anomaly detection (AD) for industrial products typically address the problem in an unsupervised manner, requiring only normal data for training. This approach alleviates the need for anomalous data but still requires a set of normal samples and often involves demanding computations. More recent methods aim to solve this problem in zero-, one-, or few-shot settings but suffer from performance drops or rely on additional contexts, such as language guidance and text encoding, which add overhead. This paper focuses on homogeneous textures and demonstrates how the problem can be addressed without any training samples or additional training (zero-shot), only requiring one normal sample (one-shot) for hyperparameter selection, which is an additional challenge in unsupervised settings. This is achieved by enforcing K-means clustering with \({K}=2\) on each of the testing samples independently, distinguishing it from the typical use of clustering methods in outlier detection, which are applied to a set of samples. The confidence score of each locality belonging to the smaller cluster, considered the potential anomalous cluster for evaluation, forms the anomaly map used in anomaly localization, and the maximum values in this map are used in AD. Competitive performance is achieved through the careful selection of the distance metric, feature layers, and clustering method. Experiments show that this zero-to-one-shot method, which facilitates deployment by reducing data dependency, maintains performance comparable to, or even higher than, conventional many-shot methods, all with relatively high speed.