TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/CSI: Novelty Detection via Contrastive Learning on Distrib...

CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instances

Jihoon Tack, Sangwoo Mo, Jongheon Jeong, Jinwoo Shin

2020-07-16NeurIPS 2020 12Representation LearningUnsupervised Anomaly DetectionAnomaly DetectionOut-of-Distribution DetectionNovelty DetectionContrastive Learning
PaperPDFCode(official)

Abstract

Novelty detection, i.e., identifying whether a given sample is drawn from outside the training distribution, is essential for reliable machine learning. To this end, there have been many attempts at learning a representation well-suited for novelty detection and designing a score based on such representation. In this paper, we propose a simple, yet effective method named contrasting shifted instances (CSI), inspired by the recent success on contrastive learning of visual representations. Specifically, in addition to contrasting a given sample with other instances as in conventional contrastive learning methods, our training scheme contrasts the sample with distributionally-shifted augmentations of itself. Based on this, we propose a new detection score that is specific to the proposed training scheme. Our experiments demonstrate the superiority of our method under various novelty detection scenarios, including unlabeled one-class, unlabeled multi-class and labeled multi-class settings, with various image benchmark datasets. Code and pre-trained models are available at https://github.com/alinlab/CSI.

Results

TaskDatasetMetricValueModel
Anomaly DetectionOne-class ImageNet-30AUROC91.6CSI
Anomaly DetectionAnomaly Detection on Anomaly Detection on Unlabeled ImageNet-30 vs Flowers-102ROC-AUC94.7CSI
Anomaly DetectionAnomaly Detection on Unlabeled CIFAR-10 vs LSUN (Fix)ROC-AUC90.3CSI
Anomaly DetectionUnlabeled CIFAR-10 vs CIFAR-100AUROC89.3CSI
Anomaly DetectionOne-class CIFAR-100AUROC89.6CSI
Anomaly DetectionAnomaly Detection on Unlabeled ImageNet-30 vs CUB-200ROC-AUC71.5CSI
Anomaly DetectionOne-class CIFAR-10AUROC94.3CSI

Related Papers

Multi-Stage Prompt Inference Attacks on Enterprise LLM Systems2025-07-21Touch in the Wild: Learning Fine-Grained Manipulation with a Portable Visuo-Tactile Gripper2025-07-20Spectral Bellman Method: Unifying Representation and Exploration in RL2025-07-17Boosting Team Modeling through Tempo-Relational Representation Learning2025-07-173DKeyAD: High-Resolution 3D Point Cloud Anomaly Detection via Keypoint-Guided Point Clustering2025-07-17A Semi-Supervised Learning Method for the Identification of Bad Exposures in Large Imaging Surveys2025-07-17SemCSE: Semantic Contrastive Sentence Embeddings Using LLM-Generated Summaries For Scientific Abstracts2025-07-17HapticCap: A Multimodal Dataset and Task for Understanding User Experience of Vibration Haptic Signals2025-07-17