Threshold-Consistent Margin Loss for Open-World Deep Metric Learning
Qin Zhang, Linghan Xu, Qingming Tang, Jun Fang, Ying Nian Wu, Joe, Tighe, Yifan Xing

TL;DR
This paper introduces a new loss function called TCM that improves threshold consistency in deep metric learning, reducing performance variability across classes without sacrificing accuracy.
Contribution
The paper proposes the Threshold-Consistent Margin (TCM) loss, a novel regularization method that enhances threshold consistency in DML models, addressing the trade-off between accuracy and consistency.
Findings
TCM improves threshold consistency across classes.
High accuracy does not guarantee threshold stability.
TCM maintains accuracy while enhancing consistency.
Abstract
Existing losses used in deep metric learning (DML) for image retrieval often lead to highly non-uniform intra-class and inter-class representation structures across test classes and data distributions. When combined with the common practice of using a fixed threshold to declare a match, this gives rise to significant performance variations in terms of false accept rate (FAR) and false reject rate (FRR) across test classes and data distributions. We define this issue in DML as threshold inconsistency. In real-world applications, such inconsistency often complicates the threshold selection process when deploying commercial image retrieval systems. To measure this inconsistency, we propose a novel variance-based metric called Operating-Point-Inconsistency-Score (OPIS) that quantifies the variance in the operating characteristics across classes. Using the OPIS metric, we find that achieving…
Peer Reviews
Decision·ICLR 2024 poster
1. The proposed Operating-Point-Inconsistency Score (OPIS) and ϵ-OPIS provide valuable insights. 2. The experiments comparing high accuracy with high threshold consistency are objective. 3. The proposed Threshold-Consistent Margin (TCM) loss is relatively simple and easy to understand. 4. The visualization of the TCM effect is interesting. 5. The experiments are comprehensive, with detailed implementation and coverage of mainstream metric learning settings. 6. The ablation experiments are extens
It is meaningful to pull the scores of positive pairs towards a fixed value and the scores of negative pairs towards another fixed value, even though it sounds simple. Apart from that, I did not see any other weaknesses.
1.The paper effectively identifies and defines the threshold inconsistency problem within the context of Deep Metric Learning (DML). 2.To address this issue, the authors introduce a novel loss function, the Threshold-Consistent Margin (TCM) loss. 3.Their proposed method is rigorously evaluated through comprehensive experiments.
1. The use of the term "large-scale" in this paper may be misleading as the experiment datasets do not contain a sufficiently large number of samples to be accurately characterized as "large-scale." Typically, datasets with more than 10 million or 1 billion samples could be considered as large-scale. 2. The threshold inconsistency problem, as described in this paper, is also referred to as the generalization problem and has been previously discussed in the deep metric learning (DML) literature
- The paper is well-written, making it easy to understand while offering comprehensive comparisons with current methods. - It clearly highlights issues in existing models and presents an intuitive metric and regularization technique to tackle them. - The research goes a step further by demonstrating not just improved threshold consistency but also better performance in several instances.
- The biggest weakness in the paper is the lack of experiments related to face verification, where threshold importance is evident. While image retrieval mostly uses metrics like mAP or Recall@k, face verification relies heavily on thresholds and uses metrics like TAR@FAR. The introduced method appears more suited for face verification than image retrieval. - The paper suggests that high accuracy doesn't always mean high threshold consistency. However, in face verification tasks, consistency in
Videos
Taxonomy
TopicsDomain Adaptation and Few-Shot Learning · Multimodal Machine Learning Applications · Generative Adversarial Networks and Image Synthesis
