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

双曲线视觉Transformer:结合度量学习的改进

Hyperbolic Vision Transformers: Combining Improvements in Metric Learning

University of Trento(特伦托大学);Skolkovo Institute of Science and Technology(斯科尔科沃科技学院);Skoltech(斯科尔科沃科技学院);Yandex(杨德克斯);AIRI(人工智能研究所)

Aleksandr Ermolov, Leyla Mirvakhabova, Valentin Khrulkov, Nicu Sebe, Ivan Oseledets

摘要:

度量学习旨在学习一个高度区分的模型,鼓励相似类的嵌入在所选度量中接近,而不相似的嵌入则被推开。常见的方法是使用编码器提取嵌入,并使用基于距离的损失函数来匹配表示-通常使用欧几里得距离。对学习双曲数据嵌入的新兴趣表明,双曲几何对自然数据是有益的。在这条工作路线之后,我们提出了一个新的基于双曲线的度量学习模型。我们的方法的核心是一个视觉Transformer,其输出嵌入映射到双曲空间。这些嵌入直接优化使用修改的成对交叉熵损失。我们在四个数据集上使用六种不同的配方评估了所提出的模型,以实现新的最先进的性能。源代码可在https://github.com/htdt/hyp_metric上获得。

英文摘要:

Metric learning aims to learn a highly discriminative model encouraging the embeddings of similar classes to be close in the chosen metrics and pushed apart for dissimilar ones. The common recipe is to use an encoder to extract embeddings and a distance-based loss function to match the representations -- usually, the Euclidean distance is utilized. An emerging interest in learning hyperbolic data embeddings suggests that hyperbolic geometry can be beneficial for natural data. Following this line of work, we propose a new hyperbolic-based model for metric learning. At the core of our method is a vision transformer with output embeddings mapped to hyperbolic space. These embeddings are directly optimized using modified pairwise cross-entropy loss. We evaluate the proposed model with six different formulations on four datasets achieving the new state-of-the-art performance. The source code is available at https://github.com/htdt/hyp_metric.

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

↑