Quantitative Estimation of Target Task Performance from Unsupervised Pretext Task in Semi/Self-Supervised Learning

Lin-Han Jia, Siyu Han, Wen-Chao Hu, Jie-Jing Shao, Wen-Da Wei, Zhi Zhou, Lan-Zhe Guo, Yu-Feng Li

Introduction

Choosing the right unsupervised pretext task for Semi-Supervised and Self-Supervised Learning (SSL) typically requires expensive trial-and-error training. Pretext tasks—such as predicting image rotation or ensuring consistency between different crops—help models learn from unlabeled data. However, their success relies on the hidden assumption that the pretext task aligns with the target task. For instance, enforcing "rotation invariance" benefits dog classification but harms digit recognition (e.g., distinguishing a '6' from a '9').

Currently, researchers must perform full-scale training and validation to evaluate a pretext task's benefit, which is computationally expensive and time-consuming. This paper introduces a theoretical framework and a low-cost estimation method to quantitatively predict target task performance before full-scale training.

Methodology: The Three Pillars of Pretext Tasks

The authors approach SSL through the lens of Knowledge-Integrated Machine Learning, treating pretext tasks as a method of injecting prior knowledge (assumptions) into a model. They derive a theoretical bound for generalization error based on three core factors:

  1. Learnability: Can the model actually satisfy the assumption? This is estimated by training a small model on a tiny unlabeled dataset.
  2. Reliability: Does the assumption hold true for the real data distribution? This is evaluated by comparing pretext predictions against a "surrogate oracle" (a model trained on a very small labeled set).
  3. Completeness: Does satisfying the assumption actually help solve the target task? This is measured by the prediction consistency between the pretext-trained model and the target-trained model.

Using these factors, the authors propose a low-cost estimation algorithm that requires only a tiny fraction of data (e.g., 5 labeled and 50 unlabeled samples per class) to calculate these indicators and generate a final performance estimate.

Datasets and Benchmark

The methodology is evaluated across standard computer vision benchmarks, including CIFAR-10, CIFAR-100, ImageNet-200, and Office-31 (for out-of-distribution testing). Furthermore, the authors introduce a novel benchmark comprising 115 unsupervised pretext tasks, created by varying the types and strengths of 11 common augmentations (e.g., Rotation, Shear, ColorJitter).

Key Insights and Results

  • High Correlation and Extreme Efficiency: The estimated performance demonstrates a strong Pearson correlation with actual full-training performance (0.785 for semi-supervised and 0.820 for self-supervised learning on CIFAR-10). Remarkably, the estimation process takes only ~30 seconds on a single A800 GPU, compared to over 1,500 seconds for full training—a roughly 50x speedup.
  • Low Data Requirement: The estimation remains highly effective even with as few as 5 labeled samples per class, making it practical for true low-resource scenarios.
  • The "Shortcut" Problem: The framework explains why some SSL methods fail to generalize: even if a model learns a pretext task perfectly (high learnability) and the assumption is true (high reliability), it can still fail if the assumption is "incomplete."
  • Strategy Independence: The benefit of a pretext task is largely inherent to the task itself rather than the training strategy. Whether using joint semi-supervised training or two-stage self-supervised pre-training, the relative performance of different pretext tasks remains highly correlated.
  • Algorithmic Robustness: The estimation holds up across popular SSL algorithms, including FixMatch, UDA, SimCLR, and MoCo.

Limitations and Future Work

The estimation relies on a surrogate oracle trained on a small labeled set; if this labeled data is extremely noisy or sparse, estimation accuracy may degrade. While the current benchmark includes 115 tasks based on standard augmentations, future work will explore more complex, domain-specific priors. Finally, the authors plan to investigate how these indicators scale toward "foundation model" sizes, where selecting the optimal pre-training objective is a critical, high-cost decision.

Summary updated

BibTeX
@inproceedings{jia2026quantitative,
  author = {Lin-Han Jia and Siyu Han and Wen-Chao Hu and Jie-Jing Shao and Wen-Da Wei and Zhi Zhou and Lan-Zhe Guo and Yu-Feng Li},
  title = {{Quantitative Estimation of Target Task Performance from Unsupervised Pretext Task in Semi/Self-Supervised Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=kt2CGsdTyt},
}
Figure