TL;DR
This paper introduces DASO, a novel semi-supervised learning (SSL) framework that tackles the critical issue of biased pseudo-labels in imbalanced datasets. By adaptively blending two complementary types of pseudo-labels and employing a semantic alignment loss, DASO significantly improves model performance, especially in real-world scenarios with skewed data distributions.
What Problem Does This Paper Address?
Traditional semi-supervised learning (SSL) methods rely on pseudo-labels generated from model predictions to leverage unlabeled data. However, these methods often falter in real-world applications due to two major challenges: class imbalance (where some classes have far fewer examples than others) and class distribution mismatch (where the distribution of classes in unlabeled data differs significantly from that in labeled data). These issues lead to severely biased pseudo-labels, which in turn negatively impact the model's training and generalization, particularly for minority classes. Existing SSL approaches often assume class-balanced data or require knowledge of the unlabeled data distribution, which is often unavailable. This paper aims to address this gap by proposing a robust pseudo-labeling strategy that works effectively even with unknown and imbalanced unlabeled data distributions.
Methods
The core of DASO lies in its novel pseudo-labeling framework, which combines two types of pseudo-labels:
- Linear Pseudo-labels: These are generated by a standard linear classifier, which are known to be biased towards majority classes in imbalanced datasets.
- Semantic Pseudo-labels: These are derived from a similarity-based classifier that measures the similarity of a sample's representation to class prototypes. These are observed to be biased towards minority classes.
DASO's key innovation is Distribution-Aware Blending: it adaptively mixes these two types of pseudo-labels on a per-class basis. The blending weights are dynamically adjusted based on the current empirical distribution of pseudo-labels, ensuring that the final blended pseudo-label is less biased. This is achieved by increasing the contribution of semantic pseudo-labels when the linear pseudo-labels are heavily skewed towards majority classes, and vice-versa.
Additionally, DASO introduces a Semantic Alignment Loss. This loss encourages balanced feature representations by aligning unlabeled samples to balanced class prototypes. This helps the feature encoder produce more discriminative representations, further reducing bias. The framework also incorporates Balanced Prototype Generation, which uses a memory queue with fixed sizes for each class and an EMA encoder to create more robust class prototypes, mitigating bias from imbalanced labeled data.
Datasets
The authors evaluated DASO on several benchmarks:
- CIFAR-10/100-LT: Standard CIFAR datasets modified to have long-tailed class distributions.
- STL10-LT: The STL-10 dataset also modified for long-tailed distributions.
- Semi-Aves: A large-scale, realistic benchmark featuring bird species with natural long-tailed distributions, including a significant portion of open-set classes in the unlabeled data.
Key Insights and Ideas
- Complementary Biases: Linear and semantic pseudo-labels exhibit complementary biases (majority vs. minority). This observation is crucial for developing a debiasing strategy.
- Adaptive Blending is Key: Simply averaging pseudo-labels is insufficient. Dynamically adjusting the blending weights based on the current pseudo-label distribution is essential for effective debiasing.
- Semantic Alignment Boosts Features: The semantic alignment loss helps create more balanced feature representations, which benefits both linear and semantic classifiers.
- Robust Prototypes Matter: Using balanced prototypes, especially with EMA, improves the quality of semantic pseudo-labels.
- Generality of DASO: DASO can be integrated with various existing SSL learners and re-balancing methods, demonstrating its flexibility.
Key Results
DASO consistently outperformed baseline SSL methods and other re-balancing techniques across various imbalanced scenarios.
- On CIFAR10-LT and CIFAR100-LT, DASO achieved significant accuracy gains, especially when class distributions of labeled and unlabeled data differed (γι ≠ γu). For instance, it showed up to 18.1% absolute gain over FixMatch on STL10-LT.
- On the challenging Semi-Aves benchmark with open-set classes, DASO demonstrated superior performance, even when other methods struggled due to the distribution mismatch.
- Ablation studies confirmed the effectiveness of both the distribution-aware blending and the semantic alignment loss, with their combination yielding the best results.
- Qualitative analyses (t-SNE visualizations and confusion matrices) showed that DASO successfully alleviates bias towards head classes, improves recall for minority classes, and establishes better-defined tail-class clusters.
Limitations and Future Work
- Hyperparameter Sensitivity: The paper acknowledges that the hyperparameter $T_{dist}$ (for blending weights) can be highly dependent on the data distribution and might not be straightforward to tune in label-scarce settings.
- Potential for Misuse: The authors note that while DASO can improve fairness, it could also be used to exacerbate other fairness issues or discrimination against minorities if not carefully considered.
- Future Directions: The study suggests that DASO's ability to handle unlabeled data with broader class distributions opens avenues for its application in open-set SSL scenarios, where learning without harmful out-of-class examples is crucial. Further research into unified re-balancing approaches for both labels and unlabeled data is also hinted at.
Summary updated