PAL : Pretext-based Active Learning

Shubhang Bhatnagar, Sachin Goyal, Darshan Tank, Amit Sethi

TL;DR

PAL (Pretext-based Active Learning) introduces a separate "scoring network" that uses self-supervised learning tasks—like predicting image rotations—to identify the most informative unlabeled data. By decoupling data selection from the main task network, PAL achieves state-of-the-art accuracy while remaining significantly more robust to "noisy" or incorrect labels provided by human annotators.

What Problem Does This Paper Address?

Active Learning (AL) is the art of choosing which unlabeled data points are worth the cost of a human expert's time. Traditionally, AL algorithms rely on the "task network" (the model you are actually trying to train) to report its own uncertainty.

However, this approach has two major flaws:

  1. The "Self-Blindness" Problem: Neural networks are notoriously poor at estimating their own uncertainty, especially on data that looks nothing like what they've seen before (out-of-distribution samples).
  2. The Noisy Oracle Problem: Most AL methods assume the human "oracle" is perfect. In reality, experts make mistakes. If a task network is trained on noisy labels, its uncertainty estimates become unreliable, leading to a "garbage in, garbage out" cycle in data selection.

The authors of PAL set out to create a selection strategy that is independent of the task network’s potential confusion and resilient to human error.

Methods

The core innovation of PAL is the use of a Scoring Network that is entirely separate from the main Task Network.

  • Self-Supervised Pretext Tasks: Instead of relying on human labels to learn what data is "novel," the scoring network performs a "pretext" task. For image classification, it tries to predict the random rotation (0, 90, 180, or 270 degrees) applied to an image. If the network fails to predict the rotation of an unlabeled image, it suggests the image is "novel" compared to the current labeled set.
  • Hybrid Scoring: To prevent the model from being fooled by rotationally symmetric objects (like a circle, which looks the same at any angle), the authors add a second head for standard classification. They combine the SSL confusion ($S_S$) with a classification confusion score ($S_C$) based on KL divergence.
  • Diversity via Sub-queries: To avoid picking a batch of 1,000 images that are all "novel" but identical to each other, PAL divides each query into smaller sub-queries. After each sub-query, the scoring network is briefly fine-tuned on the newly selected (but still unlabeled) samples to ensure the next batch covers different parts of the data distribution.

Datasets

The authors evaluated PAL across four diverse computer vision benchmarks:

  • SVHN (Street View House Numbers): Digit classification.
  • CIFAR-10: General object classification.
  • Caltech-101: A dataset with many classes but few samples per class.
  • Cityscapes: A complex semantic segmentation dataset for autonomous driving.

Key Insights and Ideas

  • Decoupling is Key: By using a separate network for scoring, PAL avoids the "conflicting goals" of a task network trying to generalize while simultaneously trying to detect what it doesn't know.
  • SSL as a Robustness Shield: Because self-supervised tasks (like rotation) generate their own labels from the data itself, the scoring network isn't "poisoned" by incorrect human labels. This makes the selection process much more stable in real-world scenarios where human error is inevitable.
  • Efficiency over Complexity: Unlike competing methods like VAAL (which requires training complex Variational Autoencoders), PAL uses standard architectures (ResNet-18) and simple pretext tasks, making it much faster to run.

Key Results

  • Superior Efficiency: On the SVHN dataset, PAL achieved the same accuracy using only 20% of the labeled data that competing methods (VAAL and DBAL) required 30% of the data to reach.
  • Noise Tolerance: In experiments where 20% of the labels provided by the oracle were intentionally corrupted, PAL significantly outperformed all other methods, maintaining a steady upward trajectory in accuracy while others plateaued or dipped.
  • Computational Speed: PAL is roughly 12x faster to train per query round than VAAL (2 hours vs. 24+ hours on an 11GB GPU), making it much more practical for real-time active learning pipelines.
  • Cold Start Capability: PAL handles the "biased initial pool" problem well. If the initial training set is missing certain classes, PAL identifies these "novel" classes much faster than random sampling.

Limitations and Future Work

While PAL is highly effective, the authors note a few areas for growth:

  • Pretext Task Selection: The "rotation" task is excellent for natural images but might not be suitable for all domains (e.g., medical imaging where orientation is fixed and meaningful). Finding the right pretext task for different data modalities remains an open challenge.
  • Architecture Overhead: Although faster than some competitors, PAL still requires maintaining and training a second neural network alongside the main task model.
  • Hyperparameter Tuning: The hybrid score relies on balancing parameters ($\lambda_1, \lambda_2$) that currently require grid searching or validation sets to optimize.

Summary updated

BibTeX
@inproceedings{bhatnagar2021pal,
  author = {Shubhang Bhatnagar and Sachin Goyal and Darshan Tank and Amit Sethi},
  title = {{PAL : Pretext-based Active Learning}},
  booktitle = {BMVC},
  year = {2021},
}
Figure