mlsanityData to 7 Oct 2026

On Background Bias in Deep Metric Learning

arXiv 2210.01615 ↗First posted 4 Oct 2022cs.CV cs.IRcited by 1

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 18 of its 32 references that are in the map. First posted on arXiv 4 Oct 2022.

Builds on

18 of 32 references.

References · 18

  1. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  2. 2017SphereFace: Deep Hypersphere Embedding for Face Recognitioncited by 733
  3. 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
  4. 2020U2-Net: Going Deeper with Nested U-Structure for Salient Object Detectioncited by 410
  5. 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 379
  6. 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
  7. 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 359
  8. 2020The Pitfalls of Simplicity Bias in Neural Networkscited by 349
  9. 2020Noise or Signal: The Role of Image Backgrounds in Object Recognitioncited by 342
  10. 2020A Metric Learning Reality Checkcited by 317
  11. 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
  12. 2017Right for the Right Reasons: Training Differentiable Models by Constraining their Explanationscited by 293
6 more
  1. 2017NormFace: L2 Hypersphere Embedding for Face Verificationcited by 237
  2. 2022Agree to Disagree: Diversity through Disagreement for Better Transferabilitycited by 69
  3. 2022Optimizing Relevance Maps of Vision Transformers Improves Robustnesscited by 41
  4. 2022Understanding Rare Spurious Correlations in Neural Networkscited by 27
  5. 2022Fighting Fire with Fire: Avoiding DNN Shortcuts through Primingcited by 15
  6. 2022Do Different Deep Metric Learning Losses Lead to Similar Learned Features?cited by 6

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.