[Paper Review] Under-bagging Nearest Neighbors for Imbalanced Classification
This paper proposes under-bagging k-nearest neighbors (under-bagging k-NN), an ensemble method that improves imbalanced classification by creating balanced bootstrap samples from the majority class, ensuring each sub-sample matches the minority class size. Theoretically, it achieves optimal convergence rates for the arithmetic mean (AM) of recalls under mild smoothness and margin conditions, with significantly reduced time complexity due to smaller sub-samples and fewer bagging rounds, while maintaining competitive performance.
In this paper, we propose an ensemble learning algorithm called extit{under-bagging $k$-nearest neighbors} ( extit{under-bagging $k$-NN}) for imbalanced classification problems. On the theoretical side, by developing a new learning theory analysis, we show that with properly chosen parameters, i.e., the number of nearest neighbors $k$, the expected sub-sample size $s$, and the bagging rounds $B$, optimal convergence rates for under-bagging $k$-NN can be achieved under mild assumptions w.r.t.~the arithmetic mean (AM) of recalls. Moreover, we show that with a relatively small $B$, the expected sub-sample size $s$ can be much smaller than the number of training data $n$ at each bagging round, and the number of nearest neighbors $k$ can be reduced simultaneously, especially when the data are highly imbalanced, which leads to substantially lower time complexity and roughly the same space complexity. On the practical side, we conduct numerical experiments to verify the theoretical results on the benefits of the under-bagging technique by the promising AM performance and efficiency of our proposed algorithm.
Motivation & Objective
- To address the poor performance of standard k-NN in imbalanced datasets, where the majority class dominates predictions.
- To develop a theoretically grounded ensemble method that maintains the simplicity of k-NN while improving minority class recall.
- To reduce computational complexity by using smaller sub-samples and fewer bagging rounds without sacrificing performance.
- To establish optimal convergence rates for the arithmetic mean (AM) of recalls under Hölder smoothness and margin conditions.
- To provide a learning theory foundation for under-bagging techniques applicable to other base classifiers.
Proposed method
- The method constructs an ensemble of k-NN classifiers by generating bootstrap sub-samples from the majority class such that each sub-sample has size equal to the minority class size.
- At each bagging round, a balanced training set is formed by combining the minority class and a randomly drawn sub-sample from the majority class.
- The final prediction is obtained by averaging the posterior probabilities across all base classifiers in the ensemble.
- Theoretical analysis relies on Hölder smoothness of the true regression function and a margin condition to derive convergence rates.
- Key parameters include the number of nearest neighbors $k$, sub-sample size $s$, and bagging rounds $B$, which are optimized for convergence.
- The method avoids model training, preserving k-NN’s lazy learning nature while enhancing robustness to class imbalance.
Experimental results
Research questions
- RQ1Can under-bagging k-NN achieve optimal convergence rates for the arithmetic mean (AM) of recalls in imbalanced classification?
- RQ2How does the choice of sub-sample size $s$ and number of bagging rounds $B$ affect the convergence rate and computational complexity?
- RQ3Can under-bagging k-NN achieve comparable performance to standard k-NN with significantly reduced time complexity?
- RQ4What theoretical guarantees can be established for under-bagging k-NN under mild smoothness and margin conditions?
- RQ5Does under-bagging improve the generalization performance of k-NN on highly imbalanced datasets?
Key findings
- Under-bagging k-NN achieves optimal convergence rate of $\mathcal{O}\bigl((\log n/n)^{\alpha/(2\alpha+d)}\bigr)$ for the arithmetic mean (AM) of recalls under Hölder smoothness and margin conditions.
- With properly chosen parameters, the expected sub-sample size $s$ can be much smaller than the full training size $n$, reducing time complexity significantly.
- The number of nearest neighbors $k$ can be reduced simultaneously in highly imbalanced settings, further lowering computational cost.
- The method maintains roughly the same space complexity as standard k-NN while achieving better efficiency and performance.
- For $d > 2\alpha$, the convergence rate is $\mathcal{O}\bigl((\log^2(Mn_{(1)})/Mn_{(1)})^{\alpha/(2\alpha+d)}\bigr)$, which simplifies to $\mathcal{O}\bigl((\log n/n)^{\alpha/(2\alpha+d)}\bigr)$ under mild assumptions.
- Theoretical analysis confirms that under-bagging k-NN achieves optimal rates with relatively small $B$, making it scalable and practical for large imbalanced datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.