Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Introspective Deep Metric Learning

About

This paper proposes an introspective deep metric learning (IDML) framework for uncertainty-aware comparisons of images. Conventional deep metric learning methods focus on learning a discriminative embedding to describe the semantic features of images, which ignore the existence of uncertainty in each image resulting from noise or semantic ambiguity. Training without awareness of these uncertainties causes the model to overfit the annotated labels during training and produce unsatisfactory judgments during inference. Motivated by this, we argue that a good similarity model should consider the semantic discrepancies with awareness of the uncertainty to better deal with ambiguous images for more robust training. To achieve this, we propose to represent an image using not only a semantic embedding but also an accompanying uncertainty embedding, which describes the semantic characteristics and ambiguity of an image, respectively. We further propose an introspective similarity metric to make similarity judgments between images considering both their semantic differences and ambiguities. The gradient analysis of the proposed metric shows that it enables the model to learn at an adaptive and slower pace to deal with the uncertainty during training. The proposed IDML framework improves the performance of deep metric learning through uncertainty modeling and attains state-of-the-art results on the widely used CUB-200-2011, Cars196, and Stanford Online Products datasets for image retrieval and clustering. We further provide an in-depth analysis of our framework to demonstrate the effectiveness and reliability of IDML. Code: https://github.com/wzzheng/IDML.

Chengkun Wang, Wenzhao Zheng, Zheng Zhu, Jie Zhou, Jiwen Lu• 2023

Related benchmarks

TaskDatasetResultRank
Image RetrievalCUB-200-2011 (test)
Recall@170.7
251
Image RetrievalCars196 Ext. Real to Watercolor
R@116.31
18
Image RetrievalCUB-200 Ext. Real to Watercolor 2011
R@121.73
18
Image RetrievalCars196 Real to Oil-painting Ext.
R@116.05
18
Image RetrievalCUB-200-2011 Ext. Real to Oil-painting
R@117.83
18
Cross-Domain Image RetrievalDomainNet Real to Infograph
R@133.18
16
Cross-Domain Image RetrievalDomainNet Real to Painting
R@165.85
16
Cross-Domain Image RetrievalDomainNet Real to Clipart
R@161.96
16
Cross-Domain Image RetrievalDomainNet Average across domains
R@150.37
16
Image RetrievalStanford Cars 196 (test)
Recall@190.6
16
Showing 10 of 12 rows

Other info

Follow for update