Unified Anomaly Detection via Multi-Scale Contrasted Memory
Abstract
Deep anomaly detection (AD) aims to provide robust and efficient classifiers for one-class (OC) and outlier-exposure (OE) settings. However current models still struggle on edge-case normal samples and are often unable to keep high performance over different scales of anomalies. Additionally, there is a lack of a unified framework that efficiently addresses both OC and OE settings. To address these limitations, we present a novel two-stage method which leverages multi-scale normal prototypes during training to compute an anomaly deviation score. First, we employ a novel memory-augmented contrastive learning (CL) to jointly learn representations and memory modules across multiple scales. This allows us to effectively capture subtle features of normal data while adapting to varying levels of anomaly complexity. Then, we train an efficient anomaly distance-based detector that computes spatial deviation maps between the learned prototypes and incoming observations. Our model outperforms the state-of-the-art on a wide range of anomalies, including object, style, and local anomalies, as well as face presentation attacks. Notably, it stands as the first model capable of maintaining exceptional performance across both OC and OE settings.
BibTeX
@misc{jezequel2024unified,
author = {Loïc Jézéquel and Ngoc-Son Vu and Jean Beaudet and Aymeric Histace},
title = {{Unified Anomaly Detection via Multi-Scale Contrasted Memory}},
year = {2024},
url = {https://openreview.net/forum?id=9o7KuFcsps},
howpublished = {OpenReview},
note = {Submitted to ICLR 2024},
}Ask Althea to put this paper to the test.