Supervised Contrastive Learning with Heterogeneous Similarity for Distribution Shifts

04/07/2023
by   Takuro Kutsuna, et al.
0

Distribution shifts are problems where the distribution of data changes between training and testing, which can significantly degrade the performance of a model deployed in the real world. Recent studies suggest that one reason for the degradation is a type of overfitting, and that proper regularization can mitigate the degradation, especially when using highly representative models such as neural networks. In this paper, we propose a new regularization using the supervised contrastive learning to prevent such overfitting and to train models that do not degrade their performance under the distribution shifts. We extend the cosine similarity in contrastive loss to a more general similarity measure and propose to use different parameters in the measure when comparing a sample to a positive or negative example, which is analytically shown to act as a kind of margin in contrastive loss. Experiments on benchmark datasets that emulate distribution shifts, including subpopulation shift and domain generalization, demonstrate the advantage of the proposed method over existing regularization methods.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/20/2021

SelfReg: Self-supervised Contrastive Regularization for Domain Generalization

In general, an experimental environment for deep learning assumes that t...
research
05/07/2019

Contrastive Learning for Lifted Networks

In this work we address supervised learning via lifted network formulati...
research
12/14/2020

WILDS: A Benchmark of in-the-Wild Distribution Shifts

Distribution shifts can cause significant degradation in a broad range o...
research
11/10/2022

Unbiased Supervised Contrastive Learning

Many datasets are biased, namely they contain easy-to-learn features tha...
research
06/26/2023

Histopathology Image Classification using Deep Manifold Contrastive Learning

Contrastive learning has gained popularity due to its robustness with go...
research
04/09/2023

Reweighted Mixup for Subpopulation Shift

Subpopulation shift exists widely in many real-world applications, which...
research
09/12/2023

Towards Reliable Domain Generalization: A New Dataset and Evaluations

There are ubiquitous distribution shifts in the real world. However, dee...

Please sign up or login with your details

Forgot password? Click here to reset