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

Credal Self-Supervised Learning

Julian Lienen, Eyke Hüllermeier

TL;DR

Credal Self-Supervised Learning (CSSL) introduces a more honest way for AI models to "guess" labels for unlabeled data. Instead of forcing a model to commit to a single probability distribution—which often leads to overconfidence and errors—CSSL allows the model to output credal sets (sets of possible probability distributions). By effectively saying, "The answer is somewhere in this range," this approach reduces confirmation bias, improves model calibration, and significantly speeds up training by utilizing all available data from the very first iteration.

The Problem: Confirmation Bias in Self-Training

In semi-supervised learning (SSL), researchers typically have a small amount of labeled data and a mountain of unlabeled data. A popular technique to leverage the latter is self-training (or pseudo-labeling), where the model predicts labels for the unlabeled data and then treats those predictions as "ground truth" for further training.

However, this introduces a major vulnerability: confirmation bias. If the model makes an early, confident mistake, it reinforces that mistake in subsequent rounds, leading to a downward spiral in accuracy. Current state-of-the-art methods like FixMatch attempt to fix this using a "confidence threshold"—they only learn from unlabeled samples where the model is highly confident (e.g., 95% sure). Unfortunately, this is a blunt instrument. It throws away valuable data early in training and can still suffer when the model is "confidently wrong."

The authors of CSSL argue that even a standard probability distribution (e.g., "80% Cat, 20% Dog") is too precise for a guess. It falsely suggests the learner knows the exact conditional probabilities.

Methods: From Point Estimates to Credal Sets

The core innovation of this paper is replacing standard "hard" or "soft" pseudo-labels with Credal Sets.

  1. Credal Labeling: Instead of a single point in probability space, the model generates a set $Q$ of candidate distributions. If the model is highly uncertain, the set is large (representing "complete ignorance" if it includes all possible distributions). As the model becomes more confident, the set shrinks.
  2. Optimistic Superset Loss: To learn from these sets, the authors use "superset learning." During training, the model calculates the loss by picking the most favorable distribution within the credal set. This "data disambiguation" allows the model to implicitly choose the most plausible label given its current bias and the surrounding data.
  3. Precisiation (The "Shrinking" Mechanism): The size of the credal set is determined by an uncertainty level ($\alpha$). The authors suggest a weighting mechanism that accounts for class priors and moving averages of past predictions. This ensures the model doesn't get stuck in a "cautious" state but gradually commits to more precise labels as it learns.
  4. Integration with FixMatch: The authors swap out the thresholding logic of the famous FixMatch framework with their CSSL logic. Unlike FixMatch, which ignores low-confidence samples, CSSL uses every unlabeled sample from the start, just with very large (cautious) credal sets for the uncertain ones.
CSSL Architecture and Target Set Generation

Key Insights

  • "I Don't Know" is a Set, Not a Uniform Distribution: In standard probability, "I have no idea" is often represented as a uniform distribution (equal probability for all classes). CSSL argues that a uniform distribution is actually a very specific claim. A credal set containing all distributions is a much more faithful representation of total ignorance.
  • No More Wasted Iterations: Because CSSL doesn't use a hard confidence threshold, it doesn't have to wait for the model to "get smart" before it starts using unlabeled data. This leads to much faster convergence.
  • Implicit Calibration: By allowing the model to be "vague" via sets, the resulting trained models are better calibrated. Their confidence scores actually align with their true accuracy, rather than being wildly overconfident.

Datasets and Key Results

The researchers evaluated CSSL on standard computer vision benchmarks, including CIFAR-10, CIFAR-100, SVHN (Street View House Numbers), and STL-10. They focused particularly on "low-label" scenarios to test how the model handles extreme uncertainty.

Error and Expected Calibration Error (ECE) Results
  • Superior Performance in Scarcity: On CIFAR-10 with only 40 labels, CSSL achieved a 6.50% error rate, significantly beating standard FixMatch (11.39%).
  • Better Calibration: CSSL consistently showed lower Expected Calibration Error (ECE). For example, on SVHN (40 labels), CSSL’s ECE was 0.022 compared to FixMatch’s 0.040.
  • Massive Efficiency Gains: Because it uses all data immediately, CSSL can reach competitive accuracy in a fraction of the time. The authors showed that after only 1/8th of the standard training iterations, CSSL outperformed FixMatch variants that had run for the full duration.

Limitations and Future Work

While highly effective, the approach has a few limitations:

  • Simple Set Shapes: The authors used a relatively simple mathematical form for their credal sets (based on a single parameter $\alpha$). More sophisticated "probability-possibility transformations" could yield even better results.
  • Domain Specificity: The paper focuses entirely on image classification. While the framework is generic, its performance on text, audio, or tabular data remains to be proven.
  • Hyperparameter Sensitivity: While CSSL removes the "threshold" hyperparameter, it introduces others related to how the credal sets shrink ("precisiation"), which may require tuning for new domains.

Summary updated

BibTeX
@inproceedings{lienen2021credal,
  author = {Julian Lienen and Eyke Hüllermeier},
  title = {{Credal Self-Supervised Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=ypj3xKoRfmr},
}
Figure