arXiv:2610.39466cs.LGOct 2026

Manuscript Offprint

arXiv:2610.39466

CBE: A Complexity-adaptive Boundary-aware Ensemble Method for Imbalanced Data

Xun Wei

Xun Wei

Abstract—In many real-world classification tasks, datasets exhibit class imbalance, which can degrade the generalization performance of conventional learning algorithms. Data complexity has recently been recognized as a more objective indicator of learning difficulty than the imbalance ratio alone, because class overlap and complex decision boundaries often impair classifiers more severely than imbalance itself. Samples near the decision boundary are inherently difficult to classify, which has motivated many researchers to focus on such instances to improve classifier performance. However, most under-sampling approaches fail to differentiate their sampling of boundary samples across datasets of varying complexity. To overcome this limitation, we propose a complexity-adaptive boundary-aware ensemble (CBE) framework that links the sampling weight distribution to data complexity and dynamically adjusts the boundary preference of under-sampling accordingly. We also introduce an overall complexity measure that combines metrics at multiple levels and use it to divide imbalanced datasets into three categories. Extensive experiments on 24 benchmark datasets from UCI and KEEL show that the proposed method outperforms many existing methods in terms of F-measure and G-mean on Easy and Median datasets, without degrading performance on hard cases. 1^{1}

Index Terms—Class imbalance learning, ensemble learning, data complexity, under-sampling, boundary samples.

I. INTRODUCTION

Class imbalance is a pervasive issue in real-world classification tasks, particularly in domains such as anomaly detection and disease analytics [1], [2]. This phenomenon arises when the majority class dominates the dataset, leading standard classifiers to prioritize frequent patterns over minority instances. Under such an imbalanced distribution, learning algorithms often degenerate: they tend to classify every instance as the majority class to minimize the error rate, thereby misclassifying most minority samples.

Sampling methods are typically adopted to resolve this issue by adjusting the sizes of the majority and minority classes to balance the training set [1]. These methods can be divided into under-sampling and over-sampling. Under-sampling handles class imbalance by discarding some majority examples to create a balanced training set, whereas over-sampling balances the dataset by adding new minority examples. Both approaches can be implemented in either a random or a heuristic manner. However, under-sampling may discard a large amount of useful data, while over-sampling may introduce extra bias, especially when the model consists of a single classifier.

Ensemble learning paradigms, in contrast to individual models, generally perform better by leveraging collective decision-making across multiple base models. This advantage stems from their ability to reduce variance through model diversity and mitigate overfitting by aggregating predictions. Two prominent ensemble frameworks are Bagging and Boosting [3]. In recent years, researchers have developed various strategies to apply these ensemble methods to class imbalance [4].

More recently, data complexity has been regarded as a more objective indicator of learning difficulty than the imbalance ratio alone: class overlap and noise can be more damaging than imbalance itself [5], [6]. A growing body of work therefore designs imbalanced classification methods directly guided by data complexity [7]–[9].

Samples near the decision boundary are inherently difficult to classify because of their ambiguous feature representations [1]. Conventional undersampling algorithms, which uniformly undersample the majority class at random, fail to prioritize these hard-to-classify instances, thereby undermining the discriminative power of the induced models. Distance-weighted sampling is an effective strategy for addressing this challenge in deep embedding learning [10]. However, overly aggressive boundary sampling is not always beneficial. In high-complexity datasets with severe class overlap, the boundary region no longer corresponds to a sharp, separable decision surface but to a wide, ambiguous overlap band dominated by irreducible noise [6]. Concentrating sampling and weighting on these boundary samples then forces the classifier to fit the noise. To tackle this limitation, we propose a novel under-sampling strategy, complexity-adaptive distance-weighted sampling (CDWS), which adjusts the sampling strength of boundary samples according to data complexity.

In this paper, we propose a complexity-adaptive boundary-aware ensemble framework named CBE to overcome the aforementioned shortcomings. For clarity, we examine only binary classification problems with ensemble classifiers. The proposed method achieves higher performance than many existing ensemble methods for class imbalance.

The main contributions of this paper can be summarized as follows:

  1. We propose an overall complexity measure (OCM) for imbalanced data that combines metrics at multiple levels. Based on this measure, imbalanced datasets can be divided into three categories. Correlation experiments show that OCM is more effective than individual complexity measures.

  2. We introduce a novel distance-weighted sampling method that adaptively tunes the sampling intensity over boundary regions according to the intrinsic data complexity, so that boundary densification is emphasized

Xun Wei is with the School of Industrial Software, Jiangxi University of Science and Technology, Nanchang 330044, China (email:xun.wei@jxust.edu.cn).

1^{1}https://github.com/weixun2018/CBE on well-separated boundaries while relaxed under severe overlap.

  1. We propose a complexity-adaptive boundary-aware ensemble framework that integrates preference-based undersampling with ensemble learning to address imbalanced tasks.

The remainder of this paper is organized as follows. Section II reviews related methods. Section III illustrates the complexity of imbalanced data. Section IV presents our proposed method. Section V reports the experiments. Finally, Section VI concludes this paper.

References (29)