Skip to main content
QUICK REVIEW

[Paper Review] Mind the Class Weight Bias: Weighted Maximum Mean Discrepancy for Unsupervised Domain Adaptation

Hongliang Yan, Yukang Ding|arXiv (Cornell University)|May 1, 2017
Domain Adaptation and Few-Shot LearningComputer Science30 references78 citations
TL;DR

This paper identifies class weight bias as a limitation of standard MMD in unsupervised domain adaptation and proposes Weighted MMD (WMMD) with a Classification EM (CEM) scheme to reweight source data by class, enabling a WDAN model that improves domain-invariant representations across multiple CNN architectures and datasets.

ABSTRACT

In domain adaptation, maximum mean discrepancy (MMD) has been widely adopted as a discrepancy metric between the distributions of source and target domains. However, existing MMD-based domain adaptation methods generally ignore the changes of class prior distributions, i.e., class weight bias across domains. This remains an open problem but ubiquitous for domain adaptation, which can be caused by changes in sample selection criteria and application scenarios. We show that MMD cannot account for class weight bias and results in degraded domain adaptation performance. To address this issue, a weighted MMD model is proposed in this paper. Specifically, we introduce class-specific auxiliary weights into the original MMD for exploiting the class prior probability on source and target domains, whose challenge lies in the fact that the class label in target domain is unavailable. To account for it, our proposed weighted MMD model is defined by introducing an auxiliary weight for each class in the source domain, and a classification EM algorithm is suggested by alternating between assigning the pseudo-labels, estimating auxiliary weights and updating model parameters. Extensive experiments demonstrate the superiority of our weighted MMD over conventional MMD for domain adaptation.

Motivation & Objective

  • Highlight how class prior distribution differences (class weight bias) across domains degrade MMD-based DA.
  • Introduce WMMD to reweight source data by class to align with target class priors.
  • Develop a WDAN framework integrating WMMD into CNNs for unsupervised domain adaptation.
  • Provide an efficient linear-time WMMD estimator suitable for mini-batch CNN training.
  • Demonstrate empirical gains over standard MMD-based DA methods on several benchmarks and architectures.

Proposed method

  • Define class-weighted distributions for source and target domains and derive WMMD as a weighted mean-embedding discrepancy (Eq. 8).
  • Introduce auxiliary class weights per source class and estimate them via a Classification EM (CEM) procedure that alternates between pseudo-labeling target data and updating weights (E-step, C-step, M-step).
  • Incorporate WMMD as a regularizer across higher CNN layers, yielding a Weighted Domain Adaptation Network (WDAN) objective that combines source/target losses with WMMD terms (Eq. 11).
  • Provide an unbiased linear-time MMD approximation (Eq. 4, 5) adapted to WMMD (Eq. 9, 10) for efficient gradient-based optimization.
  • Outline training with CEM: compute target posteriors, assign pseudo-labels, update auxiliary weights, and optimize W via mini-batch SGD (E-step, C-step, M-step).
  • Experimentally validate WMMD against MMD-based baselines across multiple CNNs (AlexNet, GoogLeNet, VGG-16) and datasets (Office-10+Caltech-10, ImageCLEF, Digit Recognition, Office-31).

Experimental results

Research questions

  • RQ1Does class weight bias across domains degrade standard MMD-based unsupervised domain adaptation?
  • RQ2Can introducing class-specific auxiliary weights and a CEM training scheme mitigate the impact of class weight bias?
  • RQ3Does the proposed WMMD-based WDAN improve domain-invariant representation and classification accuracy over conventional MMD-based methods across various CNN architectures and benchmarks?
  • RQ4How does WDAN perform under different network layers and hyperparameters (e.g., lambda) and with varying degrees of class bias?
  • RQ5Is WMMD computationally efficient enough for integration into end-to-end CNN training?

Key findings

  • WMMD outperforms conventional MMD on multiple DA benchmarks and CNN architectures, demonstrating robustness to class weight bias.
  • The WDAN model with WMMD yields higher average accuracies across Office-10+Caltech-10, ImageCLEF, Digit Recognition, and Office-31 compared to DAN and other baselines.
  • A Classification EM procedure effectively estimates target posteriors and auxiliary weights, enabling stable optimization of the WDAN objective.
  • Unbiased linear-time WMMD approximation enables scalable integration into mini-batch CNN training.
  • Empirical analyses show WDAN gains are robust to class weight bias and depend on a proper balance parameter lambda in the WDAN objective.

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.