All Labels Are Not Created Equal: Enhancing Semi-supervision via Label Grouping and Co-training

Islam Nassar, Samitha Herath, Ehsan Abbasnejad, Wray Buntine, Gholamreza Haffari
4/12/2021
cs.CVcs.LG

Official code: islam-nassar/semco (46 stars, Python, last commit 2022-02-01).

Abstract

Pseudo-labeling is a key component in semi-supervised learning (SSL). It relies on iteratively using the model to generate artificial labels for the unlabeled data to train against.

Show full abstract

A common property among its various methods is that they only rely on the model's prediction to make labeling decisions without considering any prior knowledge about the visual similarity among the classes. In this paper, we demonstrate that this degrades the quality of pseudo-labeling as it poorly represents visually similar classes in the pool of pseudo-labeled data. We propose SemCo, a method which leverages label semantics and co-training to address this problem. We train two classifiers with two different views of the class labels: one classifier uses the one-hot view of the labels and disregards any potential similarity among the classes, while the other uses a distributed view of the labels and groups potentially similar classes together. We then co-train the two classifiers to learn based on their disagreements. We show that our method achieves state-of-the-art performance across various SSL tasks including 5.6% accuracy improvement on Mini-ImageNet dataset with 1000 labeled examples. We also show that our method requires smaller batch size and fewer training iterations to reach its best performance. We make our code available at https://github.com/islam-nassar/semco.

View on arXivView PDF

Code Implementations(1)

islam-nassar/semcoOfficial100%

Implementation of the paper All Labels Are Not Created Equal: Enhancing Semi-supervision via Label Grouping and Co-training

462PythonMar 22, 20214 years ago

Similar Papers

Cite this paper

@article{nassar2021labels,
  title  = {All Labels Are Not Created Equal: Enhancing Semi-supervision via Label Grouping and Co-training},
  author = {Islam Nassar and Samitha Herath and Ehsan Abbasnejad and Wray Buntine and Gholamreza Haffari},
  year   = {2021},
  eprint = {2104.05248},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.05248}
}

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/2104.05248.svg)](https://codeofpaper.com/paper/2104.05248)

Discussion