NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Peer Review #1 of "Optimal 1-NN prototypes for pathological geometries (v0.1)"

Ilia Sucholutsky, Matthias Schonlau, J Bezdek, L Kuncheva, J Bien, R Tibshirani, S Dudani, S Garcia, J Derrac, J Cano, F Herrera, H Gweon, S Steiner, P Hart, O Kanjanatarakul, S Kuson, T Denoeux, M Kubat, M Kusner, S Tyree, K Weinberger, K Agrawal, J Laurikkala, G Lematre, F Nogueira, C Aridas, I Mani, I Zhang, M Smith, T Martinez, Giraud-Carrier, C, W Sun, X Qiao, G Cheng, I Tomek, I Triguero, D Wilson, H YigitOpenalex Unknown 2021 · OpenAlex

Abstract

Using prototype methods to reduce the size of training datasets can drastically reduce the computational cost of classification with instance-based learning algorithms like the k-Nearest Neighbour classifier. The number and distribution of prototypes required for the classifier to match its original performance is intimately related to the geometry of the training data. As a result, it is often difficult to find the optimal prototypes for a given dataset, and heuristic algorithms are used instead. However, we consider a particularly challenging setting where commonly used heuristic algorithms fail to find suitable prototypes and show that the optimal number of prototypes can instead be found analytically. We also propose an algorithm for finding nearly-optimal prototypes in this setting, and use it to empirically validate the theoretical results. Finally, we show that a parametric prototype generation method that normally cannot solve this pathological setting can actually find optimal prototypes when combined with the results of our theoretical analysis.

Introduction

The k-Nearest Neighbor (kNN) classifier remains a fundamental tool in machine learning due to its simplicity and effectiveness. However, its primary drawback is the high computational cost during inference, as it requires distance calculations against every point in the training set. To mitigate this, researchers use prototype methods—either selecting a subset of the original data or generating synthetic points—to represent the dataset more efficiently.

While heuristic methods like k-means clustering are often sufficient for simple data distributions, they frequently fail when encountering "pathological geometries." These are complex, nested structures, such as concentric circles, where standard data reduction techniques struggle to maintain classification accuracy or fail to achieve significant data reduction. This research aims to find the theoretical minimum number of prototypes required to perfectly represent such geometries.

Methodology

The study focuses on a dataset of $N$ concentric circles with radii increasing by a constant factor. By applying analytical geometry, the authors derived the conditions necessary for a 1-NN classifier to perfectly separate adjacent circles.

Theoretical Bounds

A key finding is the derivation of upper and lower bounds for the required number of prototypes. It was determined that for a circle at index $t$, the number of prototypes required is approximately $t\pi$. This leads to a predictable sequence of points per class (e.g., 1, 4, 7, 10...).

The FindPUGS Algorithm

To practically apply these theoretical insights, the authors introduced FindPUGS (Finding nearly-optimal Prototypes Using Greedy Search). This algorithm iteratively determines the minimum number of points and the optimal relative rotation ($\theta$) between consecutive circles to ensure perfect class separation.

Figure 1: Visualization of 1-NN decision boundaries for concentric circles using a minimal set of prototypes.

The importance of rotation is a critical insight; by slightly shifting prototypes on one circle relative to the next, the total number of points needed to maintain a clear decision boundary is minimized.

Experimental Results

The proposed methods were tested on a synthetic dataset consisting of 800 points distributed across concentric circles, with varying levels of Gaussian noise ($\sigma$ from 0.05 to 0.4).

Efficiency and Accuracy

The FindPUGS algorithm demonstrated remarkable efficiency, reducing a dataset of 800 points to just 13 prototypes across 5 classes while maintaining near-perfect accuracy. In contrast, standard undersampling heuristics like CondensedNearestNeighbour or OneSidedSelection either required significantly more points or failed to maintain the class boundaries entirely.

Enhancing Existing Heuristics

A significant insight from this work is that standard methods like ClusterCentroids (based on k-means) are not inherently flawed for these geometries; rather, they are often poorly parameterized. When ClusterCentroids was initialized with the number of prototypes derived from the authors' theoretical $t\pi$ rule, it successfully solved the pathological problem, maintaining ~94% accuracy even with moderate noise ($\sigma = 0.1$).

Conclusion

This research demonstrates that understanding the underlying geometry of a dataset allows for far more aggressive data reduction than previously thought possible with general-purpose heuristics. By establishing analytical bounds for concentric geometries, the authors have provided a roadmap for optimizing instance-based classifiers in complex settings. Future work will explore extending these 2D analytical methods to higher-dimensional hyperspheres and more diverse manifold structures.

Summary updated

BibTeX
@inproceedings{sucholutsky2021peer,
  author = {Ilia Sucholutsky and Matthias Schonlau and J Bezdek and L Kuncheva and J Bien and R Tibshirani and S Dudani and S Garcia and J Derrac and J Cano and F Herrera and H Gweon and M Schonlau and S Steiner and P Hart and O Kanjanatarakul and S Kuson and T Denoeux and M Kubat and M Kusner and S Tyree and K Weinberger and K Agrawal and J Laurikkala and G Lematre and F Nogueira and C Aridas and I Mani and I Zhang and M Smith and T Martinez and Giraud-Carrier and C and W Sun and X Qiao and G Cheng and I Tomek and I Tomek and I Triguero and J Derrac and S Garcia and F Herrera and D Wilson and H Yigit},
  title = {{Peer Review \#1 of "Optimal 1-NN prototypes for pathological geometries (v0.1)"}},
  booktitle = {Openalex Unknown},
  year = {2021},
  doi = {10.7287/peerj-cs.464v0.1/reviews/1},
}
Figure