HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

PADS: Policy-Adapted Sampling for Visual Similarity Learning

Karsten Roth Timo Milbich Björn Ommer

PADS: Policy-Adapted Sampling for Visual Similarity Learning

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. 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.

Code Repositories

Confusezius/CVPR2020_PADS
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
metric-learning-on-cars196ResNet50 (128) + PADS
R@1: 83.5
metric-learning-on-cub-200-2011ResNet50 (128) + PADS
R@1: 67.3
metric-learning-on-stanford-online-products-1ResNet50 (128) + PADS
R@1: 76.5

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp