Sequential PatchCore: Anomaly Detection for Surface Inspection using Synthetic Impurities

Runzhou Mao, Juraj Fulir, Christoph Garth, Petra Gospodnetić
1/16/2025
cs.CVcs.GRcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

The appearance of surface impurities (e.g., water stains, fingerprints, stickers) is an often-mentioned issue that causes degradation of automated visual inspection systems. At the same time, synthetic data generation techniques for visual surface inspection have focused primarily on generating perfect examples and defects, disregarding impurities. This study highlights the importance of considering impurities when generating synthetic data. We introduce a procedural method to include photorealistic water stains in synthetic data. The synthetic datasets are generated to correspond to real datasets and are further used to train an anomaly detection model and investigate the influence of water stains. The high-resolution images used for surface inspection lead to memory bottlenecks during anomaly detection training. To address this, we introduce Sequential PatchCore - a method to build coresets sequentially and make training on large images using consumer-grade hardware tractable. This allows us to perform transfer learning using coresets pre-trained on different dataset versions. Our results show the benefits of using synthetic data for pre-training an explicit coreset anomaly model and the extended performance benefits of finetuning the coreset using real data. We observed how the impurities and labelling ambiguity lower the model performance and have additionally reported the defect-wise recall to provide an industrially relevant perspective on model performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mao2025sequential,
  title  = {Sequential PatchCore: Anomaly Detection for Surface Inspection using Synthetic Impurities},
  author = {Runzhou Mao and Juraj Fulir and Christoph Garth and Petra Gospodnetić},
  year   = {2025},
  eprint = {2501.09579},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.09579v1}
}

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/2501.09579.svg)](https://codeofpaper.com/paper/2501.09579)

Discussion