Multi-Similarity Contrastive Learning

07/06/2023
by   Emily Mu, et al.
0

Given a similarity metric, contrastive methods learn a representation in which examples that are similar are pushed together and examples that are dissimilar are pulled apart. Contrastive learning techniques have been utilized extensively to learn representations for tasks ranging from image classification to caption generation. However, existing contrastive learning approaches can fail to generalize because they do not take into account the possibility of different similarity relations. In this paper, we propose a novel multi-similarity contrastive loss (MSCon), that learns generalizable embeddings by jointly utilizing supervision from multiple metrics of similarity. Our method automatically learns contrastive similarity weightings based on the uncertainty in the corresponding similarity, down-weighting uncertain tasks and leading to better out-of-domain generalization to new tasks. We show empirically that networks trained with MSCon outperform state-of-the-art baselines on in-domain and out-of-domain settings.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/26/2023

Histopathology Image Classification using Deep Manifold Contrastive Learning

Contrastive learning has gained popularity due to its robustness with go...
research
03/29/2023

ContraSim – A Similarity Measure Based on Contrastive Learning

Recent work has compared neural network representations via similarity-b...
research
01/30/2022

Similarity and Generalization: From Noise to Corruption

Contrastive learning aims to extract distinctive features from data by f...
research
10/11/2022

Contrastive Trajectory Similarity Learning with Dual-Feature Attention

Trajectory similarity measures act as query predicates in trajectory dat...
research
01/13/2021

Contrastive Behavioral Similarity Embeddings for Generalization in Reinforcement Learning

Reinforcement learning methods trained on few environments rarely learn ...
research
11/08/2022

ConsPrompt: Easily Exploiting Contrastive Samples for Few-shot Prompt Learning

Prompt learning recently become an effective linguistic tool to motivate...
research
09/25/2021

Contrastive Learning for Mitochondria Segmentation

Mitochondria segmentation in electron microscopy images is essential in ...

Please sign up or login with your details

Forgot password? Click here to reset