Deep Adversarial Domain Adaptation Based on Multi-layer Joint Kernelized Distance

Sitong Mao, Jiaxin Chen, Xiao Shen, Fu-Lai ChungarXiv 2020

Abstract

Domain adaptation refers to the learning scenario that a model learned from the source data is applied on the target data which have the same categories but different distribution. While it has been widely applied, the distribution discrepancy between source data and target data can substantially affect the adaptation performance. The problem has been recently addressed by employing adversarial learning and distinctive adaptation performance has been reported. In this paper, a deep adversarial domain adaptation model based on a multi-layer joint kernelized distance metric is proposed. By utilizing the abstract features extracted from deep networks, the multi-layer joint kernelized distance (MJKD) between the $j$th target data predicted as the $m$th category and all the source data of the $m'$th category is computed. Base on MJKD, a class-balanced selection strategy is utilized in each category to select target data that are most likely to be classified correctly and treat them as labeled data using their pseudo labels. Then an adversarial architecture is used to draw the newly generated labeled training data and the remaining target data close to each other. In this way, the target data itself provide valuable information to enhance the domain adaptation. An analysis of the proposed method is also given and the experimental results demonstrate that the proposed method can achieve a better performance than a number of state-of-the-art methods.

Introduction

In machine learning, models trained on a specific source domain often experience a significant performance drop when applied to a target domain with a different distribution—a phenomenon known as domain shift. Unsupervised Domain Adaptation (UDA) aims to bridge this gap. While adversarial learning has become a popular approach for distribution alignment, it often suffers from the propagation of errors due to misclassified target data. This paper addresses this bottleneck by proposing a "select-and-adapt" framework that identifies reliably predicted target samples to anchor the adversarial alignment process.

Methodology

The proposed framework consists of a two-stage process designed to leverage high-confidence target data as a bridge between domains.

1. Multi-layer Joint Kernelized Distance (MJKD)

To identify reliable target samples, the authors introduce MJKD. This metric measures the distance between a target sample and a source category by comparing features extracted from multiple layers of a deep network. These features are mapped into a Reproducing Kernel Hilbert Space (RKHS) to capture complex relationships across different levels of abstraction.

2. Class-Balanced Data Selection and Adaptation

Using MJKD, the model selects the top $k$ samples for every category. This class-balanced approach prevents bias toward majority classes. These selected samples are assigned pseudo-labels and merged with the source dataset to form an augmented source. In the second stage, a conditional adversarial network aligns this augmented source with the remaining unlabeled target data.

The two-stage framework of the proposed model.

Experiments and Results

The method was evaluated on standard benchmarks: Office-31 and Office-Home. The proposed MJKD-based method achieved state-of-the-art performance, outperforming strong baselines like DAN, DANN, JAN, and CDAN.

  • Office-31: Achieved an average accuracy of 79.4%, outperforming CDAN (77.7%) and DANN (74.3%).
  • Office-Home: Reached an average accuracy of 55.4%, a solid improvement over CDAN (52.9%) and JAN (51.8%).

Visual analysis using t-SNE confirms that the proposed method effectively clusters features across domains, leading to better-defined category boundaries compared to initial features.

t-SNE visualizations of feature alignment.

Conclusion

This work demonstrates that confidently predicted target data can serve as a valuable supervisory signal in UDA. By anchoring adversarial alignment with a class-balanced subset of pseudo-labeled target data, the model achieves superior robustness to domain shift. Sensitivity analysis indicates the method is robust to the proportion of selected target data, with optimal results typically found when selecting 1/6 to 1/4 of the target set. Future work may explore iterative selection strategies to further enhance the reliability of pseudo-labels.

Summary updated

BibTeX
@misc{mao2020deep,
  author = {Sitong Mao and Jiaxin Chen and Xiao Shen and Fu-Lai Chung},
  title = {{Deep Adversarial Domain Adaptation Based on Multi-layer Joint Kernelized Distance}},
  year = {2020},
  eprint = {2010.05696},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.05696},
}
Figure