TLDR: Twin Learning for Dimensionality Reduction

Yannis Kalantidis, Carlos Lassance, Jon Almazan, Diane Larlus
10/18/2021
cs.CVcs.AIcs.LG
contrastive-ssl

Official code: naver/tldr (127 stars, Python, last commit 2022-06-15).

Abstract

Dimensionality reduction methods are unsupervised approaches which learn low-dimensional spaces where some properties of the initial space, typically the notion of "neighborhood", are preserved. Such methods usually require propagation on large k-NN graphs or complicated optimization solvers.

Show full abstract

On the other hand, self-supervised learning approaches, typically used to learn representations from scratch, rely on simple and more scalable frameworks for learning. In this paper, we propose TLDR, a dimensionality reduction method for generic input spaces that is porting the recent self-supervised learning framework of Zbontar et al. (2021) to the specific task of dimensionality reduction, over arbitrary representations. We propose to use nearest neighbors to build pairs from a training set and a redundancy reduction loss to learn an encoder that produces representations invariant across such pairs. TLDR is a method that is simple, easy to train, and of broad applicability; it consists of an offline nearest neighbor computation step that can be highly approximated, and a straightforward learning process. Aiming for scalability, we focus on improving linear dimensionality reduction, and show consistent gains on image and document retrieval tasks, e.g. gaining +4% mAP over PCA on ROxford for GeM- AP, improving the performance of DINO on ImageNet or retaining it with a 10x compression.

View on arXivView PDF

Code Implementations(1)

naver/tldrOfficial100%

TLDR is an unsupervised dimensionality reduction method that combines neighborhood embedding learning with the simplicity and effectiveness of recent self-supervised learning losses

1273PythonOct 15, 20214 years agoNOASSERTION
dimensionality-reductionmanifold-learningpytorch-implementationunsupervised-machine-learning

Similar Papers

Cite this paper

@article{kalantidis2021tldr,
  title  = {TLDR: Twin Learning for Dimensionality Reduction},
  author = {Yannis Kalantidis and Carlos Lassance and Jon Almazan and Diane Larlus},
  year   = {2021},
  eprint = {2110.09455},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.09455}
}

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

Discussion