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

深度度量学习中的背景偏差

On Background Bias in Deep Metric Learning

University of Würzburg(维尔茨堡大学)

Konstantin Kobs, Andreas Hotho

摘要:

深度度量学习训练神经网络将输入图像映射到低维嵌入空间,使得相似图像比不相似图像更接近。当用于项目检索时,使用训练的模型嵌入查询图像,并且来自存储其相应嵌入的数据库的最接近的项目被返回作为查询的最相似的项目。特别是在产品检索中,用户通过拍摄产品的照片来搜索特定产品,图像背景通常并不重要,因此不应影响嵌入过程。理想情况下,检索过程总是返回拍摄对象的拟合项,而不管照片拍摄的环境如何。本文利用五种常见的损失函数和三种常见的数据集,分析了图像背景对深度度量学习模型的影响。我们发现深度度量学习网络容易出现所谓的背景偏差,这可能导致在推理过程中改变图像背景时检索性能严重下降。我们还表明,在训练过程中用随机背景图像替换图像的背景可以解决这个问题。由于我们使用自动背景去除方法来进行背景替换,因此在推理时间保持不变的情况下,不需要额外的手动标记工作和模型更改。定性和定量分析,其中我们引入了一个新的评价指标,证实了模型训练与替换背景出席更多的图像中的主要对象,有利于项目检索系统。

英文摘要:

Deep Metric Learning trains a neural network to map input images to a lower-dimensional embedding space such that similar images are closer together than dissimilar images. When used for item retrieval, a query image is embedded using the trained model and the closest items from a database storing their respective embeddings are returned as the most similar items for the query. Especially in product retrieval, where a user searches for a certain product by taking a photo of it, the image background is usually not important and thus should not influence the embedding process. Ideally, the retrieval process always returns fitting items for the photographed object, regardless of the environment the photo was taken in. In this paper, we analyze the influence of the image background on Deep Metric Learning models by utilizing five common loss functions and three common datasets. We find that Deep Metric Learning networks are prone to so-called background bias, which can lead to a severe decrease in retrieval performance when changing the image background during inference. We also show that replacing the background of images during training with random background images alleviates this issue. Since we use an automatic background removal method to do this background replacement, no additional manual labeling work and model changes are required while inference time stays the same. Qualitative and quantitative analyses, for which we introduce a new evaluation metric, confirm that models trained with replaced backgrounds attend more to the main object in the image, benefitting item retrieval systems.

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

↑