Towards Interpretable Deep Metric Learning with Structural Matching
Wenliang Zhao, Yongming Rao, Ziyi Wang, Jiwen Lu, Jie Zhou
Abstract
How do the neural networks distinguish two images? It is of critical importance to understand the matching mechanism of deep models for developing reliable intelligent systems for many risky visual applications such as surveillance and access control. However, most existing deep metric learning methods match the images by comparing feature vectors, which ignores the spatial structure of images and thus lacks interpretability. In this paper, we present a deep interpretable metric learning (DIML) method for more transparent embedding learning. Unlike conventional metric learning methods based on feature vector comparison, we propose a structural matching strategy that explicitly aligns the spatial embeddings by computing an optimal matching flow between feature maps of the two images. Our method enables deep models to learn metrics in a more human-friendly way, where the similarity of two images can be decomposed to several part-wise similarities and their contributions to the overall similarity. Our method is model-agnostic, which can be applied to off-the-shelf backbone networks and metric learning methods. We evaluate our method on three major benchmarks of deep metric learning including CUB200-2011, Cars196, and Stanford Online Products, and achieve substantial improvements over popular metric learning methods with better interpretability. Code is available at https://github.com/wl-zhao/DIML.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers16
- TopicFM: Robust and Interpretable Topic-Assisted Feature MatchingKhang Truong Giang, Soohwan Song, Sungho JoAAAI 2023 · 73 citations
- Visual correspondence-based explanations improve AI robustness and human-AI team accuracyMohammad Reza Taesiri, Giang Nguyen, Anh NguyenNeurIPS 2022 · 57 citations
- DeepFace-EMD: Re-ranking Using Patch-wise Earth Mover's Distance Improves Out-Of-Distribution Face IdentificationHai Phan, Anh NguyenCVPR 2022 · 23 citations
- PLOT: Prompt Learning with Optimal Transport for Vision-Language ModelsGuangyi Chen, Weiran Yao, Xiangchen Song, Xinyue Li et al.ICLR 2023 · 22 citations
- Attributable Visual Similarity LearningBorui Zhang, Wenzhao Zheng, Jie Zhou, Jiwen LuCVPR 2022 · 14 citations
Builds on6
- Revisiting Training Strategies and Generalization Performance in Deep Metric LearningKarsten Roth, Timo Milbich, Samarth Sinha, Prateek Gupta et al.ICML 2020 · 187 citations
- Metric Learning With HORDE: High-Order Regularizer for Deep EmbeddingsPierre Jacob, David Picard, Aymeric Histace, Edouard KleinICCV 2019 · 64 citations
- Hyperbolic Image EmbeddingsValentin Khrulkov, Leyla Mirvakhabova, Evgeniya Ustinova, Ivan V. Oseledets et al.CVPR 2020
- PADS: Policy-Adapted Sampling for Visual Similarity LearningKarsten Roth, Timo Milbich, Björn OmmerCVPR 2020
- Transformer Interpretability Beyond Attention VisualizationHila Chefer, Shir Gur, Lior WolfCVPR 2021
Related papers
- Deep Relational Metric LearningWenzhao Zheng, Borui Zhang, Jiwen Lu, Jie ZhouICCV 2021 · 53 citations
- Deep Metric Learning with Graph ConsistencyBinghui Chen, Pengyu Li, Zhaoyi Yan, Biao Wang et al.AAAI 2021 · 7 citations
- Integrating Language Guidance into Vision-based Deep Metric LearningKarsten Roth, Oriol Vinyals, Zeynep AkataCVPR 2022 · 1 citation
- Deep Compositional Metric LearningWenzhao Zheng, Chengkun Wang, Jiwen Lu, Jie ZhouCVPR 2021
- Cross-Image-Attention for Conditional Embeddings in Deep Metric LearningDmytro Kotovenko, Pingchuan Ma, Timo Milbich, Björn OmmerCVPR 2023
