Skip to main navigation Skip to search Skip to main content

Dual Dynamic Threshold Adjustment Strategy

  • Xi Ruo Jiang
  • , Yazhou Yao*
  • , Sheng Liu
  • , Fumin Shen
  • , Liqiang Nie
  • , Xian Sheng Hua
  • *Corresponding author for this work
  • Nanjing University of Science and Technology
  • Beihang University
  • University of Electronic Science and Technology of China
  • Harbin Institute of Technology
  • Terminus Group Co., Ltd.

Research output: Contribution to journalArticlepeer-review

Abstract

Loss functions and sample mining strategies are essential components in deep metric learning algorithms. However, the existing loss function or mining strategy often necessitates the incorporation of additional hyperparameters, notably the threshold, which defines whether the sample pair is informative. The threshold provides a stable numerical standard for determining whether to retain the pairs. It is a vital parameter to reduce the redundant sample pairs participating in training. Nonetheless, finding the optimal threshold can be a time-consuming endeavor, often requiring extensive grid searches. Because the threshold cannot be dynamically adjusted in the training stage, we should conduct plenty of repeated experiments to determine the threshold. Therefore, we introduce a novel approach for adjusting the thresholds associated with both the loss function and the sample mining strategy. We design a static Asymmetric Sample Mining Strategy (ASMS) and its dynamic version, the Adaptive Tolerance ASMS (AT-ASMS), tailored for sample mining methods. ASMS utilizes differentiated thresholds to address the problems (too few positive pairs and too many redundant negative pairs) caused by only applying a single threshold to filter samples. The AT-ASMS can adaptively regulate the ratio of positive and negative pairs during training according to the ratio of the currently mined positive and negative pairs. This meta-learning-based threshold generation algorithm utilizes a single-step gradient descent to obtain new thresholds. We combine these two threshold adjustment algorithms to form the Dual Dynamic Threshold Adjustment Strategy (DDTAS). Experimental results show that our algorithm achieves competitive performance on the CUB200, Cars196, and SOP datasets. Our codes are available at https://github.com/NUST-Machine-Intelligence-Laboratory/DDTAS.

Original languageEnglish
Article number224
JournalACM Transactions on Multimedia Computing, Communications and Applications
Volume20
Issue number7
DOIs
StatePublished - 15 May 2024
Externally publishedYes

Keywords

  • Deep metric learning
  • image retrieval
  • sample mining strategy

Fingerprint

Dive into the research topics of 'Dual Dynamic Threshold Adjustment Strategy'. Together they form a unique fingerprint.

Cite this