Distance Metric Learning for Large Margin Nearest Neighbor Classification

被引:0
|
作者
Weinberger, Kilian Q. [1 ]
Saul, Lawrence K. [2 ]
机构
[1] Yahoo Res, Santa Clara, CA USA
[2] Univ Calif San Diego, Dept Comp Sci & Engn, La Jolla, CA 92093 USA
基金
美国国家科学基金会;
关键词
convex optimization; semi-definite programming; Mahalanobis distance; metric learning; multi-class classification; support vector machines;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The accuracy of k-nearest neighbor (kNN) classification depends significantly on the metric used to compute distances between different examples. In this paper, we show how to learn a Mahalanobis distance metric for kNN classification from labeled examples. The Mahalanobis metric can equivalently be viewed as a global linear transformation of the input space that precedes kNN classification using Euclidean distances. In our approach, the metric is trained with the goal that the k-nearest neighbors always belong to the same class while examples from different classes are separated by a large margin. As in support vector machines (SVMs), the margin criterion leads to a convex optimization based on the hinge loss. Unlike learning in SVMs, however, our approach requires no modification or extension for problems in multiway (as opposed to binary) classification. In our framework, the Mahalanobis distance metric is obtained as the solution to a semidefinite program. On several data sets of varying size and difficulty, we find that metrics trained in this way lead to significant improvements in kNN classification. Sometimes these results can be further improved by clustering the training examples and learning an individual metric within each cluster. We show how to learn and combine these local metrics in a globally integrated manner.
引用
收藏
页码:207 / 244
页数:38
相关论文
共 50 条
  • [21] A multi-metric small sphere large margin method for classification
    Yifeng Zhao
    Liming Yang
    Pattern Analysis and Applications, 2023, 26 : 1615 - 1629
  • [22] A multi-metric small sphere large margin method for classification
    Zhao, Yifeng
    Yang, Liming
    PATTERN ANALYSIS AND APPLICATIONS, 2023, 26 (04) : 1615 - 1629
  • [23] Distance metric learning by minimal distance maximization
    Yu, Yaoliang
    Jiang, Jiayan
    Zhang, Liming
    PATTERN RECOGNITION, 2011, 44 (03) : 639 - 649
  • [24] Adaptive Margin Nearest Neighbor for Person Re-Identification
    Yao, Lei
    Chen, Jun
    Yu, Yi
    Wang, Zheng
    Huang, Wenxin
    Ye, Mang
    Hu, Ruimin
    ADVANCES IN MULTIMEDIA INFORMATION PROCESSING - PCM 2015, PT I, 2015, 9314 : 75 - 84
  • [25] Distance metric learning for ordinal classification based on triplet constraints
    Bac Nguyen
    Morell, Carlos
    De Baets, Bernard
    KNOWLEDGE-BASED SYSTEMS, 2018, 142 : 17 - 28
  • [26] Ensembles of Large Margin Nearest Neighbour with Grouped Lateral Patch Arrangement for Face Classification
    Zaman, Fadhlan H. K.
    Yassin, Ihsan M.
    Shafie, Amir A.
    2016 IEEE INTERNATIONAL SYMPOSIUM ON ROBOTICS AND INTELLIGENT SENSORS (IRIS), 2016, : 6 - 12
  • [27] Nearest neighbor classification of categorical data by attributes weighting
    Chen, Lifei
    Guo, Gongde
    EXPERT SYSTEMS WITH APPLICATIONS, 2015, 42 (06) : 3142 - 3149
  • [28] LAM3L: Locally adaptive maximum margin metric learning for visual data classification
    Dong, Yanni
    Du, Bo
    Zhang, Lefei
    Zhang, Liangpei
    Tao, Dacheng
    NEUROCOMPUTING, 2017, 235 : 1 - 9
  • [29] Multi-granularity distance metric learning via neighborhood granule margin maximization
    Zhu, Pengfei
    Hu, Qinghua
    Zuo, Wangmeng
    Yang, Meng
    INFORMATION SCIENCES, 2014, 282 : 321 - 331
  • [30] Comparative evaluation of batch and online distance metric learning approaches based on margin maximization
    Perez-Suay, Adrian
    Ferri, Francesc J.
    Arevalillo-Herraez, Miguel
    Albert, Jesus V.
    2013 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC 2013), 2013, : 3511 - 3515