ABC: Auxiliary Balanced Classifier for Class-imbalanced Semi-supervised Learning

Hyuck Lee, Seungjae Shin, Heeyoung Kim
10/20/2021
cs.LGcs.CV

Official code: LeeHyuck/ABC (37 stars, Python, last commit 2024-11-20).

Abstract

Existing semi-supervised learning (SSL) algorithms typically assume class-balanced datasets, although the class distributions of many real-world datasets are imbalanced. In general, classifiers trained on a class-imbalanced dataset are biased toward the majority classes.

Show full abstract

This issue becomes more problematic for SSL algorithms because they utilize the biased prediction of unlabeled data for training. However, traditional class-imbalanced learning techniques, which are designed for labeled data, cannot be readily combined with SSL algorithms. We propose a scalable class-imbalanced SSL algorithm that can effectively use unlabeled data, while mitigating class imbalance by introducing an auxiliary balanced classifier (ABC) of a single layer, which is attached to a representation layer of an existing SSL algorithm. The ABC is trained with a class-balanced loss of a minibatch, while using high-quality representations learned from all data points in the minibatch using the backbone SSL algorithm to avoid overfitting and information loss.Moreover, we use consistency regularization, a recent SSL technique for utilizing unlabeled data in a modified way, to train the ABC to be balanced among the classes by selecting unlabeled data with the same probability for each class. The proposed algorithm achieves state-of-the-art performance in various class-imbalanced SSL experiments using four benchmark datasets.

View on arXivView PDF

Code Implementations(1)

LeeHyuck/ABCOfficial100%

pytorch implementation of ABC : Auxiliary Balanced Classifier for Class-imbalanced Semi-supervised Learning

3711PythonOct 4, 20212 years ago

Similar Papers

Cite this paper

@article{lee2021abc,
  title  = {ABC: Auxiliary Balanced Classifier for Class-imbalanced Semi-supervised Learning},
  author = {Hyuck Lee and Seungjae Shin and Heeyoung Kim},
  year   = {2021},
  eprint = {2110.10368},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.10368}
}

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

Discussion