Abstract
Representation-based methods have found widespread applications in various classification tasks. However, these methods cannot deal effectively with imbalanced data scenarios. They tend to neglect the importance of minority samples, resulting in bias toward the majority class. To address this limitation, we propose a density-based discriminative nonnegative representation approach for imbalanced classification tasks. First, a new class-specific regularization term is incorporated into the framework of a nonnegative representation based classifier (NRC) to reduce the correlation between classes and improve the discrimination ability of the NRC. Second, a weight matrix is generated based on the hybrid density information of each sample’s neighbors and the decision boundary, which can assign larger weights to minority samples and thus reduce the preference for the majority class. Furthermore, the resulting model can be efficiently optimized through the alternating direction method of multipliers. Extensive experimental results demonstrate that our proposed method is superior to numerous state-of-the-art imbalanced learning methods.
Introduction
In the field of machine learning, imbalanced classification remains a persistent challenge. This occurs when the number of samples in one class (the majority) significantly outweighs the number in another (the minority), a scenario common in critical domains such as medical diagnosis, fraud detection, and network security. Standard classification algorithms, including Representation-based Classifiers (RCs), often struggle in these scenarios. RCs represent a test sample as a linear combination of training samples; however, the abundance of majority-class samples often leads to a "majority bias," where the model favors the majority class to minimize overall error, effectively ignoring the minority class.
Traditional approaches to this problem include data-level techniques like SMOTE (Synthetic Minority Over-sampling Technique) and algorithm-level techniques like cost-sensitive learning. While helpful, these methods have drawbacks: synthetic data can introduce noise, and determining the optimal cost for misclassification often requires manual tuning. The Density-Based Discriminative Nonnegative Representation (DDNR) model adapts the Nonnegative Representation-based Classifier (NRC) framework to handle imbalance inherently through data geometry.
Methodology
The DDNR model enhances the NRC framework with two key innovations designed to improve discriminative power and mitigate majority bias.
Class-Specific Regularization
Standard NRCs do not explicitly account for the similarity between representations of different classes. DDNR introduces a class-specific regularization term that penalizes the correlation between different classes. By encouraging the model to find distinct representations for each class, the discriminative capability of the classifier is significantly enhanced. This term forces the representation coefficients of "wrong" classes toward zero, making the final classification based on reconstruction error more robust.
Hybrid Density Adaptive Weighting
The core of the DDNR model is its adaptive weighting scheme. Instead of treating all training samples as equally important, DDNR assigns weights based on "hybrid density" information. This calculation considers:
- Intra-class density: The proximity of a sample to its own neighbors.
- Inter-class density: The proximity of a sample to the decision boundary (the "enemy" class).
Samples located in sparse regions or near the decision boundary are assigned higher weights. Since minority samples are typically sparser and often reside near the boundary, this mechanism ensures they exert a stronger influence on the representation, effectively counteracting the majority bias.
Optimization
The resulting objective function is a constrained optimization problem. The authors utilize the Alternating Direction Method of Multipliers (ADMM) to solve it. ADMM is an iterative algorithm known for its efficiency and guaranteed convergence, making it suitable for the proposed framework.
Experimental Evaluation
The DDNR model was rigorously tested on 10 imbalanced datasets from the KEEL and UCI repositories, covering medical, biological, and physical domains (e.g., Ecoli, Yeast, Arrhythmia, and Glass). The Imbalance Ratio (IR) across these datasets ranged from 5.14 to 41.40.
Performance was measured using the F-measure and G-mean, which are standard metrics for imbalanced learning as they account for performance on the minority class. DDNR was compared against eight state-of-the-art methods, including SMOTE variants and ensemble methods like DTE-SBD.
Results and Discussion
The experimental results highlight the effectiveness of the DDNR approach:
- Superior Performance: DDNR achieved the highest F-measure and G-mean on nearly all tested datasets.
- Perfect Classification: On six of the ten datasets, DDNR achieved 100% recognition accuracy, outperforming all competing methods.
- Significant Improvements: On challenging datasets like Glass06vs5, DDNR improved the F-measure by over 50% compared to the baseline NRC.
- Statistical Significance: Friedman ranking tests confirmed DDNR's superiority, with a mean rank of 1.55, significantly ahead of the second-best method, SNP-ECC (3.23).
The success of DDNR stems from its ability to use the data's own distribution as a proxy for sample importance. By focusing on "frontier" points and reducing inter-class correlation, the model achieves a high degree of sparsity and clarity in its decision-making process.
Conclusion
The DDNR model represents a significant advancement in representation-based classification for imbalanced data. By integrating class-specific regularization and hybrid density weighting, it effectively addresses majority bias without the need for synthetic data generation or manual cost setting. Future work will focus on reducing computational complexity for large-scale datasets and extending the framework to multi-class imbalanced scenarios.
Summary updated