Constrained Mean Shift Using Distant Yet Related Neighbors for Representation Learning

KL Navaneet, Soroush Abbasi Koohpayegani, Ajinkya Tejankar, Kossar Pourahmadi, Akshayvarun Subramanya +1 more
12/8/2021
cs.CV
contrastive-ssl

Official code: UCDvision/CMSF (5 stars, Python, MIT, PyTorch, last commit 2022-10-20).

Abstract

We are interested in representation learning in self-supervised, supervised, and semi-supervised settings. Some recent self-supervised learning methods like mean-shift (MSF) cluster images by pulling the embedding of a query image to be closer to its nearest neighbors (NNs).

Show full abstract

Since most NNs are close to the query by design, the averaging may not affect the embedding of the query much. On the other hand, far away NNs may not be semantically related to the query. We generalize the mean-shift idea by constraining the search space of NNs using another source of knowledge so that NNs are far from the query while still being semantically related. We show that our method (1) outperforms MSF in SSL setting when the constraint utilizes a different augmentation of an image from the previous epoch, and (2) outperforms PAWS in semi-supervised setting with less training resources when the constraint ensures that the NNs have the same pseudo-label as the query.

View on arXivView PDF

Code Implementations(1)

UCDvision/CMSFOfficial100%
PyTorchMIT

Official Code for "Constrained Mean Shift Using Distant Yet Related Neighbors for Representation Learning"

52Python, ShellDec 2, 20214 years agoMIT
computer-visionconvolutional-neural-networksdeep-learningkmeans-clusteringknn+7 more

Similar Papers

Cite this paper

@article{navaneet2021constrained,
  title  = {Constrained Mean Shift Using Distant Yet Related Neighbors for Representation Learning},
  author = {KL Navaneet and Soroush Abbasi Koohpayegani and Ajinkya Tejankar and Kossar Pourahmadi and Akshayvarun Subramanya and Hamed Pirsiavash},
  year   = {2021},
  eprint = {2112.04607},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.04607}
}

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/2112.04607.svg)](https://codeofpaper.com/paper/2112.04607)

Discussion