English

Bayesian Triplet Loss: Uncertainty Quantification in Image Retrieval

Computer Vision and Pattern Recognition 2021-09-20 v3

Abstract

Uncertainty quantification in image retrieval is crucial for downstream decisions, yet it remains a challenging and largely unexplored problem. Current methods for estimating uncertainties are poorly calibrated, computationally expensive, or based on heuristics. We present a new method that views image embeddings as stochastic features rather than deterministic features. Our two main contributions are (1) a likelihood that matches the triplet constraint and that evaluates the probability of an anchor being closer to a positive than a negative; and (2) a prior over the feature space that justifies the conventional l2 normalization. To ensure computational efficiency, we derive a variational approximation of the posterior, called the Bayesian triplet loss, that produces state-of-the-art uncertainty estimates and matches the predictive performance of current state-of-the-art methods.

Keywords

Cite

@article{arxiv.2011.12663,
  title  = {Bayesian Triplet Loss: Uncertainty Quantification in Image Retrieval},
  author = {Frederik Warburg and Martin Jørgensen and Javier Civera and Søren Hauberg},
  journal= {arXiv preprint arXiv:2011.12663},
  year   = {2021}
}
R2 v1 2026-06-23T20:29:59.163Z