Mean-Shifted Contrastive Loss for Anomaly Detection

06/07/2021
by   Tal Reiss, et al.
0

Deep anomaly detection methods learn representations that separate between normal and anomalous samples. Very effective representations are obtained when powerful externally trained feature extractors (e.g. ResNets pre-trained on ImageNet) are fine-tuned on the training data which consists of normal samples and no anomalies. However, this is a difficult task that can suffer from catastrophic collapse, i.e. it is prone to learning trivial and non-specific features. In this paper, we propose a new loss function which can overcome failure modes of both center-loss and contrastive-loss methods. Furthermore, we combine it with a confidence-invariant angular center loss, which replaces the Euclidean distance used in previous work, that was sensitive to prediction confidence. Our improvements yield a new anomaly detection approach, based on Mean-Shifted Contrastive Loss, which is both more accurate and less sensitive to catastrophic collapse than previous methods. Our method achieves state-of-the-art anomaly detection performance on multiple benchmarks including 97.5% ROC-AUC on the CIFAR-10 dataset.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/05/2021

Simple Adaptive Projection with Pretrained Features for Anomaly Detection

Deep anomaly detection aims to separate anomaly from normal samples with...
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/30/2020

Driver Anomaly Detection: A Dataset and Contrastive Learning Approach

Distracted drivers are more likely to fail to anticipate hazards, which ...
research
11/15/2021

Learnable Locality-Sensitive Hashing for Video Anomaly Detection

Video anomaly detection (VAD) mainly refers to identifying anomalous eve...
research
10/14/2022

Learning image representations for anomaly detection: application to discovery of histological alterations in drug development

We present a system for anomaly detection in histopathological images. I...
research
09/09/2021

Modified Supervised Contrastive Learning for Detecting Anomalous Driving Behaviours

Detecting distracted driving behaviours is important to reduce millions ...
research
08/09/2021

Transfer Learning Gaussian Anomaly Detection by Fine-Tuning Representations

Current state-of-the-art Anomaly Detection (AD) methods exploit the powe...

Please sign up or login with your details

Forgot password? Click here to reset