NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Barely-Supervised Learning: Semi-supervised Learning with Very Few Labeled Images

Thomas Lucas, Philippe Weinzaepfel, Grégory Rogez

Introduction: The Distillation Dilemma

Deep learning models typically require vast amounts of labeled data to achieve high performance. Semi-supervised learning (SSL) aims to mitigate this by leveraging a small labeled set alongside a larger unlabeled pool. However, standard SSL methods like FixMatch often fail when labels are extremely scarce—a regime the authors term "barely-supervised learning" (e.g., 4 to 8 labels per class).

The authors identify a fundamental distillation dilemma at the heart of this failure:

  1. Signal Scarcity: High confidence thresholds prevent the model from generating pseudo-labels when it is poorly trained, leading to a lack of training signal.
  2. Error Drift: Lowering thresholds introduces incorrect pseudo-labels, causing the model to become "confidently wrong" through confirmation bias.

The LESS Framework

To navigate this dilemma, the authors propose LESS (Label-Efficient Semi-Supervised learning). LESS integrates three key mechanisms to maintain a steady training signal while filtering out noise.

The LESS framework architecture, illustrating how unconfident samples are handled via swapped cluster prediction while confident ones provide class pseudo-labels.

1. Decoupled Self-Supervision

Unlike FixMatch, which discards "unconfident" images, LESS applies a self-supervised loss—specifically online deep clustering—to these samples. This ensures the model continues to learn robust feature representations from the entire unlabeled pool, regardless of whether a class label can be confidently assigned.

2. Consistency-Based Refinement

To combat error drift, LESS moves beyond instantaneous softmax "peakiness." It maintains a per-sample history of predictions, only accepting a pseudo-label if the model's output remains consistent over several iterations. This temporal stability acts as a more reliable filter than raw confidence scores.

3. Adaptive Class-Aware Thresholds

Rather than a static global threshold, LESS employs adaptive thresholds for each class. If a particular class is under-represented in the current set of pseudo-labels, the model lowers the threshold for that class to encourage exploration and prevent the model from ignoring rare or difficult categories.

Experimental Results

The effectiveness of LESS was evaluated on standard benchmarks, with a focus on STL-10, which features high-resolution images and a large unlabeled set.

Performance comparison and ablation study. (a) LESS significantly outperforms FixMatch and sequential SSL. (b) Impact of adaptive thresholds and refinement. (c) Quantitative results on STL-10.

The results demonstrate a significant buffer against the performance "cliff" typically seen in SSL:

  • STL-10 (4 labels/class): Accuracy increased from 35.8% (FixMatch) to 64.2%.
  • STL-10 (80 labels total): Accuracy reached 69.9%, compared to 43.7% for FixMatch.
  • CIFAR-10 (1 label/class): LESS achieved 64.4% accuracy, outperforming FixMatch's 56.1%.

Key Insights

  • Simultaneous Optimization: Training self-supervision and semi-supervision concurrently is superior to sequential "pre-train then fine-tune" approaches. The self-supervised task provides a continuous "safety net" for the feature extractor.
  • Stability is Key: Temporal stability (consistent predictions over time) is a more robust indicator of label correctness than softmax confidence in low-data regimes.

Conclusion and Future Directions

LESS effectively addresses the distillation dilemma, nearly doubling accuracy in extreme low-data scenarios. While highly effective on standard benchmarks, future work remains to scale these temporal history mechanisms to massive datasets like ImageNet and to test robustness against noisy initial labels.

Summary updated

BibTeX
@inproceedings{lucas2022barely,
  author = {Thomas Lucas and Philippe Weinzaepfel and Grégory Rogez},
  title = {{Barely-Supervised Learning: Semi-supervised Learning with Very Few Labeled Images}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i2.20082},
}
Figure