In the idealized world of computer vision research, datasets are often perfectly balanced. In the real world, however, data is typically "long-tailed": a few categories (the "head") have thousands of examples, while most categories (the "tail") have only a handful. While semi-supervised learning (SSL) has made great strides in using unlabeled data to boost performance, most SSL benchmarks assume a perfectly balanced distribution—a luxury rarely found in practice.
This paper introduces a more realistic paradigm: Semi-supervised Long-tailed Recognition (SSLT). The authors propose an "Alternate Sampling" framework that effectively leverages unlabeled data even when the underlying distribution is heavily skewed.
The SSLT Challenge
The authors identify a significant gap between academic benchmarks and real-world data collection. Standard SSL methods, such as Mean Teacher or Pseudo-Labeling, often fail when data is long-tailed because the model naturally becomes biased toward the "head" classes. This bias leads to poor-quality pseudo-labels for the "tail" classes.
A common strategy in long-tailed recognition is "class-balanced sampling," which over-samples rare classes to ensure the classifier sees enough examples. However, if one applies this to noisy pseudo-labels in an SSL setting, it creates a "tail-noise trap": the model amplifies its own errors, effectively teaching itself to be confidently wrong about rare categories. The challenge is to use unlabeled data to improve internal representations without letting poor-quality labels corrupt the final classifier.
The Alternate Sampling Framework
The core of the paper is the Alternate Sampling framework, which relies on the insight that feature embeddings and classifiers benefit from different training strategies. The process moves through three iterative stages:
- Stage 1: Label Assignment: The current model assigns pseudo-labels to the unlabeled dataset.
- Stage 2: Semi-supervised Training (Feature Learning): The feature embedding ($f$) and a temporary classifier ($g'$) are fine-tuned using random sampling on the combined labeled and unlabeled sets. Random sampling is used here because feature learning is generally more robust to label noise and benefits from the natural data distribution diversity.
- Stage 3: Supervised Training (Classifier Refinement): The main classifier ($g$) is updated using class-balanced sampling, but only on the high-quality, human-labeled data. The feature embedding is frozen during this stage. This prevents the noisy pseudo-labels from the tail classes from "breaking" the classifier's decision boundaries.
By alternating between these stages, the model iteratively improves its features using all available data while keeping its classification logic grounded in ground-truth labels.
Experimental Benchmarks
The authors curated two new benchmarks to evaluate this setting:
- CIFAR-10-SSLT: A modified version of CIFAR-10 with exponential imbalance ratios (100 and 1000). Unlabeled data is pulled from the "Tiny Images" dataset to mimic real-world noise.
- ImageNet-SSLT: A large-scale benchmark based on ImageNet-2012, sampled using a Lomax distribution. It contains over 41,000 labeled images and roughly 164,000 unlabeled images across 1,000 classes.
Key Results and Insights
The proposed method consistently outperformed competitive baselines (like LDAM-DRW and Mean Teacher) across both datasets:
- Superior Accuracy: On CIFAR-10-SSLT with an imbalance ratio of 1000, the method achieved 66.7% overall accuracy, compared to 46.2% for the standard long-tailed baseline (LDAM-DRW).
- Tail-Class Gains: On ImageNet-SSLT using a ResNet-50 backbone, the framework improved tail-class accuracy to 12.3%, whereas standard decoupling only reached 9.8%.
- Robustness: Unlike other SSL methods that often trade off "head" accuracy to improve the "tail," this alternate sampling approach maintained or improved performance across all splits (Many-shot, Medium-shot, and Few-shot).
Conclusion
This work demonstrates that decoupling feature learning from classification is essential in long-tailed SSL. Features require the diversity provided by random sampling of the natural distribution, while classifiers require the balance provided by ground-truth labels. While the iterative process adds some computational overhead, it provides a robust path forward for training models on the messy, imbalanced data characteristic of the real world.
Summary updated