Cluster-aware Contrastive Learning for Unsupervised Out-of-distribution Detection

02/06/2023
by   Menglong Chen, et al.
0

Unsupervised out-of-distribution (OOD) Detection aims to separate the samples falling outside the distribution of training data without label information. Among numerous branches, contrastive learning has shown its excellent capability of learning discriminative representation in OOD detection. However, for its limited vision, merely focusing on instance-level relationship between augmented samples, it lacks attention to the relationship between samples with same semantics. Based on the classic contrastive learning, we propose Cluster-aware Contrastive Learning (CCL) framework for unsupervised OOD detection, which considers both instance-level and semantic-level information. Specifically, we study a cooperation strategy of clustering and contrastive learning to effectively extract the latent semantics and design a cluster-aware contrastive loss function to enhance OOD discriminative ability. The loss function can simultaneously pay attention to the global and local relationships by treating both the cluster centers and the samples belonging to the same cluster as positive samples. We conducted sufficient experiments to verify the effectiveness of our framework and the model achieves significant improvement on various image benchmarks.

READ FULL TEXT
research
04/03/2021

Graph Contrastive Clustering

Recently, some contrastive learning methods have been proposed to simult...
research
01/21/2022

Dual Contrastive Learning: Text Classification via Label-Aware Data Augmentation

Contrastive learning has achieved remarkable success in representation l...
research
09/26/2021

Cluster Analysis with Deep Embeddings and Contrastive Learning

Unsupervised disentangled representation learning is a long-standing pro...
research
05/05/2021

MiCE: Mixture of Contrastive Experts for Unsupervised Image Clustering

We present Mixture of Contrastive Experts (MiCE), a unified probabilisti...
research
09/21/2020

Contrastive Clustering

In this paper, we propose a one-stage online clustering method called Co...
research
08/01/2019

Contrastive Reasons Detection and Clustering from Online Polarized Debate

This work tackles the problem of unsupervised modeling and extraction of...
research
07/04/2022

Embedding contrastive unsupervised features to cluster in- and out-of-distribution noise in corrupted image datasets

Using search engines for web image retrieval is a tempting alternative t...

Please sign up or login with your details

Forgot password? Click here to reset