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

重新思考在基于边缘损失的度量学习中防止类崩溃

Rethinking preventing class-collapsing in metric learning with margin-based losses

Nexar;UC Berkeley(加州大学伯克利分校);UC San Diego(加州大学圣迭戈分校)

Elad Levi, Tete Xiao, Xiaolong Wang, Trevor Darrell

摘要:

度量学习寻求视觉上相似的实例接近而不相似的实例分开的感知嵌入,但是当类内样本的分布不同并且存在不同的子集群时,学习的表示可能是次优的。虽然理论上有最优假设,但基于保证金的损失(如三重损失和保证金损失)有多种解决方案。我们从理论上证明和经验表明,在合理的噪声假设下,基于边缘的损失往往会将具有各种模式的类的所有样本投影到嵌入空间中的一个点上,从而导致类崩溃,通常会使空间分类或检索不佳。为了解决这个问题,我们提出了一个简单的修改嵌入损失,使每个样本选择其最近的同类对应的一批元组中的积极元素。这允许在每个类中存在多个子集群。适应可以集成到广泛的度量学习损失。所提出的采样方法在各种细粒度图像检索数据集上表现出明显的优势,而在各种现有的损失上;定性检索结果表明,具有相似视觉模式的样本在嵌入空间中确实更接近。

英文摘要:

Metric learning seeks perceptual embeddings where visually similar instances are close and dissimilar instances are apart, but learned representations can be sub-optimal when the distribution of intra-class samples is diverse and distinct sub-clusters are present. Although theoretically with optimal assumptions, margin-based losses such as the triplet loss and margin loss have a diverse family of solutions. We theoretically prove and empirically show that under reasonable noise assumptions, margin-based losses tend to project all samples of a class with various modes onto a single point in the embedding space, resulting in a class collapse that usually renders the space ill-sorted for classification or retrieval. To address this problem, we propose a simple modification to the embedding losses such that each sample selects its nearest same-class counterpart in a batch as the positive element in the tuple. This allows for the presence of multiple sub-clusters within each class. The adaptation can be integrated into a wide range of metric learning losses. The proposed sampling method demonstrates clear benefits on various fine-grained image retrieval datasets over a variety of existing losses; qualitative retrieval results show that samples with similar visual patterns are indeed closer in the embedding space.

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

↑