Bayesian Metric Learning for Uncertainty Quantification in Image Retrieval

Frederik Warburg, Marco Miani, Silas Brack, Soren Hauberg
2/2/2023
cs.LGcs.CV

No confident code implementation found for this paper. 7 possible matches can be shown below.

Abstract

We propose the first Bayesian encoder for metric learning. Rather than relying on neural amortization as done in prior works, we learn a distribution over the network weights with the Laplace Approximation. We actualize this by first proving that the contrastive loss is a valid log-posterior. We then propose three methods that ensure a positive definite Hessian. Lastly, we present a novel decomposition of the Generalized Gauss-Newton approximation. Empirically, we show that our Laplacian Metric Learner (LAM) estimates well-calibrated uncertainties, reliably detects out-of-distribution examples, and yields state-of-the-art predictive performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 7 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{warburg2023bayesian,
  title  = {Bayesian Metric Learning for Uncertainty Quantification in Image Retrieval},
  author = {Frederik Warburg and Marco Miani and Silas Brack and Soren Hauberg},
  year   = {2023},
  eprint = {2302.01332},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.01332v2},
  journal = {NEURIPS 2023 2023}
}

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

Discussion