Contrastive Predictive Coding for Anomaly Detection

07/16/2021
by   Puck de Haan, et al.
0

Reliable detection of anomalies is crucial when deploying machine learning models in practice, but remains challenging due to the lack of labeled data. To tackle this challenge, contrastive learning approaches are becoming increasingly popular, given the impressive results they have achieved in self-supervised representation learning settings. However, while most existing contrastive anomaly detection and segmentation approaches have been applied to images, none of them can use the contrastive losses directly for both anomaly detection and segmentation. In this paper, we close this gap by making use of the Contrastive Predictive Coding model (arXiv:1807.03748). We show that its patch-wise contrastive loss can directly be interpreted as an anomaly score, and how this allows for the creation of anomaly segmentation masks. The resulting model achieves promising results for both anomaly detection and segmentation on the challenging MVTec-AD dataset.

READ FULL TEXT
research
06/29/2020

Patch SVDD: Patch-level SVDD for Anomaly Detection and Segmentation

In this paper, we tackle the problem of image anomaly detection and segm...
research
10/04/2022

CADet: Fully Self-Supervised Anomaly Detection With Contrastive Learning

Handling out-of-distribution (OOD) samples has become a major stake in t...
research
08/20/2023

Unilaterally Aggregated Contrastive Learning with Hierarchical Augmentation for Anomaly Detection

Anomaly detection (AD), aiming to find samples that deviate from the tra...
research
04/16/2023

Time-series Anomaly Detection via Contextual Discriminative Contrastive Learning

Detecting anomalies in temporal data is challenging due to anomalies bei...
research
09/12/2022

Hyperbolic Self-supervised Contrastive Learning Based Network Anomaly Detection

Anomaly detection on the attributed network has recently received increa...
research
02/21/2023

Few-shot Detection of Anomalies in Industrial Cyber-Physical System via Prototypical Network and Contrastive Learning

The rapid development of Industry 4.0 has amplified the scope and destru...
research
10/25/2021

Pediatric Otoscopy Video Screening with Shift Contrastive Anomaly Detection

Ear related concerns and symptoms represents the leading indication for ...

Please sign up or login with your details

Forgot password? Click here to reset