PADS: Policy-Adapted Sampling for Visual Similarity Learning

Karsten Roth, Timo Milbich, Björn Ommer
3/24/2020
cs.CV

Official code: Confusezius/CVPR2020_PADS (63 stars, Python, MIT, PyTorch, last commit 2020-06-12).

Abstract

Learning visual similarity requires to learn relations, typically between triplets of images. Albeit triplet approaches being powerful, their computational complexity mostly limits training to only a subset of all possible training triplets.

Show full abstract

Thus, sampling strategies that decide when to use which training sample during learning are crucial. Currently, the prominent paradigm are fixed or curriculum sampling strategies that are predefined before training starts. However, the problem truly calls for a sampling process that adjusts based on the actual state of the similarity representation during training. We, therefore, employ reinforcement learning and have a teacher network adjust the sampling distribution based on the current state of the learner network, which represents visual similarity. Experiments on benchmark datasets using standard triplet-based losses show that our adaptive sampling strategy significantly outperforms fixed sampling strategies. Moreover, although our adaptive sampling is only applied on top of basic triplet-learning frameworks, we reach competitive results to state-of-the-art approaches that employ diverse additional learning signals or strong ensemble architectures. Code can be found under https://github.com/Confusezius/CVPR2020_PADS.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

(CVPR 2020) This repo contains code for "PADS: Policy-Adapted Sampling for Visual Similarity Learning", which proposes learnable triplet mining with Reinforcement Learning.

639Python, ShellMar 20, 20206 years agoMIT
cars196cub200-2011cvpr2020deep-learningdeep-metric-learning+3 more

Similar Papers

Cite this paper

@article{roth2020pads,
  title  = {PADS: Policy-Adapted Sampling for Visual Similarity Learning},
  author = {Karsten Roth and Timo Milbich and Björn Ommer},
  year   = {2020},
  eprint = {2003.11113},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.11113}
}

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

Discussion