Skip to main content
QUICK REVIEW

[Paper Review] CIFAR-10: KNN-based Ensemble of Classifiers

Yehya Abouelnaga, Ola S. Ali|arXiv (Cornell University)|Nov 15, 2016
Advanced Neural Network ApplicationsComputer Science18 references7 citations
TL;DR

This paper proposes a KNN-based ensemble to improve classification accuracy on the CIFAR-10 dataset by combining K-Nearest Neighbors (KNN) with Convolutional Neural Networks (CNNs). By reducing KNN overfitting via PCA and using an exhaustive search for ensemble weighting, the method increases the best single CNN model's accuracy from 93.33% to 94.03%.

ABSTRACT

In this paper, we study the performance of different classifiers on the CIFAR-10 dataset, and build an ensemble of classifiers to reach a better performance. We show that, on CIFAR-10, K-Nearest Neighbors (KNN) and Convolutional Neural Network (CNN), on some classes, are mutually exclusive, thus yield in higher accuracy when combined. We reduce KNN overfitting using Principal Component Analysis (PCA), and ensemble it with a CNN to increase its accuracy. Our approach improves our best CNN model from 93.33% to 94.03%.

Motivation & Objective

  • To improve the state-of-the-art accuracy on the CIFAR-10 dataset through classifier ensembling.
  • To investigate the complementary nature of KNN and CNNs in handling ambiguous image classes like 'cat', 'dog', and 'horse'.
  • To reduce overfitting in KNN by applying Principal Component Analysis (PCA) on image features.
  • To evaluate the effectiveness of ensemble weighting strategies, particularly exhaustive search, for combining CNN and KNN predictions.
  • To analyze the impact of different feature extractors (e.g., PCA, SIFT, HOG) on model generalization and test accuracy.

Proposed method

  • Employed PCA to reduce the dimensionality of CIFAR-10 image features (3,072 to 200 components for CNNs, 30 for KNN) to mitigate KNN overfitting.
  • Trained a deep CNN with batch normalization, ReLU activations, max pooling, and dropout layers, achieving 93.33% test accuracy.
  • Used KNN with optimized k and PCA-reduced features (30 components) to improve decision robustness on shape-sensitive classes.
  • Implemented a weighted ensemble via exhaustive search over possible weight combinations to combine CNN and KNN predictions.
  • Fused multiple CNN models (CNN1–CNN4) using weighted averaging to create a stronger base ensemble before combining with KNN.
  • Evaluated performance using standard metrics on the 10,000-image test set, comparing individual models and ensembles.

Experimental results

Research questions

  • RQ1How does KNN complement CNNs in classifying ambiguous CIFAR-10 classes such as 'cat', 'dog', and 'horse'?
  • RQ2What is the optimal number of PCA components to reduce KNN overfitting while preserving discriminative power?
  • RQ3Can an ensemble of CNNs and KNN outperform individual models on CIFAR-10, and by how much?
  • RQ4How effective is an exhaustive search for weight estimation in a weighted voting ensemble of CNN and KNN?
  • RQ5Which feature extraction method (e.g., PCA, SIFT, HOG) yields the best generalization across different classifiers on CIFAR-10?

Key findings

  • The ensemble of CNN and KNN achieved a test accuracy of 94.03%, representing a 0.7% improvement over the best individual CNN model (93.33%).
  • KNN with 30 PCA components achieved the highest test accuracy (41.78%) among all KNN configurations, outperforming higher component counts.
  • PCA with 200 components improved test accuracy for Logistic Regression and Gradient Boosting, while other feature extractors (SIFT, SURF, ORB, HOG) worsened generalization.
  • The CNN fusion model (CNN1–CNN4) achieved 93.99% accuracy, which increased to 94.03% when combined with KNN, demonstrating the value of ensemble integration.
  • KNN improved CNN performance on shape-sensitive classes like 'cat', 'dog', and 'horse' by correcting misclassifications due to shape similarity.
  • Images with ambiguous object shapes (e.g., ship on a vehicle) showed improved predictions when KNN’s geometric voting corrected CNN’s shape insensitivity.

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.