Deep Metric Learning Using Negative Sampling Probability Annealing

Sensors (Basel). 2022 Oct 6;22(19):7579. doi: 10.3390/s22197579.

Abstract

Multiple studies have concluded that the selection of input samples is key for deep metric learning. For triplet networks, the selection of the anchor, positive, and negative pairs is referred to as triplet mining. The selection of the negatives is considered the be the most complicated task, due to a large number of possibilities. The goal is to select a negative that results in a positive triplet loss; however, there are multiple approaches for this-semi-hard negative mining or hardest mining are well-known in addition to random selection. Since its introduction, semi-hard mining was proven to outperform other negative mining techniques; however, in recent years, the selection of the so-called hardest negative has shown promising results in different experiments. This paper introduces a novel negative sampling solution based on dynamic policy switching, referred to as negative sampling probability annealing, which aims to exploit the positives of all approaches. Results are validated on an experimental synthetic dataset using cluster-analysis methods; finally, the discriminative abilities of trained models are measured on real-life data.

Keywords: deep metric learning; negative sampling probability annealing; triplet mining; triplet network.

MeSH terms

  • Algorithms*
  • Probability

Grants and funding

This research received no external funding.