arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.12432cs.CVcs.AI
收藏

关于深度度量学习的三件事

Three Things to Know about Deep Metric Learning

Czech Technical University in Prague(布拉格捷克技术大学)

Yash Patel, Giorgos Tolias, Jiri Matas

AI总结:

本文研究开放集图像检索中的深度度量学习,提出可微替代损失、高效mixup正则化及基础模型初始化,三者协同使大型模型近乎解决流行基准。

摘要:

本文针对开放集图像检索中的监督深度度量学习问题,聚焦于三个关键方面:损失函数、mixup正则化以及模型初始化。在深度度量学习中,通过梯度下降优化检索评估指标recall@k是理想目标,但由于其不可微的性质而具有挑战性。为克服这一难题,我们提出了一种可微的替代损失函数,该函数在大批量上计算,几乎等同于整个训练集。这一计算密集型过程通过一种绕过GPU内存限制的实现变得可行。此外,我们引入了一种高效的mixup正则化技术,该技术作用于成对标量相似度,有效进一步增大了批量大小。训练过程还通过使用在大规模数据集上预训练的基础模型来初始化视觉编码器而得到增强。通过对这些组件的系统研究,我们证明它们的协同作用能使大型模型近乎解决流行的基准测试。

英文摘要:

This paper addresses supervised deep metric learning for open-set image retrieval, focusing on three key aspects: the loss function, mixup regularization, and model initialization. In deep metric learning, optimizing the retrieval evaluation metric, recall@k, via gradient descent is desirable but challenging due to its non-differentiable nature. To overcome this, we propose a differentiable surrogate loss that is computed on large batches, nearly equivalent to the entire training set. This computationally intensive process is made feasible through an implementation that bypasses the GPU memory limitations. Additionally, we introduce an efficient mixup regularization technique that operates on pairwise scalar similarities, effectively increasing the batch size even further. The training process is further enhanced by initializing the vision encoder using foundational models, which are pre-trained on large-scale datasets. Through a systematic study of these components, we demonstrate that their synergy enables large models to nearly solve popular benchmarks.

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

↑