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 条
  • [1] Modified Large Margin Nearest Neighbor Metric Learning for Regression
    Assi, Kondo C.
    Labelle, Hubert
    Cheriet, Farida
    IEEE SIGNAL PROCESSING LETTERS, 2014, 21 (03) : 292 - 296
  • [2] Convergence of Multi-pass Large Margin Nearest Neighbor Metric Learning
    Goepfert, Christina
    Paassen, Benjamin
    Hammer, Barbara
    ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING - ICANN 2016, PT I, 2016, 9886 : 510 - 517
  • [3] Generative Local Metric Learning for Nearest Neighbor Classification
    Noh, Yung-Kyun
    Zhang, Byoung-Tak
    Lee, Daniel D.
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2018, 40 (01) : 106 - 118
  • [4] Regularized Large Margin Distance Metric Learning
    Li, Ya
    Tian, Xinmei
    Tao, Dacheng
    2016 IEEE 16TH INTERNATIONAL CONFERENCE ON DATA MINING (ICDM), 2016, : 1015 - 1022
  • [5] Scalable Large-Margin Mahalanobis Distance Metric Learning
    Shen, Chunhua
    Kim, Junae
    Wang, Lei
    IEEE TRANSACTIONS ON NEURAL NETWORKS, 2010, 21 (09): : 1524 - 1530
  • [6] A novel two-level nearest neighbor classification algorithm using an adaptive distance metric
    Gao, Yunlong
    Pan, Jinyan
    Ji, Guoli
    Yang, Zijiang
    KNOWLEDGE-BASED SYSTEMS, 2012, 26 : 103 - 110
  • [7] Metric-Based Learning for Nearest-Neighbor Few-Shot Image Classification
    Lee, Min Jun
    So, Jungmin
    35TH INTERNATIONAL CONFERENCE ON INFORMATION NETWORKING (ICOIN 2021), 2021, : 460 - 464
  • [8] Reinforcement Learning in Video Games Using Nearest Neighbor Interpolation and Metric Learning
    Emigh, Matthew S.
    Kriminger, Evan G.
    Brockmeier, Austin J.
    Principe, Jose C.
    Pardalos, Panos M.
    IEEE TRANSACTIONS ON COMPUTATIONAL INTELLIGENCE AND AI IN GAMES, 2016, 8 (01) : 56 - 66
  • [9] K-Nearest Neighbor Approach for Forecasting Energy Demands Based on Metric Learning
    Fujimoto, Yu
    Sugiura, Taiki
    Murata, Noboru
    INTERNATIONAL WORK-CONFERENCE ON TIME SERIES (ITISE 2014), 2014, : 1127 - 1137
  • [10] ACCELEROMETER BASED GESTURE RECOGNITION SYSTEM USING DISTANCE METRIC LEARNING FOR NEAREST NEIGHBOUR CLASSIFICATION
    Marasovic, Tea
    Papic, Vladan
    2012 IEEE INTERNATIONAL WORKSHOP ON MACHINE LEARNING FOR SIGNAL PROCESSING (MLSP), 2012,