PT4AL: Using Self-Supervised Pretext Tasks for Active Learning

John Seon Keun Yi, Minseok Seo, Jongchan Park, Dong-Geol Choi
1/19/2022
cs.CV
contrastive-ssl

Official code: johnsk95/PT4AL (57 stars, Python, PyTorch, last commit 2024-05-03).

Abstract

Labeling a large set of data is expensive. Active learning aims to tackle this problem by asking to annotate only the most informative data from the unlabeled set.

Show full abstract

We propose a novel active learning approach that utilizes self-supervised pretext tasks and a unique data sampler to select data that are both difficult and representative. We discover that the loss of a simple self-supervised pretext task, such as rotation prediction, is closely correlated to the downstream task loss. Before the active learning iterations, the pretext task learner is trained on the unlabeled set, and the unlabeled data are sorted and split into batches by their pretext task losses. In each active learning iteration, the main task model is used to sample the most uncertain data in a batch to be annotated. We evaluate our method on various image classification and segmentation benchmarks and achieve compelling performances on CIFAR10, Caltech-101, ImageNet, and Cityscapes. We further show that our method performs well on imbalanced datasets, and can be an effective solution to the cold-start problem where active learning performance is affected by the randomly sampled initial labeled set.

View on arXivView PDF

Code Implementations(1)

johnsk95/PT4ALOfficial100%
PyTorch

Official PyTorch implementation of "PT4AL: Using Self-Supervised Pretext Tasks for Active Learning (ECCV2022)"

576PythonNov 24, 20212 years ago
active-learningeccv2022pytorchself-supervised-learning

Similar Papers

Cite this paper

@article{yi2022ptal,
  title  = {PT4AL: Using Self-Supervised Pretext Tasks for Active Learning},
  author = {John Seon Keun Yi and Minseok Seo and Jongchan Park and Dong-Geol Choi},
  year   = {2022},
  eprint = {2201.07459},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.07459}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.07459.svg)](https://codeofpaper.com/paper/2201.07459)

Discussion