Can Pretext-Based Self-Supervised Learning Be Boosted by Downstream Data? A Theoretical Analysis

Jiaye Teng, Weiran Huang

Self-supervised learning (SSL) has revolutionized AI by enabling models to learn from massive unlabeled datasets through pretext tasks. However, a significant challenge remains: if a pretext task forces a model to learn information irrelevant to the final goal, it can hinder downstream performance. Researchers from Tsinghua University and Huawei Noah’s Ark Lab investigated whether a small amount of labeled downstream data could be used to "refine" input data before SSL begins, uncovering surprising risks in this approach.

The Problem: Redundant Mutual Information

The effectiveness of pretext-based SSL often hinges on a "Conditional Independence" (CI) condition. Ideally, the pretext label (e.g., image rotation) and the downstream label (e.g., object category) should be independent given the learned representation. When this condition is violated, the representation contains "redundant mutual information"—noise that aids the pretext task but complicates the downstream task, increasing sample complexity.

Proposed Method: The Data Processor

The authors explored learning a data processor $f(x)$ to strip away this redundancy using a small pool of labeled data. This processor must satisfy two criteria:

  1. Criterion (C1): $f(x)$ and the pretext label $z$ should be uncorrelated given the downstream label $y$.
  2. Criterion (C2): $f(x)$ must retain sufficient information to predict the downstream label $y$.

They implemented this via a dual-objective loss function: $\mathcal{L} = L_{downstream} - \lambda L_{pretext}$, where the model learns to predict downstream labels while simultaneously failing to predict pretext labels.

Theoretical Findings: The Complexity Trap

The core contribution is a theoretical analysis deriving lower bounds for the number of downstream samples ($n_0$) required. The study proves that if $n_0$ is too small relative to the model's capacity or the representation's dimension, the refinement process fails. Instead of improving the representation, the processor "overfits" to the anti-correlation task, discarding useful downstream information to satisfy the mathematical requirement of ignoring the pretext task.

MSE trends under varying parameters $n_0$, $\lambda$, and $d_f$. High MSE indicates a failure to satisfy the refinement criteria.

As shown in the synthetic experiments (Figure 4), performance is highly sensitive to the number of samples ($n_0$) and the regularization parameter ($\lambda$). When $n_0$ is low, the Mean Squared Error (MSE) of the refined representation remains high, indicating that the processor cannot effectively separate pretext noise from useful features.

Empirical Results on CIFAR-10

The theoretical warnings were confirmed through experiments on CIFAR-10 using a rotation-prediction pretext task. The results demonstrate a dramatic performance gap between standard SSL and the "refined" version when data is scarce.

Accuracy of refined SSL vs. standard SSL on CIFAR-10. Standard SSL significantly outperforms refinement with limited downstream samples ($n_0$).

While standard SSL achieved 74.28% accuracy, the refined version plummeted to 42.49% with 1,000 downstream samples. Even increasing the refinement pool to 15,000 samples only brought accuracy to 44.48%, still far below the baseline. This suggests that the "boost" from downstream data is only achievable once a very high sample threshold is crossed.

Conclusion

This research provides a theoretical justification for the standard practice of keeping SSL pretext tasks independent of downstream labels. Attempting to "pre-clean" data with insufficient labeled samples can lead to destructive interference. For practitioners, the takeaway is clear: unless you have a massive amount of labeled data relative to your model's complexity, standard self-supervised learning remains the safer and more effective choice.

Summary updated

BibTeX
@inproceedings{teng2022can,
  author = {Jiaye Teng and Weiran Huang},
  title = {{Can Pretext-Based Self-Supervised Learning Be Boosted by Downstream Data? A Theoretical Analysis}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
  url = {https://openreview.net/forum?id=Ex6hKeKOer1},
}
Figure