English

Anomaly Detection via Multi-Scale Contrasted Memory

Computer Vision and Pattern Recognition 2023-03-10 v2

Abstract

Deep anomaly detection (AD) aims to provide robust and efficient classifiers for one-class and unbalanced settings. However current AD models still struggle on edge-case normal samples and are often unable to keep high performance over different scales of anomalies. Moreover, there currently does not exist a unified framework efficiently covering both one-class and unbalanced learnings. In the light of these limitations, we introduce a new two-stage anomaly detector which memorizes during training multi-scale normal prototypes to compute an anomaly deviation score. First, we simultaneously learn representations and memory modules on multiple scales using a novel memory-augmented contrastive learning. Then, we train an anomaly distance detector on the spatial deviation maps between prototypes and observations. Our model highly improves the state-of-the-art performance on a wide range of object, style and local anomalies with up to 50% error relative improvement on CIFAR-100. It is also the first model to keep high performance across the one-class and unbalanced settings.

Keywords

Cite

@article{arxiv.2211.09041,
  title  = {Anomaly Detection via Multi-Scale Contrasted Memory},
  author = {Loic Jezequel and Ngoc-Son Vu and Jean Beaudet and Aymeric Histace},
  journal= {arXiv preprint arXiv:2211.09041},
  year   = {2023}
}
R2 v1 2026-06-28T06:03:25.887Z