Acceleration of Large Margin Metric Learning for Nearest Neighbor Classification Using Triplet Mining and Stratified Sampling

Parisa Abdolrahim Poorheravi, Benyamin Ghojogh, Vincent Gaudet, Fakhri Karray, Mark Crowley
9/29/2020
cs.LGcs.CVstat.ML

Official code: bghojogh/Large-Margin-Metric-Learning (1 star, MATLAB, MIT, last commit 2020-10-01).

Abstract

Metric learning is one of the techniques in manifold learning with the goal of finding a projection subspace for increasing and decreasing the inter- and intra-class variances, respectively. Some of the metric learning methods are based on triplet learning with anchor-positive-negative triplets.

Show full abstract

Large margin metric learning for nearest neighbor classification is one of the fundamental methods to do this. Recently, Siamese networks have been introduced with the triplet loss. Many triplet mining methods have been developed for Siamese networks; however, these techniques have not been applied on the triplets of large margin metric learning for nearest neighbor classification. In this work, inspired by the mining methods for Siamese networks, we propose several triplet mining techniques for large margin metric learning. Moreover, a hierarchical approach is proposed, for acceleration and scalability of optimization, where triplets are selected by stratified sampling in hierarchical hyper-spheres. We analyze the proposed methods on three publicly available datasets, i.e., Fisher Iris, ORL faces, and MNIST datasets.

View on arXivView PDF

Code Implementations(1)

MIT

The code for large margin metric learning for nearest neighbor classification and its acceleration using triplet mining and stratified sampling

12MATLAB, MSep 17, 20206 years agoMIT
knnmahalanobis-distancemetric-learningsemidefinite-programmingtriplet+1 more

Similar Papers

Cite this paper

@article{poorheravi2020acceleration,
  title  = {Acceleration of Large Margin Metric Learning for Nearest Neighbor Classification Using Triplet Mining and Stratified Sampling},
  author = {Parisa Abdolrahim Poorheravi and Benyamin Ghojogh and Vincent Gaudet and Fakhri Karray and Mark Crowley},
  year   = {2020},
  eprint = {2009.14244},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.14244}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.14244.svg)](https://codeofpaper.com/paper/2009.14244)

Discussion