Skip to main content
QUICK REVIEW

[Paper Review] Reducing the Covariate Shift by Mirror Samples in Cross Domain Alignment

Zhao Yin, Minquan Wang|arXiv (Cornell University)|Oct 13, 2021
Domain Adaptation and Few-Shot LearningComputer Science62 references5 citations
TL;DR

This paper proposes mirror samples—virtual counterparts of source domain samples in the target domain—to reduce covariate shift in unsupervised domain adaptation without distorting the underlying data distribution. By introducing a mirror loss that aligns these synthetic mirror pairs, the method achieves state-of-the-art performance across multiple benchmarks, including 73.4% average accuracy on Office-Home and 99.2% on USPS→MNIST, with robustness to distance and weighting choices.

ABSTRACT

Eliminating the covariate shift cross domains is one of the common methods to deal with the issue of domain shift in visual unsupervised domain adaptation. However, current alignment methods, especially the prototype based or sample-level based methods neglect the structural properties of the underlying distribution and even break the condition of covariate shift. To relieve the limitations and conflicts, we introduce a novel concept named (virtual) mirror, which represents the equivalent sample in another domain. The equivalent sample pairs, named mirror pairs reflect the natural correspondence of the empirical distributions. Then a mirror loss, which aligns the mirror pairs cross domains, is constructed to enhance the alignment of the domains. The proposed method does not distort the internal structure of the underlying distribution. We also provide theoretical proof that the mirror samples and mirror loss have better asymptotic properties in reducing the domain shift. By applying the virtual mirror and mirror loss to the generic unsupervised domain adaptation model, we achieved consistent superior performance on several mainstream benchmarks. Code is available at https://github.com/CTI-VISION/Mirror-Sample

Motivation & Objective

  • To address the limitation of existing domain alignment methods that distort the underlying data distribution by neglecting structural properties of the true data distribution.
  • To resolve the inherent dilemma in covariate shift reduction: aligning biased marginal distributions breaks the assumption that conditional probabilities remain invariant across domains.
  • To preserve the integrity of the true underlying distribution while improving domain alignment through a novel, structure-aware mechanism.
  • To develop a method that enhances domain alignment without relying on generative modeling or explicit style transfer.
  • To provide theoretical justification for the asymptotic superiority of mirror-based alignment in reducing domain shift.

Proposed method

  • Introduces the concept of (virtual) mirror samples: synthetic counterparts of source domain samples in the target domain, representing equivalent instances under the same class and visual pattern.
  • Constructs mirror pairs by finding the k-nearest neighbors in the target domain for each source sample, using either Euclidean or Gaussian kernel-based distance.
  • Proposes a mirror loss that regularizes the model to align the features of each source sample with its corresponding mirror sample, minimizing the distance between them.
  • Uses a learnable hyperparameter γ to balance the mirror loss with the standard cross-entropy loss during training.
  • Employs a weighted mirror sample strategy where the weight is inversely proportional to the distance, improving robustness to outlier neighbors.
  • Applies the mirror loss within a standard unsupervised domain adaptation framework, such as a classifier head with feature extractor, without modifying the backbone architecture.

Experimental results

Research questions

  • RQ1Can mirror samples help reduce covariate shift without distorting the true underlying data distribution?
  • RQ2Does aligning mirror pairs lead to better generalization and improved performance on cross-domain classification benchmarks?
  • RQ3How robust is the mirror loss to variations in distance metric and neighbor weighting schemes?
  • RQ4Can the mirror-based method outperform existing generative or sample-level alignment methods in unsupervised domain adaptation?
  • RQ5What is the theoretical justification for the improved asymptotic behavior of mirror-based alignment?

Key findings

  • The proposed method achieves 73.4% average accuracy on the Office-Home benchmark, outperforming prior state-of-the-art methods.
  • On the Digits dataset, the method reaches 99.2% accuracy on USPS→MNIST, surpassing CoGAN (89.1%), CyCADA (96.5%), and DRANet (97.8%).
  • The mirror loss is robust to different distance metrics and weighting schemes, with minimal performance drop across variations in k, distance type, and weight definition.
  • Sensitivity analysis shows γ = 1.0 yields optimal performance on both Office-Home and Office-31, with acceptable performance within a range (e.g., γ ∈ [1.0, 2.0] on Office-Home).
  • t-SNE visualizations confirm that mirror loss leads to more consistent and aligned cluster structures between source and target domains over training.
  • Theoretical analysis supports that mirror samples and mirror loss provide better asymptotic convergence properties in reducing domain shift.

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.