Abstract
Traditional multi-classification strategies often struggle with either data imbalance in One-versus-All (OvA) approaches or the "voting bottleneck" in One-versus-One (OvO) frameworks. This paper presents a novel OvO deep learning strategy that replaces heuristic voting with a rigorous joint probability estimation. By calibrating pairwise classifiers based on their distance from the decision boundary and solving a global linear system, the proposed method achieves superior accuracy and robustness, particularly in low-data regimes and complex medical diagnostic tasks.
1. Introduction
Multi-classification—the task of assigning data points to one of $K$ categories—is a cornerstone of modern machine learning. Two primary strategies dominate this field: One-versus-All (OvA) and One-versus-One (OvO). While OvA is computationally efficient, it frequently suffers from class imbalance, as the "negative" class comprises all other categories combined. Conversely, OvO addresses imbalance by training a classifier for every possible pair of classes ($K(K-1)/2$). However, OvO's performance is often limited by its aggregation method; traditional majority voting treats all pairwise decisions equally, regardless of the classifier's confidence. This "voting bottleneck" allows minor errors in individual binary classifiers to compound, leading to suboptimal global predictions.
2. Proposed Methodology
The proposed framework moves beyond simple voting by treating the aggregation of pairwise results as a global optimization problem. The process consists of three main stages:
2.1 Binary Classification
The $K$-class problem is decomposed into $K(K-1)/2$ binary tasks. These classifiers can be trained independently or derived from the feature layers of a pre-existing OvA network, allowing for efficient refinement of existing models.
2.2 Posterior Probability Calibration
A critical innovation of this work is the use of spatial information to weight classifier confidence. Instead of relying on raw outputs, the model calculates the distance of a data point from the "separating feature hyperplane." This distance is transformed into a calibrated posterior probability ($r_{ij}$) using a sigmoid function. This mechanism effectively "softly inactivates" classifiers that are uncertain, ensuring that only high-confidence pairwise decisions drive the final classification.
2.3 Joint Probability Estimation
The final class labels are treated as a global probability distribution ($p$). The authors formulate the aggregation as a minimization problem, seeking a global distribution that minimizes the Kullback-Leibler (KL) distance across all calibrated pairwise estimates. This complex optimization is mathematically transformed into a linear system, providing an efficient and interpretable solution for the joint probabilities.
3. Experimental Evaluation
The framework was evaluated across two distinct domains: computer vision and medical diagnostics.
- Computer Vision: Three leaf identification datasets were utilized: AgrilPlant (10 classes), Tropic (20 classes, imbalanced), and Swedish Leaf (15 classes).
- Medical Diagnosis: A large-scale 12-lead ECG dataset containing over 2 million records was used to classify six types of cardiac abnormalities, including Atrial Fibrillation (AF) and 1st-degree AV block (1dAVb).
4. Results and Discussion
The experimental results demonstrate the superiority of the joint probability OvO approach over traditional methods.
4.1 Accuracy and Low-Data Resilience
On the AgrilPlant and Swedish Leaf datasets, the proposed model consistently outperformed standard OvA and state-of-the-art OvO implementations. Notably, the model exhibited significant resilience when training data was scarce. In tests using only 10% of the Swedish Leaf training data, the proposed model achieved an accuracy over 10% higher than competing strategies.
4.2 Medical Diagnostic Performance
In the context of ECG analysis, the model provided substantial improvements in F1-scores for critical conditions. For instance, the F1-score for Atrial Fibrillation improved from 0.870 to 0.917, and for 1st-degree AV block from 0.897 to 0.915, highlighting the model's utility in high-stakes clinical environments.
5. Limitations and Future Work
While the OvO strategy excels in many scenarios, the "Tropic" dataset revealed a limitation: on highly imbalanced datasets, the OvA strategy occasionally remains more robust. The authors suggest that extreme class distribution skewness can hinder the discriminating power of pairwise classifiers. Future research will focus on refining the calibration process to better accommodate "long-tail" data distributions.
6. Conclusion
By replacing heuristic voting with a mathematically rigorous joint probability estimation, this paper provides a more robust and interpretable framework for multi-classification. The ability to refine existing models and the significant performance gains in low-data and medical contexts make this strategy a valuable tool for complex deep learning applications.
Summary updated