IDEAS home Printed from https://ideas.repec.org/a/gam/jftint/v14y2022i3p86-d770077.html
   My bibliography  Save this article

Unsupervised Anomaly Detection and Segmentation on Dirty Datasets

Author

Listed:
  • Jiahao Guo

    (School of Computer Engineering and Science, Shanghai University, Shanghai 200444, China)

  • Xiaohuo Yu

    (School of Computer Engineering and Science, Shanghai University, Shanghai 200444, China)

  • Lu Wang

    (School of Computer Engineering and Science, Shanghai University, Shanghai 200444, China)

Abstract

Industrial quality control is an important task. Most of the existing vision-based unsupervised industrial anomaly detection and segmentation methods require that the training set only consists of normal samples, which is difficult to ensure in practice. This paper proposes an unsupervised framework to solve the industrial anomaly detection and segmentation problem when the training set contains anomaly samples. Our framework uses a model pretrained on ImageNet as a feature extractor to extract patch-level features. After that, we propose a trimming method to estimate a robust Gaussian distribution based on the patch features at each position. Then, with an iterative filtering process, we can iteratively filter out the anomaly samples in the training set and re-estimate the Gaussian distribution at each position. In the prediction phase, the Mahalanobis distance between a patch feature vector and the center of the Gaussian distribution at the corresponding position is used as the anomaly score of this patch. The subsequent anomaly region segmentation is performed based on the patch anomaly score. We tested the proposed method on three datasets containing the anomaly samples and obtained state-of-the-art performance.

Suggested Citation

  • Jiahao Guo & Xiaohuo Yu & Lu Wang, 2022. "Unsupervised Anomaly Detection and Segmentation on Dirty Datasets," Future Internet, MDPI, vol. 14(3), pages 1-17, March.
  • Handle: RePEc:gam:jftint:v:14:y:2022:i:3:p:86-:d:770077
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1999-5903/14/3/86/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1999-5903/14/3/86/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:14:y:2022:i:3:p:86-:d:770077. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.