CLAD: A Contrastive Learning based Method for Multi-Class Anomaly Detection

Runtang Guo, Hong Li, Tongfei Chen, Yuguang Yang, Peng Zhou, Linlin Yang, Guodong Guo, Baochang ZhangOpenReview 2025 · Submission to ICLR 2025 · Withdrawn

Its authors withdrew this paper, so there is no full text to read or summarize.

Abstract

Anomaly detection is crucial yet challenging in industrial production, especially in multi-class scenarios. Existing high-performance unsupervised methods often suffer from low efficiency and high model complexity. While lightweight discriminator-based detectors have been proposed, they are typically designed for single-class detection and exhibit significant performance degradation when extended to multi-class tasks. To address these limitations, we propose a novel Contrastive Learning-based multi-class Anomaly Detection (CLAD) method. Our approach first encodes multi-class normal images to generate normal samples in the feature space, then synthesizes anomalous samples in this encoded space. We then employ an Adapter network to compress the samples and leverage contrastive learning to effectively cluster normal and anomalous samples across multiple classes. Finally, a discriminator network is used for anomaly classification and identification. By leveraging anomaly sample generation and a two-stage training process, our framework achieves state-of-the-art performance on the MVTec and VisA datasets under the discriminator-based paradigm. Our key contributions include a novel framework for multi-class anomaly detection, efficient sample generation techniques, and a comprehensive evaluation of model configurations.
BibTeX
@misc{guo2025clad,
  author = {Runtang Guo and Hong Li and Tongfei Chen and Yuguang Yang and Peng Zhou and Linlin Yang and Guodong Guo and Baochang Zhang},
  title = {{CLAD: A Contrastive Learning based Method for Multi-Class Anomaly Detection}},
  year = {2025},
  url = {https://openreview.net/forum?id=zE4mL85zgg},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2025},
}
Figure