arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.04047cs.CV
收藏

阈值一致性边际损失用于开放世界深度度量学习

Threshold-Consistent Margin Loss for Open-World Deep Metric Learning

AWS AI Labs(亚马逊云科技人工智能实验室);Alexa AI(亚马逊语音助手人工智能部门)

Qin Zhang, Linghan Xu, Qingming Tang, Jun Fang, Ying Nian Wu, Joe Tighe, Yifan Xing

AI总结:

针对深度度量学习中固定阈值导致的性能不一致问题,提出OPIS度量量化不一致性,并引入TCM损失,通过选择性惩罚困难样本对,在保持准确率的同时提升阈值一致性。

摘要:

现有的用于图像检索的深度度量学习(DML)损失函数,往往导致测试类别和数据分布之间的类内和类间表示结构高度不均匀。当与使用固定阈值来判定匹配的常见做法相结合时,这会导致误接受率(FAR)和误拒绝率(FRR)在不同测试类别和数据分布之间出现显著的性能变化。我们将DML中的这一问题定义为阈值不一致性。在实际应用中,这种不一致性常常使部署商业图像检索系统时的阈值选择过程复杂化。为了衡量这种不一致性,我们提出了一种新颖的基于方差的度量,称为工作点不一致性得分(OPIS),用于量化各类别间工作特性的方差。利用OPIS度量,我们发现DML模型达到高准确率并不自动保证阈值一致性。事实上,我们的研究揭示了高准确率区域存在一个帕累托前沿,其中现有的提高准确率的方法往往导致阈值一致性的退化。为了解决这一权衡问题,我们引入了阈值一致性边际(TCM)损失,这是一种简单而有效的正则化技术,通过选择性地惩罚困难样本对来促进各类别间表示结构的均匀性。大量实验证明了TCM在增强阈值一致性的同时保持准确率的有效性,从而简化了实际DML设置中的阈值选择过程。

英文摘要:

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 high accuracy levels in a DML model does not automatically guarantee threshold consistency. In fact, our investigation reveals a Pareto frontier in the high-accuracy regime, where existing methods to improve accuracy often lead to degradation in threshold consistency. To address this trade-off, we introduce the Threshold-Consistent Margin (TCM) loss, a simple yet effective regularization technique that promotes uniformity in representation structures across classes by selectively penalizing hard sample pairs. Extensive experiments demonstrate TCM's effectiveness in enhancing threshold consistency while preserving accuracy, simplifying the threshold selection process in practical DML settings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑