Skip to main content
QUICK REVIEW

[Paper Review] Debiased Learning from Naturally Imbalanced Pseudo-Labels

Xudong Wang, Zhirong Wu|arXiv (Cornell University)|Jan 5, 2022
Domain Adaptation and Few-Shot LearningComputer Science13 citations
TL;DR

This paper proposes DebiasPL, a novel debiased learning method that addresses natural imbalances in pseudo-labels arising from model predictions, even when source and target data are class-balanced. By combining counterfactual reasoning to remove classifier response bias and adaptive margin loss to adjust for pseudo-label imbalance, the method achieves state-of-the-art results: 26% accuracy gain on ImageNet-1K semi-supervised learning with 0.2% labels and 9% gain on zero-shot learning, outperforming existing methods without requiring knowledge of true classification margins.

ABSTRACT

Pseudo-labels are confident predictions made on unlabeled target data by a classifier trained on labeled source data. They are widely used for adapting a model to unlabeled data, e.g., in a semi-supervised learning setting. Our key insight is that pseudo-labels are naturally imbalanced due to intrinsic data similarity, even when a model is trained on balanced source data and evaluated on balanced target data. If we address this previously unknown imbalanced classification problem arising from pseudo-labels instead of ground-truth training labels, we could remove model biases towards false majorities created by pseudo-labels. We propose a novel and effective debiased learning method with pseudo-labels, based on counterfactual reasoning and adaptive margins: The former removes the classifier response bias, whereas the latter adjusts the margin of each class according to the imbalance of pseudo-labels. Validated by extensive experimentation, our simple debiased learning delivers significant accuracy gains over the state-of-the-art on ImageNet-1K: 26% for semi-supervised learning with 0.2% annotations and 9% for zero-shot learning. Our code is available at: https://github.com/frank-xwang/debiased-pseudo-labeling.

Motivation & Objective

  • To investigate and identify that pseudo-labels—despite originating from balanced data—are inherently imbalanced due to model prediction biases.
  • To address this previously overlooked source of bias in semi-supervised and zero-shot learning, where pseudo-labels create false majorities.
  • To develop a debiasing method that works without prior knowledge of true classification margins, which are typically required in standard debiasing approaches.
  • To improve model generalization and robustness in both balanced and long-tailed data settings by correcting pseudo-label imbalance.

Proposed method

  • The method introduces an adaptive debiasing module that uses counterfactual reasoning to remove classifier response bias by estimating what the model output would be under a hypothetical balanced label distribution.
  • It employs an adaptive margin loss that dynamically adjusts the margin for each class based on the observed imbalance in pseudo-labels, reducing overfitting to head classes.
  • The framework is designed as a plug-in module compatible with existing pseudo-labeling pipelines such as FixMatch and CLIP-based zero-shot learning.
  • It does not require access to ground-truth labels or true classification margins, making it applicable in low-resource and zero-shot settings.
  • The method is trained end-to-end with standard cross-entropy loss, with the debiasing and margin adaptation components integrated into the training objective.
  • Hyperparameters such as the debiasing strength λ and confidence threshold τ are tuned via ablation to balance bias correction and model fit.

Experimental results

Research questions

  • RQ1Why do pseudo-labels produced by state-of-the-art models like CLIP and FixMatch exhibit significant class imbalance even when source and target data are balanced?
  • RQ2Can we correct for bias in pseudo-labels without relying on ground-truth label distributions or true classification margins?
  • RQ3How does debiasing pseudo-labels affect performance in semi-supervised and zero-shot learning benchmarks?
  • RQ4Is the proposed debiasing method universally applicable across different pseudo-labeling frameworks and data distributions?
  • RQ5What is the optimal trade-off between debiasing strength and model generalization in long-tailed and imbalanced data settings?

Key findings

  • DebiasPL achieves a 26% accuracy gain on ImageNet-1K semi-supervised learning with only 0.2% labeled data, significantly outperforming the prior state-of-the-art.
  • On zero-shot learning, the method delivers a 9% improvement over existing methods using CLIP-based pseudo-labeling.
  • The ablation study confirms that both the counterfactual debiasing module and adaptive margin loss are essential, with the full method outperforming ablated variants by over 7% on long-tailed CIFAR10-LT.
  • The optimal debiasing strength λ is found to be 0.5, which outperforms the default value of 1.0, indicating a non-monotonic trade-off between bias correction and model fit.
  • Filtering CLIP predictions with a high confidence threshold (τ = 0.95) increases imbalance but also improves precision; DebiasPL effectively mitigates this trade-off, achieving 67.7% top-1 accuracy on ImageNet-1K ZSL.
  • The method is robust to domain shift and generalizes well across diverse benchmarks, including EuroSAT, MNIST, DTD, GTSRB, and Flowers102, confirming its universality as a plug-in module.

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.