arXiv · 2611.29720
Randomized Weighted Distance Nearest Neighbor Classification
Abstract
The nearest neighbor classifier is known to be memory-inefficient, and a popular solution is to compress its training data. Recently, a compression algorithm based on weighted distance nearest neighbor (WNN) was proposed, which has elegant theoretical properties and effective classification performance. However, its compression process is computationally expensive, for it performs a greedy search of the densest homogeneous balls in data space. In this paper, we propose a randomized variant RWNN. It simply randomizes the ball search process, and results in substantially reduced compression time (often 0.1%--1% of WNN's) and similar classification accuracy. RWNN also inherits several theoretical properties of WNN including consistency and a generalization bound. Experimental results on multiple datasets demonstrate its efficacy.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Shayan Shafaei, Naeem Shahabi Sani, Chao Lan. 2026-11-22. Randomized Weighted Distance Nearest Neighbor Classification. https://arxiv.science/abs/2611.29720
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.