arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2007.12749cs.CVcs.LGstat.ML
收藏

反面例子很难,但很有用

Hard negative examples are hard, but useful

The George Washington University(乔治·华盛顿大学);Saint Louis University(圣路易斯大学)

Hong Xuan, Abby Stylianou, Xiaotong Liu, Robert Pless

摘要:

三重丢失是一种非常常见的远程度量学习方法。来自同一类的图像的表示被优化为在嵌入空间中比来自不同类的图像的表示更紧密地映射在一起。许多关于三重损失的工作都集中在选择最有用的三重图像来考虑,策略是从同一类中选择不相似的例子,或者从不同类中选择相似的例子。以往的研究一致认为,使用\textit{hardest}负例进行优化会导致不良的训练行为。这是一个问题--这些最难的否定实际上是距离度量无法捕获语义相似性的情况。在本文中,我们描述了三元组的空间,并推导出为什么硬否定使三元组丢失训练失败。我们提供了一个简单的修复损失函数,并表明,有了这个修复,优化与硬负的例子变得可行。这导致了更普遍的功能,图像检索结果优于最先进的数据集具有高的类内方差。

英文摘要:

Triplet loss is an extremely common approach to distance metric learning. Representations of images from the same class are optimized to be mapped closer together in an embedding space than representations of images from different classes. Much work on triplet losses focuses on selecting the most useful triplets of images to consider, with strategies that select dissimilar examples from the same class or similar examples from different classes. The consensus of previous research is that optimizing with the \textit{hardest} negative examples leads to bad training behavior. That's a problem -- these hardest negatives are literally the cases where the distance metric fails to capture semantic similarity. In this paper, we characterize the space of triplets and derive why hard negatives make triplet loss training fail. We offer a simple fix to the loss function and show that, with this fix, optimizing with hard negative examples becomes feasible. This leads to more generalizable features, and image retrieval results that outperform state of the art for datasets with high intra-class variance.

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

↑