Zeroth- and first-order difference discrimination for unsupervised domain adaptation

Jie Wang, Xing Chen, Xiao-Lei ZhangComplex 2023

Abstract

Unsupervised domain adaptation (UDA) aims to transfer knowledge from a labeled source domain to an unlabeled target domain with a different distribution. Traditional methods often focus on reducing distribution divergence but overlook the geometric consistency of class relationships across domains. This paper introduces ZFOD (Zeroth- and First-Order Difference Discrimination), a framework that simultaneously optimizes four discriminative objectives and introduces a novel first-order difference constraint. This constraint ensures that interclass differences remain consistent across domains, addressing the "discrimination shift" problem. Experimental results on four benchmark datasets show that ZFOD significantly outperforms conventional methods and remains competitive with state-of-the-art deep learning approaches, achieving a peak accuracy of 93.4% on the Office+Caltech10 dataset.

The Challenge: Discrimination Shift in UDA

In UDA, the primary hurdle is the distribution gap. While many methods attempt to align the centers of classes (zeroth-order alignment), they often ignore the internal structure of the data. Even if class centers are aligned, the relative distance between "Class A" and "Class B" might differ between the source and target domains. This "discrimination shift" can lead to warped data representations, where a classifier trained on the source domain fails to generalize to the target domain's geometry.

Methodology: The ZFOD Framework

The proposed ZFOD method operates by integrating two levels of discrimination to preserve both position and relative geometry:

1. Zeroth-Order Discrimination

This component handles the basic positioning of data by jointly optimizing four objectives:

  • Interdomain Intraclass: Minimizing the distance between the same class across different domains.
  • Interdomain Interclass: Maximizing the distance between different classes across different domains.
  • Intradomain Intraclass: Minimizing the distance between samples of the same class within a single domain.
  • Intradomain Interclass: Maximizing the distance between samples of different classes within a single domain.

2. First-Order Difference Discrimination

To solve the discrimination shift, the authors introduce a first-order difference constraint. This novelty forces the differences (relative distances) between class centers in the target domain to match those in the source domain. By aligning these relationships, the model preserves the global structure of the feature space during transfer.

Visual comparison of (a) zeroth-order discrimination, (b) first-order difference discrimination, and (c) the combined ZFOD approach.

3. Robust Pseudolabeling with TSRP

Since the target domain lacks labels, ZFOD relies on pseudolabels. To mitigate the impact of noisy labels, the authors utilize TSRP (Mining Target Domain Intraclass Similarity), which filters low-confidence samples and refines labels using a spanning tree approach. The entire optimization is formulated as a generalized eigenvalue decomposition problem, allowing for efficient, closed-form solutions.

Experimental Results

ZFOD was evaluated against nine conventional and seven deep learning-based methods across four standard benchmarks:

  • Office+Caltech10: ZFOD achieved 93.4% accuracy, the highest among all compared methods.
  • Office-Home: The method reached 65.4%, significantly outperforming standard ResNet-50 (46.1%) and leading over other specialized UDA methods like EasyTL (64.6%).
  • Efficiency: Unlike deep learning models requiring extensive backpropagation, ZFOD’s mathematical formulation makes it computationally efficient for the tested scales.

Conclusion

ZFOD demonstrates that aligning class means is insufficient for robust domain adaptation. By enforcing geometric consistency through first-order difference constraints, conventional manifold-learning approaches can achieve results that rival or exceed complex deep learning architectures. This highlights the importance of preserving the relative relationships between classes when transferring knowledge across disparate domains.

Summary updated

BibTeX
@inproceedings{wang2023zeroth,
  author = {Jie Wang and Xing Chen and Xiao-Lei Zhang},
  title = {{Zeroth- and first-order difference discrimination for unsupervised domain adaptation}},
  booktitle = {Complex},
  year = {2023},
  doi = {10.1007/s40747-023-01283-1},
}
Figure