English

Deep Cosine Metric Learning for Person Re-Identification

Computer Vision and Pattern Recognition 2018-12-04 v1 Machine Learning

Abstract

Metric learning aims to construct an embedding where two extracted features corresponding to the same identity are likely to be closer than features from different identities. This paper presents a method for learning such a feature space where the cosine similarity is effectively optimized through a simple re-parametrization of the conventional softmax classification regime. At test time, the final classification layer can be stripped from the network to facilitate nearest neighbor queries on unseen individuals using the cosine similarity metric. This approach presents a simple alternative to direct metric learning objectives such as siamese networks that have required sophisticated pair or triplet sampling strategies in the past. The method is evaluated on two large-scale pedestrian re-identification datasets where competitive results are achieved overall. In particular, we achieve better generalization on the test set compared to a network trained with triplet loss.

Keywords

Cite

@article{arxiv.1812.00442,
  title  = {Deep Cosine Metric Learning for Person Re-Identification},
  author = {Nicolai Wojke and Alex Bewley},
  journal= {arXiv preprint arXiv:1812.00442},
  year   = {2018}
}
R2 v1 2026-06-23T06:28:29.161Z