Deep Metric Learning for K Nearest Neighbor Classification

被引:12
|
作者
Liao, Tingting [1 ,2 ]
Lei, Zhen [3 ]
Zhu, Tianqing [4 ]
Zeng, Shan [5 ]
Li, Yaqin [5 ]
Yuan, Cao [5 ]
机构
[1] Chinese Acad Sci, Inst Automat, Ctr Biometr & Secur Res CBSR, Natl Lab Pattern Recognit NLPR,CASIA, Beijing 100190, Peoples R China
[2] Univ Chinese Acad Sci UCAS, Sch Artificial Intelligence, Beijing 100049, Peoples R China
[3] Chinese Acad Sci, Hong Kong Inst Sci & Innovat, Ctr Artificial Intelligence & Robot, Hongkong 999077, Peoples R China
[4] Univ Technol Sydney, Fac Engn & Informat Technol, Ultimo, NSW 2007, Australia
[5] Wuhan Polytech Univ, Coll Math, Comp Sci Dept, Wuhan 430023, Peoples R China
关键词
K nearest neighbor; distance metric learning; prototype reduction; PROTOTYPE REDUCTION; DIMENSIONALITY; EIGENFACES;
D O I
10.1109/TKDE.2021.3090275
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
K Nearest Neighbor (kNN) has gained popularity in machine learning due to its simplicity and good performance. However, kNN faces two problems with classification tasks. The first is that an appropriate distance measurement is required to compute distances between test sample and training samples. The other is the highly computational complexity due to the requirement of searching the nearest neighbors in the whole training data. In order to mitigate these two problems, we propose a novel method named KCNN to enhance the performance of kNN. KCNN uses convolutional neural networks (CNN) to learn a suitable distance metric as well as prototype reduction to learn a reduced set of prototypes which can represent the original set. It has several superiorities compared with related methods. The combination of CNN and kNN empowers it to extract discriminative hierarchical features with which kNN can easily classify. KCNN learns spatial information on an image instead of considering it as a vector to learn distance metric. Moreover, KCNN simultaneously learns a reduced set of prototypes, which help improve classification efficiency and avoid noisy samples of the massive training set. The proposed method has a better robustness and convergence than CNN, especially when projecting input data into a rather low-dimension space.
引用
收藏
页码:264 / 275
页数:12
相关论文
共 50 条
  • [21] Improved k-nearest neighbor classification
    Wu, YQ
    Ianakiev, K
    Govindaraju, V
    PATTERN RECOGNITION, 2002, 35 (10) : 2311 - 2318
  • [22] 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
  • [23] Analysis of the k-nearest neighbor classification
    Li, Jing
    Cheng, Ming
    INFORMATION SCIENCE AND MANAGEMENT ENGINEERING, VOLS 1-3, 2014, 46 : 1911 - 1917
  • [24] On optimum choice of k in nearest neighbor classification
    Ghosh, Anil K.
    COMPUTATIONAL STATISTICS & DATA ANALYSIS, 2006, 50 (11) : 3113 - 3123
  • [25] DEEP METRIC LEARNING AND IMAGE CLASSIFICATION WITH NEAREST NEIGHBOUR GAUSSIAN KERNELS
    Meyer, Benjamin J.
    Harwood, Ben
    Drummond, Tom
    2018 25TH IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2018, : 151 - 155
  • [26] Active Nearest-Neighbor Learning in Metric Spaces
    Kontorovich, Aryeh
    Sabato, Sivan
    Urner, Ruth
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 29 (NIPS 2016), 2016, 29
  • [27] Active Nearest-Neighbor Learning in Metric Spaces
    Kontorovich, Aryeh
    Sabato, Sivan
    Urner, Ruth
    JOURNAL OF MACHINE LEARNING RESEARCH, 2018, 18
  • [28] Simultaneous selection of features and metric for optimal nearest neighbor classification
    Johannsen, DA
    Wegman, EJ
    Solka, JL
    Priebe, CE
    COMMUNICATIONS IN STATISTICS-THEORY AND METHODS, 2004, 33 (09) : 2137 - 2157
  • [29] A k-Nearest Neighbor Wind Turbine Fault Detection Method Based on Deep Metric Learning and Domain Feature Discrimination
    Dai, Ziheng
    Qian, Xiaoyi
    Kang, Changsheng
    Wang, Lixin
    Guan, Shuai
    Zhao, Yi
    Jiang, Xingyu
    IEEE ACCESS, 2024, 12 : 181666 - 181678
  • [30] Motorcycle Apprehension using Deep Learning and K-Nearest Neighbor Algorithm
    Garcia, Maria Rosario T.
    Bandala, Argel A.
    Dadios, Elmer P.
    2021 6TH INTERNATIONAL CONFERENCE FOR CONVERGENCE IN TECHNOLOGY (I2CT), 2021,