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.
Improving deep neural network generalization and robustness to background bias via layer-wise relevance propagation optimization
Alma Mater Studiorum - University of Bologna(博洛尼亚大学);Center for Biomolecular Nanotechnologies, Istituto Italiano di Tecnologia(意大利技术研究院生物分子纳米技术中心);School of Medical Sciences, University of Campinas (UNICAMP)(坎皮纳斯大学(UNICAMP)医学院);Istituto Italiano di Tecnologia(意大利技术研究院)
Sum of Group Error Differences: A Critical Examination of Bias Evaluation in Biometric Verification and a Dual-Metric Measure
Information Technologies Institute, CERTH(信息技术研究所(CERTH));Freie Universität Berlin(柏林自由大学);IDnow, Research CoE(IDnow研究中心);Research Institute CODE, Bundeswehr University Munich(慕尼黑联邦国防军大学CODE研究所)
Faster ISNet for Background Bias Mitigation on Deep Neural Networks
Alma Mater Studiorum - University of Bologna(博洛尼亚大学);Center for Biomolecular Nanotechnologies(生物分子纳米技术中心);Istituto Italiano di Tecnologia(意大利技术研究院);Centre Européen de Calcul Atomique et Moléculaire (CECAM)(欧洲原子与分子计算中心);Ecole Polytechnique Fédérale de Lausanne (EPFL)(洛桑联邦理工学院)
T2I-BiasBench: A Multi-Metric Framework for Auditing Demographic and Cultural Bias in Text-to-Image Models
Department of Information Technology, Rajkiya Engineering College Banda(拉贾基亚工程学院班达信息科技系);School of AI and Data Science, Indian Institute of Technology Jodhpur(印度理工学院乔普拉人工智能与数据科学学院)
On Background Bias of Post-Hoc Concept Embeddings in Computer Vision DNNs
University of Lübeck(吕贝克大学);Hochschule Anhalt(安哈尔特应用技术大学);Continental AG(大陆集团);University of Liverpool(利物浦大学);University of Wuppertal(伍珀塔尔大学);Technical University of Munich(慕尼黑工业大学)