Multi-Similarity Contrastive Learning

Emily Mu, John Guttag, Maggie Makar
7/6/2023
cs.LG

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mu2023multisimilarity,
  title  = {Multi-Similarity Contrastive Learning},
  author = {Emily Mu and John Guttag and Maggie Makar},
  year   = {2023},
  eprint = {2307.02712},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.02712v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.02712.svg)](https://codeofpaper.com/paper/2307.02712)

Discussion