A Non-isotropic Probabilistic Take on Proxy-based Deep Metric Learning

Michael Kirchhof, Karsten Roth, Zeynep Akata, Enkelejda Kasneci
7/8/2022
cs.LGstat.ML

No official code found. Best implementation: ExplainableML/Probabilistic_Deep_Metric_Learning (12 stars, last commit 2022-12-06).

Abstract

Proxy-based Deep Metric Learning (DML) learns deep representations by embedding images close to their class representatives (proxies), commonly with respect to the angle between them. However, this disregards the embedding norm, which can carry additional beneficial context such as class- or image-intrinsic uncertainty. In addition, proxy-based DML struggles to learn class-internal structures. To address both issues at once, we introduce non-isotropic probabilistic proxy-based DML. We model images as directional von Mises-Fisher (vMF) distributions on the hypersphere that can reflect image-intrinsic uncertainties. Further, we derive non-isotropic von Mises-Fisher (nivMF) distributions for class proxies to better represent complex class-specific variances. To measure the proxy-to-image distance between these models, we develop and investigate multiple distribution-to-point and distribution-to-distribution metrics. Each framework choice is motivated by a set of ablational studies, which showcase beneficial properties of our probabilistic approach to proxy-based DML, such as uncertainty-awareness, better-behaved gradients during training, and overall improved generalization performance. The latter is especially reflected in the competitive performance on the standard DML benchmarks, where our approach compares favorably, suggesting that existing proxy-based DML can significantly benefit from a more probabilistic treatment. Code is available at github.com/ExplainableML/Probabilistic_Deep_Metric_Learning.

View on arXivView PDF

Code Implementations(1)

This repository contains the code for our ECCV 2022 paper on our "Non-isotropic Probabilistic Take on Proxy-based Deep Metric Learning".

120Shell, PythonJul 4, 20223 years ago

Similar Papers

Cite this paper

@article{kirchhof2022nonisotropic,
  title  = {A Non-isotropic Probabilistic Take on Proxy-based Deep Metric Learning},
  author = {Michael Kirchhof and Karsten Roth and Zeynep Akata and Enkelejda Kasneci},
  year   = {2022},
  eprint = {2207.03784},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.03784v1}
}

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

Discussion