Semi-Supervised Learning (SSL) has emerged as a powerful paradigm to reduce the heavy reliance on human annotation in deep learning. By leveraging a massive pool of unlabeled data alongside a small set of labeled data, SSL achieves impressive results. However, a critical question is often overlooked: when you have a strict budget, how do you choose exactly which samples to label?
Currently, the default approach is random sampling, which risks missing rare classes or selecting redundant data. While stratified sampling (picking evenly across classes) is theoretically ideal, it is impossible in practice because the labels are unknown prior to selection. This paper introduces RDSS (Representative and Diverse Sample Selection), a model-free approach that identifies the most informative samples before training even begins, significantly boosting SSL performance under extremely tight annotation budgets.
The Pitfalls of Existing Selection Methods
Existing smart selection methods typically fall into two traps:
- Focusing on the wrong metrics: Methods usually optimize for either representativeness (picking samples that look like the average data, which ignores edge cases) or diversity (picking outliers, which ignores the core distribution). Those that attempt to balance both often rely on arbitrary, fixed ratios.
- The "Cold Start" problem: Active Learning (AL) methods iteratively select samples that the model is "uncertain" about. However, if your budget is tiny (e.g., less than 1% of the dataset), the initial model is too weak to accurately gauge its own uncertainty. Furthermore, AL requires computationally expensive, iterative loops of labeling and training.
To overcome these issues, the authors sought a way to select a highly informative batch of samples exactly once, without relying on a pre-trained model's flawed guesses.
The RDSS Approach: Balancing Representativeness and Diversity
RDSS operates completely independently of the downstream AI model. It begins by using a pre-trained vision model (such as CLIP) to extract features from the unlabeled images.
To determine which samples to select, the authors introduce a novel mathematical criterion called $\alpha$-Maximum Mean Discrepancy ($\alpha$-MMD). Standard MMD measures how well a small subset represents the overall dataset. By introducing the $\alpha$ parameter, the authors add a penalty that forces the selected samples to also be diverse (dissimilar from one another).
Instead of guessing a fixed ratio between diversity and representativeness, RDSS dynamically adapts. The optimal trade-off ($\alpha$) is mathematically tied to your budget. The authors prove that setting $\alpha$ based on the number of selected samples ($1 - 1/\sqrt{m}$) bounds the generalization error of the final model.
Because finding the absolute best subset of data is computationally impossible, the authors developed Generalized Kernel Herding without Replacement (GKHR). Based on the Frank-Wolfe algorithm, GKHR is a fast, iterative optimization method that approximates the best subset without accidentally picking the same image twice.
Key Results and Performance
The authors evaluated RDSS across several standard computer vision benchmarks, including CIFAR-10, CIFAR-100, SVHN, STL-10, and ImageNet-1k. By decoupling selection from training, RDSS avoids the cold start trap and consistently outperforms baselines like Random and k-Means, as well as state-of-the-art selection methods like USL and ActiveFT.
RDSS shines brightest in extreme low-budget scenarios:
- STL-10 Dataset: With a microscopic budget of just 40 labels, applying RDSS to the FreeMatch framework achieved 81.90% accuracy, crushing the next best method (USL at 76.95%).
- ImageNet Scale: On the complex ImageNet dataset with a 100k label budget, FreeMatch+RDSS reached 58.24% accuracy, outperforming the USL baseline (56.86%).
- Beating Active Learning: RDSS thoroughly outperformed traditional Active Learning and Semi-Supervised Active Learning (SSAL) methods. Under extremely low budgets, many SSAL methods actually performed worse than random sampling, highlighting the robustness of RDSS's model-free, upfront selection.
Limitations and Future Directions
While highly effective, RDSS has limitations. The formula for tuning the $\alpha$ parameter depends strictly on the number of unlabeled data points, ignoring the actual shape or complexity of the underlying data distribution. Consequently, RDSS might lose some of its edge on datasets with highly irregular distribution structures.
Looking ahead, because RDSS excels in scenarios where labels are scarce, the authors plan to apply this methodology to domains where labeling is prohibitively expensive and requires expert knowledge—most notably, medical image analysis. By maximizing the value of every single annotated sample, RDSS paves the way for more efficient and accessible deep learning.
Summary updated