Towards Improved and Interpretable Deep Metric Learning via Attentive Grouping
- 18 February 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Pattern Analysis and Machine Intelligence
- Vol. 45 (1) , 1189-1200
Abstract
Grouping has been commonly used in deep metric learning for computing diverse features. To improve the performance and interpretability, we propose an improved and interpretable grouping method to be integrated flexibly with any metric learning framework. Specifically, 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 diverse and stable semantic features across groups.Keywords
All Related Versions
This publication has 40 references indexed in Scilit:
- Hierarchical Attention Networks for Document Classification2016
- FaceNet: A unified embedding for face recognition and clustering2015
- Going deeper with convolutions2015
- Deep Metric Learning for Person Re-identification2014
- 3D Object Representations for Fine-Grained Categorization2013
- 3D Convolutional Neural Networks for Human Action RecognitionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2012
- Product Quantization for Nearest Neighbor SearchIEEE Transactions on Pattern Analysis and Machine Intelligence, 2010
- Tensor Decompositions and ApplicationsSIAM Review, 2009
- Learning a Similarity Metric Discriminatively, with Application to Face Verification2005
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998