Combining Feature and Prototype Pruning by Uncertainty Minimization

Marc Sebban, Richard NockarXiv 2013

Abstract

This paper presents a unified framework for dataset reduction in $k$-nearest neighbor ($k$NN) classification by simultaneously pruning features and prototypes. Unlike traditional methods that optimize for raw accuracy, the proposed approach minimizes a global uncertainty measure based on quadratic entropy. By treating feature and instance reduction as an integrated process, the algorithm achieves significant storage savings and improved robustness to noise without sacrificing predictive performance.

Introduction

The $k$-Nearest Neighbor ($k$NN) algorithm remains a fundamental tool in machine learning, yet it suffers from high storage requirements and significant computational costs during inference. Traditionally, researchers address these issues through two independent strategies: Feature Selection (FS) to remove irrelevant dimensions and Prototype Selection (PS) to remove redundant or noisy training examples.

Because these sub-problems are NP-hard, they are typically treated in isolation. However, this paper argues that such a separation is suboptimal. Removing a feature alters the neighborhood structure of the data, while removing a point changes the statistical relevance of remaining features. This work introduces a joint optimization framework that treats feature and instance reduction as a single, integrated process.

Methodology

The core of the proposed approach is the shift from accuracy-based optimization to Uncertainty Minimization using Quadratic Entropy. Accuracy can be a volatile metric in noisy environments; entropy provides a more stable, continuous measure of statistical certainty.

The (FS+PS)RCG Algorithm

The authors represent the training set as a $k$NN graph and utilize a measure called Relative Certainty Gain (RCG). This measure assesses the information contribution of specific features or instances. The resulting algorithm follows a "mixed backward" pruning strategy:

  1. Feature Pruning: It identifies and removes the least relevant feature based on global RCG.
  2. Instance Pruning: It immediately removes "irrelevant" instances—such as mislabeled points or those deep within class clusters—that exhibit zero local uncertainty in the updated feature space.
Visualization of prototype pruning based on local neighborhood uncertainty.

This "filter" approach is computationally efficient as it avoids the need to retrain a full classifier at every iteration. The algorithm was rigorously tested on 20 benchmark datasets from the UCI Machine Learning Repository, covering medical, technical, and financial domains.

Results and Discussion

The joint (FS+PS)RCG algorithm demonstrated clear advantages over sequential selection methods and standard 5-NN models.

Data Reduction and Accuracy

On average, the method reduced the number of instances by approximately 50% and the number of features by 33%. Despite this massive reduction, predictive accuracy actually improved slightly over the full 5-NN model (77.3% vs. 76.8%). This suggests that the algorithm effectively identifies and removes "noise" and redundant data that otherwise complicates the decision boundary.

Robustness to Noise

The most significant finding was the algorithm's tolerance to noise. In experiments where 10% artificial noise was added, the joint algorithm maintained 74.3% accuracy, whereas standard $k$NN performance dropped to 71.5%.

Comparison of PS algorithms across noise-free and noisy datasets.

As shown in the comparative data, the PSRCG approach maintains higher accuracy than standard kNN and competing methods like RT3, particularly in noisy conditions, while maintaining a significantly smaller dataset size.

Conclusion

By integrating feature and prototype selection into a single uncertainty-minimization framework, the authors have developed a more robust and efficient version of the $k$NN algorithm. Future work will focus on scaling this approach to larger datasets exceeding 5,000 instances and exploring alternative neighborhood structures beyond the standard unoriented $k$NN graph.

Summary updated

BibTeX
@misc{sebban2013combining,
  author = {Marc Sebban and Richard Nock},
  title = {{Combining Feature and Prototype Pruning by Uncertainty Minimization}},
  year = {2013},
  eprint = {1301.3891},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1301.3891},
}
Figure