Skip to main content
QUICK REVIEW

[Paper Review] ABC: Auxiliary Balanced Classifier for Class-imbalanced Semi-supervised Learning

Hyuck Lee, Seungjae Shin|arXiv (Cornell University)|Oct 20, 2021
Imbalanced Data Classification TechniquesComputer Science38 references41 citations
TL;DR

This paper introduces ABC, a single-layer auxiliary balanced classifier attached to a backbone SSL model to mitigate class imbalance in semi-supervised learning, trained end-to-end with consistency regularization and a class-balanced loss. It achieves state-of-the-art results on multiple class-imbalanced SSL benchmarks.

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. 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.

Motivation & Objective

  • Motivation: many real-world datasets are class-imbalanced and SSL methods often bias toward majority classes.
  • Goal: develop a scalable CISSL algorithm that leverages unlabeled data while balancing predictions via an auxiliary classifier.
  • Contribution: attach a single-layer Auxiliary Balanced Classifier (ABC) to a backbone SSL model and train end-to-end with balanced losses and consistency regularization.
  • Impact: achieve state-of-the-art results on multiple class-imbalanced SSL benchmarks with minimal overhead.

Proposed method

  • Attach a one-layer ABC to the backbone's representation layer to learn balanced decisions using high-quality backbone representations.
  • Train ABC with a class-balanced loss by applying a 0/1 mask on labeled data within each minibatch, enabling balanced supervision without sacrificing backbone representations.
  • Use a Bernoulli-based mask M(x) to oversample minority-class labeled data during ABC training, preserving information from the full minibatch.
  • Employ consistency regularization for unlabeled data with soft pseudo-labels to keep ABC predictions balanced across classes, incorporating a masked loss for unlabeled samples.
  • Gradually adjust the unlabeled data masking in consistency regularization to prevent overfitting to minority classes and ensure stable training.
  • End-to-end training: optimize the sum of the backbone loss, ABC classification loss, and consistency loss, while deploying the ABC for final predictions on new data.

Experimental results

Research questions

  • RQ1Can an auxiliary, single-layer classifier attached to a backbone SSL model learn balanced predictions in class-imbalanced semi-supervised settings?
  • RQ2How does masked, class-balanced training of the ABC interact with high-quality representations learned by the backbone to mitigate bias toward majority classes?
  • RQ3Does integrating consistency regularization with a masked, class-balanced ABC improve minority-class performance without sacrificing overall accuracy?
  • RQ4Is end-to-end training of backbone and ABC more effective than decoupled training approaches for CISSL?
  • RQ5What is the computational overhead of adding ABC compared to backbone-only training on large-scale datasets?

Key findings

  • The proposed ABC method achieves state-of-the-art performance on CIFAR-10-LT, SVHN-LT, and CIFAR-100-LT under various imbalance and labeling conditions.
  • On CIFAR-10-LT with gamma=100 and beta=20%, ABC attains 81.1% overall and 72.0% minority accuracy (example row in Table 1).
  • On SVHN-LT, ABC reaches 92.0% overall and 87.9% minority accuracy (example row in Table 1).
  • On CIFAR-100-LT, ABC achieves 56.3% overall and 43.4% minority accuracy (example row in Table 1).
  • Ablation studies show that removing the 0/1 masking, consistency regularization, or confidence threshold τ degrades performance and biases the ABC toward majority classes.
  • Qualitative analyses (t-SNE, confusion matrices) illustrate that ABC leverages backbone representations to yield more separable clusters and a more balanced class distribution.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.