Towards Improved and Interpretable Deep Metric Learning via Attentive Grouping
Not on the map. Why?
Abstract (arXiv)
Grouping has been commonly used in deep metric learning for computing diverse features. However, current methods are prone to overfitting and lack interpretability. In this work, we propose an improved and interpretable grouping method to be integrated flexibly with any metric learning framework. Our method is based on the attention mechanism with a learnable query for each group. The query is fully trainable and can capture group-specific information when combined with the diversity loss. An appealing property of our method is that it naturally lends itself interpretability. The attention scores between the learnable query and each spatial position can be interpreted as the importance of that position. We formally show that our proposed grouping method is invariant to spatial permutations of features. When used as a module in convolutional neural networks, our method leads to translational invariance. We conduct comprehensive experiments to evaluate our method. Our quantitative results indicate that the proposed method outperforms prior methods consistently and significantly across different datasets, evaluation metrics, base models, and loss functions. For the first time to the best of our knowledge, our interpretation results clearly demonstrate that the proposed method enables the learning of distinct and diverse features across groups. The code is available on https://github.com/XinyiXuXD/DGML-master.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 17 Nov 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 1; 2024: 0; 2025: 1.
5 papers.
- 2025A Comprehensive Survey on Self-Interpretable Neural Networkscited by 18
- 2022MIXRTs: Toward Interpretable Multi-Agent Reinforcement Learning via Mixing Recurrent Soft Decision Treescited by 10
- 2021Group Contrastive Self-Supervised Learning on Graphscited by 5
- 2022Boosting Factorization Machines via Saliency-Guided Mixupcited by 3
- 2023GenKL: An Iterative Framework for Resolving Label Ambiguity and Label Non-conformity in Web Images Via a New Generalized KL Divergencecited by 3
- 2025A Comprehensive Survey on Self-Interpretable Neural Networks26 Jan 2025
- 2023GenKL: An Iterative Framework for Resolving Label Ambiguity and Label Non-conformity in Web Images Via a New Generalized KL Divergence19 Jul 2023
- 2022MIXRTs: Toward Interpretable Multi-Agent Reinforcement Learning via Mixing Recurrent Soft Decision Trees15 Sep 2022
- 2022Boosting Factorization Machines via Saliency-Guided Mixup17 Jun 2022
- 2021Group Contrastive Self-Supervised Learning on Graphs20 Jul 2021