A Simple Framework for Uncertainty in Contrastive Learning

10/05/2020
by   Mike Wu, et al.
15

Contrastive approaches to representation learning have recently shown great promise. In contrast to generative approaches, these contrastive models learn a deterministic encoder with no notion of uncertainty or confidence. In this paper, we introduce a simple approach based on "contrasting distributions" that learns to assign uncertainty for pretrained contrastive representations. In particular, we train a deep network from a representation to a distribution in representation space, whose variance can be used as a measure of confidence. In our experiments, we show that this deep uncertainty model can be used (1) to visually interpret model behavior, (2) to detect new noise in the input to deployed models, (3) to detect anomalies, where we outperform 10 baseline methods across 11 tasks with improvements of up to 14 classify out-of-distribution examples where our fully unsupervised model is competitive with supervised methods.

READ FULL TEXT

page 2

page 15

page 16

research
10/08/2021

Temperature as Uncertainty in Contrastive Learning

Contrastive learning has demonstrated great capability to learn represen...
research
12/02/2020

About contrastive unsupervised representation learning for classification and its convergence

Contrastive representation learning has been recently proved to be very ...
research
11/15/2021

Contrastive Representation Learning with Trainable Augmentation Channel

In contrastive representation learning, data representation is trained s...
research
06/11/2021

Hybrid Generative-Contrastive Representation Learning

Unsupervised representation learning has recently received lots of inter...
research
02/05/2023

Contrast with Reconstruct: Contrastive 3D Representation Learning Guided by Generative Pretraining

Mainstream 3D representation learning approaches are built upon contrast...
research
11/28/2022

CoNAL: Anticipating Outliers with Large Language Models

In many task settings, text classification models are likely to encounte...
research
06/26/2020

Unsupervised Discovery of Object Landmarks via Contrastive Learning

Given a collection of images, humans are able to discover landmarks of t...

Please sign up or login with your details

Forgot password? Click here to reset