Adaptive Cross Batch Normalization for Metric Learning

03/30/2023
by   Thalaiyasingam Ajanthan, et al.
9

Metric learning is a fundamental problem in computer vision whereby a model is trained to learn a semantically useful embedding space via ranking losses. Traditionally, the effectiveness of a ranking loss depends on the minibatch size, and is, therefore, inherently limited by the memory constraints of the underlying hardware. While simply accumulating the embeddings across minibatches has proved useful (Wang et al. [2020]), we show that it is equally important to ensure that the accumulated embeddings are up to date. In particular, it is necessary to circumvent the representational drift between the accumulated embeddings and the feature embeddings at the current training iteration as the learnable parameters are being updated. In this paper, we model representational drift as distribution misalignment and tackle it using moment matching. The result is a simple method for updating the stored embeddings to match the first and second moments of the current embeddings at each training iteration. Experiments on three popular image retrieval datasets, namely, SOP, In-Shop, and DeepFashion2, demonstrate that our approach significantly improves the performance in all scenarios.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/14/2019

Cross-Batch Memory for Embedding Learning

Mining informative negative instances are of central importance to deep ...
research
11/05/2020

Deep Metric Learning with Spherical Embedding

Deep metric learning has attracted much attention in recent years, due t...
research
07/30/2022

DAS: Densely-Anchored Sampling for Deep Metric Learning

Deep Metric Learning (DML) serves to learn an embedding function to proj...
research
06/09/2020

Reducing Class Collapse in Metric Learning with Easy Positive Sampling

Metric learning seeks perceptual embeddings where visually similar insta...
research
07/14/2023

Generalizable Embeddings with Cross-batch Metric Learning

Global average pooling (GAP) is a popular component in deep metric learn...
research
09/19/2022

Deep Metric Learning with Chance Constraints

Deep metric learning (DML) aims to minimize empirical expected loss of t...
research
11/19/2015

Learning Deep Structure-Preserving Image-Text Embeddings

This paper proposes a method for learning joint embeddings of images and...

Please sign up or login with your details

Forgot password? Click here to reset