Few-Shot Defect Segmentation Leveraging Abundant Normal Training Samples
Through Normal Background Regularization and Crop-and-Paste Operation
- URL: http://arxiv.org/abs/2007.09438v2
- Date: Tue, 6 Apr 2021 07:14:39 GMT
- Title: Few-Shot Defect Segmentation Leveraging Abundant Normal Training Samples
Through Normal Background Regularization and Crop-and-Paste Operation
- Authors: Dongyun Lin, Yanpeng Cao, Wenbing Zhu, and Yiqun Li
- Abstract summary: In industrial inspection tasks, it is common to capture abundant defect-free image samples but very limited anomalous ones.
This paper tackles the challenging few-shot defect segmentation task with sufficient normal (defect-free) training images but very few anomalous ones.
We present two effective regularization techniques via incorporating abundant defect-free images into the training of a UNet-like encoder-decoder defect segmentation network.
- Score: 4.626338154327536
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: In industrial product quality assessment, it is essential to determine
whether a product is defect-free and further analyze the severity of anomality.
To this end, accurate defect segmentation on images of products provides an
important functionality. In industrial inspection tasks, it is common to
capture abundant defect-free image samples but very limited anomalous ones.
Therefore, it is critical to develop automatic and accurate defect segmentation
systems using only a small number of annotated anomalous training images. This
paper tackles the challenging few-shot defect segmentation task with sufficient
normal (defect-free) training images but very few anomalous ones. We present
two effective regularization techniques via incorporating abundant defect-free
images into the training of a UNet-like encoder-decoder defect segmentation
network. We first propose a Normal Background Regularization (NBR) loss which
is jointly minimized with the segmentation loss, enhancing the encoder network
to produce distinctive representations for normal regions. Secondly, we
crop/paste defective regions to the randomly selected normal images for data
augmentation and propose a weighted binary cross-entropy loss to enhance the
training by emphasizing more realistic crop-and-pasted augmented images based
on feature-level similarity comparison. Both techniques are implemented on an
encoder-decoder segmentation network backboned by ResNet-34 for few-shot defect
segmentation. Extensive experiments are conducted on the recently released
MVTec Anomaly Detection dataset with high-resolution industrial images. Under
both 1-shot and 5-shot defect segmentation settings, the proposed method
significantly outperforms several benchmarking methods.
Related papers
- SINDER: Repairing the Singular Defects of DINOv2 [61.98878352956125]
Vision Transformer models trained on large-scale datasets often exhibit artifacts in the patch token they extract.
We propose a novel fine-tuning smooth regularization that rectifies structural deficiencies using only a small dataset.
arXiv Detail & Related papers (2024-07-23T20:34:23Z) - Spatial-aware Attention Generative Adversarial Network for Semi-supervised Anomaly Detection in Medical Image [63.59114880750643]
We introduce a novel Spatial-aware Attention Generative Adrialversa Network (SAGAN) for one-class semi-supervised generation of health images.
SAGAN generates high-quality health images corresponding to unlabeled data, guided by the reconstruction of normal images and restoration of pseudo-anomaly images.
Extensive experiments on three medical datasets demonstrate that the proposed SAGAN outperforms the state-of-the-art methods.
arXiv Detail & Related papers (2024-05-21T15:41:34Z) - Few-Shot Defect Image Generation via Defect-Aware Feature Manipulation [19.018561017953957]
We propose the first defect image generation method in the challenging few-shot cases.
Our method consists of two training stages. First, we train a data-efficient StyleGAN2 on defect-free images as the backbone.
Second, we attach defect-aware residual blocks to the backbone, which learn to produce reasonable defect masks.
arXiv Detail & Related papers (2023-03-04T11:43:08Z) - Deep Autoencoders for Anomaly Detection in Textured Images using CW-SSIM [5.042611743157464]
We show that adopting a loss function based on Complex Wavelet Structural Similarity (CW-SSIM) yields superior detection performance on this type of images.
Our experiments on well-known anomaly detection benchmarks show that a simple model trained with this loss function can achieve comparable or superior performance to state-of-the-art methods.
arXiv Detail & Related papers (2022-08-30T08:01:25Z) - Self-Supervised Training with Autoencoders for Visual Anomaly Detection [61.62861063776813]
We focus on a specific use case in anomaly detection where the distribution of normal samples is supported by a lower-dimensional manifold.
We adapt a self-supervised learning regime that exploits discriminative information during training but focuses on the submanifold of normal examples.
We achieve a new state-of-the-art result on the MVTec AD dataset -- a challenging benchmark for visual anomaly detection in the manufacturing domain.
arXiv Detail & Related papers (2022-06-23T14:16:30Z) - PAEDID: Patch Autoencoder Based Deep Image Decomposition For Pixel-level
Defective Region Segmentation [16.519583839906904]
Unsupervised patch autoencoder based deep image decomposition (PAEDID) method for defective region segmentation is presented.
We learn the common background as a deep image prior by a patch autoencoder (PAE) network.
By adopting the proposed approach, the defective regions in the image can be accurately extracted in an unsupervised fashion.
arXiv Detail & Related papers (2022-03-28T02:50:06Z) - Fully Convolutional Cross-Scale-Flows for Image-based Defect Detection [24.0966076588569]
We tackle the problem of automatic defect detection without requiring any image samples of defective parts.
We propose a novel fully convolutional cross-scale normalizing flow (CS-Flow) that jointly processes multiple feature maps of different scales.
Our work sets a new state-of-the-art in image-level defect detection on the benchmark datasets Magnetic Tile Defects and MVTec AD showing a 100% AUROC on 4 out of 15 classes.
arXiv Detail & Related papers (2021-10-06T15:35:13Z) - Spatially-Adaptive Image Restoration using Distortion-Guided Networks [51.89245800461537]
We present a learning-based solution for restoring images suffering from spatially-varying degradations.
We propose SPAIR, a network design that harnesses distortion-localization information and dynamically adjusts to difficult regions in the image.
arXiv Detail & Related papers (2021-08-19T11:02:25Z) - Towards Unbiased COVID-19 Lesion Localisation and Segmentation via
Weakly Supervised Learning [66.36706284671291]
We propose a data-driven framework supervised by only image-level labels to support unbiased lesion localisation.
The framework can explicitly separate potential lesions from original images, with the help of a generative adversarial network and a lesion-specific decoder.
arXiv Detail & Related papers (2021-03-01T06:05:49Z) - Same Same But DifferNet: Semi-Supervised Defect Detection with
Normalizing Flows [24.734388664558708]
We propose DifferNet: It leverages the descriptiveness of features extracted by convolutional neural networks to estimate their density.
Based on these likelihoods we develop a scoring function that indicates defects.
We demonstrate the superior performance over existing approaches on the challenging and newly proposed MVTec AD and Magnetic Tile Defects datasets.
arXiv Detail & Related papers (2020-08-28T10:49:28Z) - Salvage Reusable Samples from Noisy Data for Robust Learning [70.48919625304]
We propose a reusable sample selection and correction approach, termed as CRSSC, for coping with label noise in training deep FG models with web images.
Our key idea is to additionally identify and correct reusable samples, and then leverage them together with clean examples to update the networks.
arXiv Detail & Related papers (2020-08-06T02:07:21Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.