Skip to main content
QUICK REVIEW

[Paper Review] K-Nearest Neighbour and Support Vector Machine Hybrid Classification

Abdul Mueed Hafiz|arXiv (Cornell University)|Jun 28, 2020
Face and Expression RecognitionComputer Science27 references4 citations
TL;DR

This paper proposes a hybrid K-Nearest Neighbour (K-NN) and Support Vector Machine (SVM) classification method that improves accuracy by applying K-NN only to test samples within a proximity threshold, while using SVMs trained on class-specific, nearest training patterns for the remaining samples. The approach achieves superior performance on USPS, MNIST, and Arabic digit datasets compared to state-of-the-art methods.

ABSTRACT

In this paper, a novel K-Nearest Neighbour and Support Vector Machine hybrid classification technique has been proposed that is simple and robust. It is based on the concept of discriminative nearest neighbourhood classification. The technique consists of using K-Nearest Neighbour Classification for test samples satisfying a proximity condition. The patterns which do not pass the proximity condition are separated. This is followed by sifting the training set for a fixed number of patterns for every class which are closest to each separated test pattern respectively, based on the Euclidean distance metric. Subsequently, for every separated test sample, a Support Vector Machine is trained on the sifted training set patterns associated with it, and classification for the test sample is done. The proposed technique has been compared to the state of art in this research area. Three datasets viz. the United States Postal Service (USPS) Handwritten Digit Dataset, MNIST Dataset, and an Arabic numeral dataset, the Modified Arabic Digits Database, MADB, have been used to evaluate the performance of the algorithm. The algorithm generally outperforms the other algorithms with which it has been compared.

Motivation & Objective

  • To address the limitations of standalone K-NN and SVM in handling complex, non-linearly separable data by combining their strengths.
  • To reduce computational cost and improve generalization by selectively applying SVMs only to ambiguous or distant test samples.
  • To develop a robust, simple classification framework that maintains high accuracy across diverse handwritten digit datasets.
  • To outperform existing hybrid and baseline classification techniques on standard benchmark datasets.

Proposed method

  • Test samples are first classified using K-NN only if they satisfy a predefined proximity condition based on distance to training data.
  • Samples failing the proximity condition are isolated and treated separately for further processing.
  • For each isolated test sample, the training set is sifted to extract the closest fixed number of patterns per class using the Euclidean distance metric.
  • A separate SVM is then trained on the sifted training patterns associated with each isolated test sample.
  • Classification for each test sample is determined by the K-NN result (if proximity condition is met) or by the corresponding SVM (otherwise).
  • The method leverages the local invariance of K-NN and the global optimization of SVMs to enhance decision boundaries.

Experimental results

Research questions

  • RQ1Can a hybrid approach combining K-NN and SVM improve classification accuracy on handwritten digit recognition tasks?
  • RQ2How does proximity-based filtering of test samples affect the performance and efficiency of the hybrid model?
  • RQ3Does training class-specific SVMs on sifted nearest training patterns lead to better generalization than using the full training set?
  • RQ4How does the proposed method compare to state-of-the-art hybrid and standalone classifiers on benchmark datasets?
  • RQ5What is the impact of dataset characteristics (e.g., class distribution, digit style) on the performance of the hybrid model?

Key findings

  • The proposed hybrid method outperforms state-of-the-art algorithms on the USPS handwritten digit dataset.
  • On the MNIST dataset, the method achieves higher accuracy than baseline K-NN and SVM classifiers, demonstrating improved generalization.
  • The algorithm shows strong performance on the Modified Arabic Digits Database (MADB), indicating robustness across different digit writing styles.
  • The use of proximity filtering reduces the number of SVM training instances, improving computational efficiency without sacrificing accuracy.
  • The combination of local K-NN decisions and global SVM learning leads to more reliable classification on ambiguous or distant test samples.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.