Skip to content
Preprint

Adaptive $k$ Nearest Neighbors Classifier via Granular Ball Computing

Aug 2026 · 0 citations
Computer Science

TL;DR

Experimental results demonstrate that the proposed adaptive and efficient KNN approach via granular-ball computing outperforms existing KNN variants across multiple datasets in terms of both accuracy and efficiency.

Abstract

The $k$-Nearest Neighbor~(KNN) algorithm is widely used across various tasks. The selection of the $k$ value is a key issue because it significantly impacts performance. In this paper, an adaptive and efficient KNN approach via granular-ball computing is proposed. The method consists of two stages. \textcolor{black}{In the training stage, the dataset is first coarsely partitioned to reduce the complexity of data distributions within a granular ball, and then the Fisher criterion is introduced to control ball splitting and stopping, yielding a multi-granularity granular ball representation. In the prediction stage, the nearest granular ball is first located through a weighted distance mechanism, and an adaptive neighborhood is then constructed around the test sample. The effective $k$ value is dynamically determined by the actual number of samples contained in this neighborhood. The neighborhood induced by the nearest granular ball provides more stable local group information, thereby improving robustness against noise and local perturbations.} Experimental results demonstrate that the proposed method outperforms existing KNN variants across multiple datasets in terms of both accuracy and efficiency. The code has been open-sourced for reproducibility: https://github.com/lianxiaoyu724/Adaptive-GBKNN.

View source

Similar papers

#artificial intelligence Preprint Aug 2026

Curvature-Aware Radius Shrinkage for Adaptive Nearest Neighbor Classification

Curvature-Aware Radius Shrinkage for Adaptive Nearest Neighbor Classification (CARSANN) is introduced, a geometry-driven framework that adapts the spatial support of each neighborhood according to local geometric complexity and is competitive with adaptive nearest-neighbor methods.

A. L. M. Levada · 0 citations
Jul 2026

Lloyd's K-Means Clustering Algorithm Is Frank-Wolfe in Disguise

This work establishes a novel connection between Lloyd's algorithm and the Frank-Wolfe (FW) algorithm, a prominent first-order method for projection-free optimization and derives a non-asymptotic convergence rate to a local minimum of the SSE objective.

Michael Pokojovy, J. Jobe, Simon Lacoste-Julien · 0 citations
Aug 2026

An integrated weighted granular-ball rough set model for attribute reduction

The Integrated Weighted Granular-ball Rough Set (IWGBRS) model is proposed, which integrates multiple granular-ball splitting strategies to achieve more stable and reliable partitions and reduces the randomness in the granular-ball generation process and ensures more consistent and stable partitioning results.

Zhong-Hao Zhang, Jingjing Song, Eric C. C. Tsang et al. · 0 citations
Jul 2026

The K-SCAN Clustering Algorithm

K-SCAN is presented -- a novel hybrid algorithm that optimizes this trade-off between robustness to noise and ability to detect non-linear clusters while maintaining structural stability, and achieves more than a 3-fold speed-up over the hierarchical BIRCH algorithm.

F. Kosiorowski, Grzegorz Sroka · 0 citations
Open access Jul 2026

On the Optimality of k=n in k-Nearest Neighbor Classification: Sub-Optimality Rates, Dimension-Aware Selection, and Hassanat Distance Comparison

The theoretical results provide a principled non-cross-validated alternative to the classical n rule, and cross-validation remains the strongest k-selection strategy when computationally feasible.

Ahmad Hassanat, A. A. Alkasasbeh, Esra’a Alkafaween et al. · 1 citation
Preprint Aug 2026

Efficient Coreset Selection via K-Nearest Neighbor Graphs

Experiments show that KNNG-CS achieves accuracy comparable to representative gradient-approximation coreset methods, while reducing selection time by $2.3\times$-$41.2\times$ and peak memory to $0.3\%$-$7.5\%$ of the baselines.

Yingfan Liu, Lei-Yu Zhang, Jia-Dong Xie et al. · 1 citation

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.