SoftPatch: Unsupervised Anomaly Detection with Noisy Data

Xi Jiang, Ying Chen, Qiang Nie, Yong Liu, Jianlin Liu +4 more
3/21/2024
cs.CVcs.AIcs.LG

No official code found. Best implementation: TencentYoutuResearch/AnomalyDetection-SoftPatch (96 stars, last commit 2024-07-13).

Abstract

Although mainstream unsupervised anomaly detection (AD) algorithms perform well in academic datasets, their performance is limited in practical application due to the ideal experimental setting of clean training data. Training with noisy data is an inevitable problem in real-world anomaly detection but is seldom discussed. This paper considers label-level noise in image sensory anomaly detection for the first time. To solve this problem, we proposed a memory-based unsupervised AD method, SoftPatch, which efficiently denoises the data at the patch level. Noise discriminators are utilized to generate outlier scores for patch-level noise elimination before coreset construction. The scores are then stored in the memory bank to soften the anomaly detection boundary. Compared with existing methods, SoftPatch maintains a strong modeling ability of normal data and alleviates the overconfidence problem in coreset. Comprehensive experiments in various noise scenes demonstrate that SoftPatch outperforms the state-of-the-art AD methods on the MVTecAD and BTAD benchmarks and is comparable to those methods under the setting without noise.

View on arXivView PDF

Code Implementations(1)

Code for NeurIPS 2022 paper "SoftKernel: Unsupervised Anomaly Detection with Noisy Data"

9615Shell, PythonOct 12, 20222 years ago

Similar Papers

Cite this paper

@article{jiang2024softpatch,
  title  = {SoftPatch: Unsupervised Anomaly Detection with Noisy Data},
  author = {Xi Jiang and Ying Chen and Qiang Nie and Yong Liu and Jianlin Liu and Bin-Bin Gao and Jun Liu and Chengjie Wang and Feng Zheng},
  year   = {2024},
  eprint = {2403.14233},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.14233v1}
}

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

Discussion