arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.15523cs.CV
收藏

通过困难负样本采样理解双曲度量学习

Understanding Hyperbolic Metric Learning through Hard Negative Sampling

Worcester Polytechnic Institute(伍斯特理工学院);Tohoku University(东北大学)

Yun Yue, Fangzhou Lin, Guanyi Mou, Ziming Zhang

AI总结:

本文研究双曲空间在度量学习中的作用,通过混合欧几里得与双曲损失的 Vision Transformers 基准测试和理论分析,揭示双曲度量学习与困难负样本采样的密切关系。

摘要:

近年来,将双曲几何方法融入计算机视觉的趋势日益增长。虽然这些方法利用双曲距离测量在各种度量学习任务上取得了最先进的性能,但支撑这种优越性能的底层理论分析仍未得到充分挖掘。在本研究中,我们考察了将双曲空间融入度量学习的效果,特别是在使用对比损失进行训练时。我们发现现有文献中缺乏对欧几里得空间与双曲空间在对比损失中温度效应方面的全面比较。为填补这一空白,我们进行了广泛调查,以基准测试 Vision Transformers (ViTs) 在使用混合目标函数(结合来自欧几里得空间和双曲空间的损失)时的结果。此外,我们对所观察到的性能提升进行了理论分析。我们还揭示,双曲度量学习与困难负样本采样高度相关,这为未来工作提供了见解。这项工作将为理解双曲图像嵌入提供有价值的数据点和经验。为了进一步阐明问题解决方式并鼓励对我们的方法进行更深入的研究,我们的代码已在线公开(https://github.com/YunYunY/HypMix)。

英文摘要:

In recent years, there has been a growing trend of incorporating hyperbolic geometry methods into computer vision. While these methods have achieved state-of-the-art performance on various metric learning tasks using hyperbolic distance measurements, the underlying theoretical analysis supporting this superior performance remains under-exploited. In this study, we investigate the effects of integrating hyperbolic space into metric learning, particularly when training with contrastive loss. We identify a need for a comprehensive comparison between Euclidean and hyperbolic spaces regarding the temperature effect in the contrastive loss within the existing literature. To address this gap, we conduct an extensive investigation to benchmark the results of Vision Transformers (ViTs) using a hybrid objective function that combines loss from Euclidean and hyperbolic spaces. Additionally, we provide a theoretical analysis of the observed performance improvement. We also reveal that hyperbolic metric learning is highly related to hard negative sampling, providing insights for future work. This work will provide valuable data points and experience in understanding hyperbolic image embeddings. To shed more light on problem-solving and encourage further investigation into our approach, our code is available online (https://github.com/YunYunY/HypMix).

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

↑