Scalable Large-Margin Mahalanobis Distance Metric Learning

被引:56
作者
Shen, Chunhua [1 ,2 ]
Kim, Junae [2 ]
Wang, Lei [2 ]
机构
[1] NICTA, Canberra Res Lab, Canberra, ACT 2601, Australia
[2] Australian Natl Univ, Canberra, ACT 0200, Australia
来源
IEEE TRANSACTIONS ON NEURAL NETWORKS | 2010年 / 21卷 / 09期
关键词
Distance metric learning; large-margin nearest neighbor; Mahalanobis distance; semidefinite optimization; MATRIX;
D O I
10.1109/TNN.2010.2052630
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
For many machine learning algorithms such as k-nearest neighbor (k-NN) classifiers and k-means clustering, often their success heavily depends on the metric used to calculate distances between different data points. An effective solution for defining such a metric is to learn it from a set of labeled training samples. In this work, we propose a fast and scalable algorithm to learn a Mahalanobis distance metric. The Mahalanobis metric can be viewed as the Euclidean distance metric on the input data that have been linearly transformed. By employing the principle of margin maximization to achieve better generalization performances, this algorithm formulates the metric learning as a convex optimization problem and a positive semidefinite (p.s.d.) matrix is the unknown variable. Based on an important theorem that a p.s.d. trace-one matrix can always be represented as a convex combination of multiple rank-one matrices, our algorithm accommodates any differentiable loss function and solves the resulting optimization problem using a specialized gradient descent procedure. During the course of optimization, the proposed algorithm maintains the positive semidefiniteness of the matrix variable that is essential for a Mahalanobis metric. Compared with conventional methods like standard interior-point algorithms [2] or the special solver used in large margin nearest neighbor [24], our algorithm is much more efficient and has a better performance in scalability. Experiments on benchmark data sets suggest that, compared with state-of-the-art metric learning algorithms, our algorithm can achieve a comparable classification accuracy with reduced computational complexity.
引用
收藏
页码:1524 / 1530
页数:7
相关论文
共 27 条
  • [1] [Anonymous], 1999, SPRINGER SCI
  • [2] [Anonymous], 1998, UCI REPOSITORY MACHI
  • [3] [Anonymous], 1998, Solution of large-scale eigenvalue problems with implicitly restarted Arnoldi methods, DOI DOI 10.1137/1.9780898719628
  • [4] CSDP, a C library for semidefinite programming
    Borchers, B
    [J]. OPTIMIZATION METHODS & SOFTWARE, 1999, 11-2 (1-4) : 613 - 623
  • [5] Boyd S., 2004, CONVEX OPTIMIZATION, VFirst, DOI DOI 10.1017/CBO9780511804441
  • [6] CHANG C, 2001, LIBSVM LIB SUPPORT
  • [7] NEAREST NEIGHBOR PATTERN CLASSIFICATION
    COVER, TM
    HART, PE
    [J]. IEEE TRANSACTIONS ON INFORMATION THEORY, 1967, 13 (01) : 21 - +
  • [8] Davis J.V., 2007, P 24 INT C MACH LEAR, P209, DOI DOI 10.1145/1273496.1273523
  • [9] Fei-Fei L, 2004, P IEEE C COMP VIS PA, P178
  • [10] Goldberger J., 2005, ADV NEURAL INFORM PR, P513