Deep Metric Learning
Deep metric learning(DML) aims to find an feature embedding space for the images such that images of the same category are closer to each other than images of any other category. As a standard practice in DML, the distance metric used is Euclidean distance and the training pipeline used is to pick N classes and K examples from each the dataset and then mine informative triplets from the minibatch itself. A loss such as triplet loss is used to optimize over the feature space.
Architectures
- DenseNets - Huang, Gao, et al. “Densely connected convolutional networks.” Proceedings of the IEEE conference on computer vision and pattern recognition. 2017.
- EfficientNets - Tan, Mingxing, and Quoc Le. “EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks.” International Conference on Machine Learning. 2019.
- InceptionV3 - Szegedy, Christian, et al. “Rethinking the inception architecture for computer vision.” Proceedings of the IEEE conference on computer vision and pattern recognition. 2016.
- ResNets - He, Kaiming, et al. “Deep residual learning for image recognition.” Proceedings of the IEEE conference on computer vision and pattern recognition. 2016.
- MobileNets - Sandler, Mark, et al. “Mobilenetv2: Inverted residuals and linear bottlenecks.” Proceedings of the IEEE conference on computer vision and pattern recognition. 2018.
Optimization
- Adam - Kingma, Diederik P., and Jimmy Ba. “Adam: A method for stochastic optimization.” arXiv preprint arXiv:1412.6980 (2014).
- Stochatic Weighted Average - Izmailov, Pavel, et al. “Averaging weights leads to wider optima and better generalization.” 34th Conference on Uncertainty in Artificial Intelligence 2018, UAI 2018. Association For Uncertainty in Artificial Intelligence (AUAI), 2018.
- Cyclic Learning Rates - Smith, Leslie N. “Cyclical learning rates for training neural networks.” 2017 IEEE Winter Conference on Applications of Computer Vision (WACV). IEEE, 2017.
Feature Augmentation
- Batch Feature Erasing - Dai, Zuozhuo, et al. “Batch DropBlock network for person re-identification and beyond.” Proceedings of the IEEE International Conference on Computer Vision. 2019.
- HORDE - Jacob, Pierre, et al. “Metric learning with horde: High-order regularizer for deep embeddings.” Proceedings of the IEEE International Conference on Computer Vision. 2019.
- Combination of Global Descriptors - Jun, HeeJae, et al. “Combination of multiple global descriptors for image retrieval.” arXiv preprint arXiv:1903.10663 (2019).
- Dividing and Conquer - Sanakoyeu, Artsiom, et al. “Divide and conquer the embedding space for metric learning.” Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2019
Basic Loss Functions for Metric Learning
- Batch Triplet Loss - Hermans, Alexander, Lucas Beyer, and Bastian Leibe. “In defense of the triplet loss for person re-identification.” arXiv preprint arXiv:1703.07737 (2017).
- MultiSimilarity Loss - Wang, Xun, et al. “Multi-similarity loss with general pair weighting for deep metric learning.” Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2019.
- Group Loss - Elezi, Ismail, et al. “The Group Loss for Deep Metric Learning.” arXiv preprint arXiv:1912.00385 (2019).
Evaluation Metrics
- Evaluation Benchmark Reality Check - Musgrave, Kevin, Serge Belongie, and Ser-Nam Lim. “A metric learning reality check.” arXiv preprint arXiv:2003.08505 (2020).
Extra:
- Student Teacher Networks for Metric Learning - Yu, Lu, et al. “Learning metrics from teachers: Compact networks for image embedding.” Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2019.
Libraries
- Pytorch Metric Learning:https://github.com/KevinMusgrave/pytorch-metric-learning