Towards Improved and Interpretable Deep Metric Learning via Attentive Grouping
Xinyi Xu, Zhengyang Wang, Cheng Deng, Hao Yuan, and Shuiwang Ji

TL;DR
This paper introduces an attention-based grouping method for deep metric learning that enhances interpretability, reduces overfitting, and improves performance across various datasets and models.
Contribution
It proposes a flexible, interpretable grouping technique using learnable queries and attention, invariant to spatial permutations, and applicable to any metric learning framework.
Findings
Outperforms prior methods consistently across datasets.
Enables learning of diverse, distinct features.
Provides interpretability through attention scores.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsHuman Pose and Action Recognition · Face recognition and analysis · Generative Adversarial Networks and Image Synthesis
