深度度量学习的排序列表损失
Ranked List Loss for Deep Metric Learning
摘要:
深度度量学习(DML)的目标是学习可以捕获数据点之间语义相似性和不相似性信息的嵌入。已知在DML中使用的现有的成对或三重损失函数由于随着模型的改进而存在大比例的平凡对或三重而遭受缓慢收敛。为了改善这一点,排名动机的结构化损失最近提出了多个例子,并利用它们之间的结构化信息。它们收敛速度更快,并实现最先进的性能。在这项工作中,我们揭示了现有的排名动机的结构性损失的两个局限性,并提出了一种新的排名列表损失来解决这两个问题。首先,给定一个查询,只有一小部分数据点被纳入建立相似性结构。因此,一些有用的例子被忽略了,结构信息量也较少。为了解决这个问题,我们建议通过利用图库中的所有实例来构建基于集合的相似性结构。学习设置可以被解释为Few-Shot检索:给定一个小批量,每个示例都被迭代地用作查询,其余示例组成要搜索的图库,即,支架设置在Few-Shot设置中。其余的例子被分为一个积极的集合和一个消极的集合。对于每一个小批量,排名列表丢失的学习目标是使查询更接近正集而不是负集。其次,以前的方法旨在将正对尽可能接近嵌入空间。因此,类内数据分布往往会被极度压缩。相比之下,我们建议为每个类学习一个超球体,以保留其内部有用的相似性结构,其功能是正则化。大量的实验证明了我们的建议的优越性,通过与国家的最先进的方法进行比较。
英文摘要:
The objective of deep metric learning (DML) is to learn embeddings that can capture semantic similarity and dissimilarity information among data points. Existing pairwise or tripletwise loss functions used in DML are known to suffer from slow convergence due to a large proportion of trivial pairs or triplets as the model improves. To improve this, ranking-motivated structured losses are proposed recently to incorporate multiple examples and exploit the structured information among them. They converge faster and achieve state-of-the-art performance. In this work, we unveil two limitations of existing ranking-motivated structured losses and propose a novel ranked list loss to solve both of them. First, given a query, only a fraction of data points is incorporated to build the similarity structure. Consequently, some useful examples are ignored and the structure is less informative. To address this, we propose to build a set-based similarity structure by exploiting all instances in the gallery. The learning setting can be interpreted as few-shot retrieval: given a mini-batch, every example is iteratively used as a query, and the rest ones compose the gallery to search, i.e., the support set in few-shot setting. The rest examples are split into a positive set and a negative set. For every mini-batch, the learning objective of ranked list loss is to make the query closer to the positive set than to the negative set by a margin. Second, previous methods aim to pull positive pairs as close as possible in the embedding space. As a result, the intraclass data distribution tends to be extremely compressed. In contrast, we propose to learn a hypersphere for each class in order to preserve useful similarity structure inside it, which functions as regularisation. Extensive experiments demonstrate the superiority of our proposal by comparing with the state-of-the-art methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。