Large-to-small Image Resolution Asymmetry in Deep Metric Learning

10/11/2022
by   Pavel Suma, et al.
0

Deep metric learning for vision is trained by optimizing a representation network to map (non-)matching image pairs to (non-)similar representations. During testing, which typically corresponds to image retrieval, both database and query examples are processed by the same network to obtain the representation used for similarity estimation and ranking. In this work, we explore an asymmetric setup by light-weight processing of the query at a small image resolution to enable fast representation extraction. The goal is to obtain a network for database examples that is trained to operate on large resolution images and benefits from fine-grained image details, and a second network for query examples that operates on small resolution images but preserves a representation space aligned with that of the database network. We achieve this with a distillation approach that transfers knowledge from a fixed teacher network to a student via a loss that operates per image and solely relies on coupled augmentations without the use of any labels. In contrast to prior work that explores such asymmetry from the point of view of different network architectures, this work uses the same architecture but modifies the image resolution. We conclude that resolution asymmetry is a better way to optimize the performance/efficiency trade-off than architecture asymmetry. Evaluation is performed on three standard deep metric learning benchmarks, namely CUB200, Cars196, and SOP. Code: https://github.com/pavelsuma/raml

READ FULL TEXT
research
06/29/2020

Asymmetric metric learning for knowledge transfer

Knowledge transfer from large teacher models to smaller student models h...
research
04/07/2019

Learning Metrics from Teachers: Compact Networks for Image Embedding

Metric learning networks are used to compute image embeddings, which are...
research
03/08/2018

Generalization in Metric Learning: Should the Embedding Layer be the Embedding Layer?

Many recent works advancing deep learning tend to focus on large scale s...
research
10/04/2022

Supervised Metric Learning for Retrieval via Contextual Similarity Optimization

Existing deep metric learning approaches fall into three general categor...
research
10/04/2022

On Background Bias in Deep Metric Learning

Deep Metric Learning trains a neural network to map input images to a lo...
research
10/23/2020

Hard Example Generation by Texture Synthesis for Cross-domain Shape Similarity Learning

Image-based 3D shape retrieval (IBSR) aims to find the corresponding 3D ...
research
08/30/2018

Discriminative Learning of Similarity and Group Equivariant Representations

One of the most fundamental problems in machine learning is to compare e...

Please sign up or login with your details

Forgot password? Click here to reset