Pareto Domain Adaptation

Fangrui Lv, Jian Liang, Kaixiong Gong, Shuang Li, Chi Harold Liu +3 more
12/8/2021
cs.LG

Official code: BIT-DA/ParetoDA (11 stars, Python, last commit 2021-12-13).

Abstract

Domain adaptation (DA) attempts to transfer the knowledge from a labeled source domain to an unlabeled target domain that follows different distribution from the source. To achieve this, DA methods include a source classification objective to extract the source knowledge and a domain alignment objective to diminish the domain shift, ensuring knowledge transfer.

Show full abstract

Typically, former DA methods adopt some weight hyper-parameters to linearly combine the training objectives to form an overall objective. However, the gradient directions of these objectives may conflict with each other due to domain shift. Under such circumstances, the linear optimization scheme might decrease the overall objective value at the expense of damaging one of the training objectives, leading to restricted solutions. In this paper, we rethink the optimization scheme for DA from a gradient-based perspective. We propose a Pareto Domain Adaptation (ParetoDA) approach to control the overall optimization direction, aiming to cooperatively optimize all training objectives. Specifically, to reach a desirable solution on the target domain, we design a surrogate loss mimicking target classification. To improve target-prediction accuracy to support the mimicking, we propose a target-prediction refining mechanism which exploits domain labels via Bayes' theorem. On the other hand, since prior knowledge of weighting schemes for objectives is often unavailable to guide optimization to approach the optimal solution on the target domain, we propose a dynamic preference mechanism to dynamically guide our cooperative optimization by the gradient of the surrogate loss on a held-out unlabeled target dataset. Extensive experiments on image classification and semantic segmentation benchmarks demonstrate the effectiveness of ParetoDA

View on arXivView PDF

Code Implementations(1)

BIT-DA/ParetoDAOfficial100%

[NIPS 2021] Code release for "Pareto Domain Adaptation"

111PythonNov 23, 20214 years ago

Similar Papers

Cite this paper

@article{lv2021pareto,
  title  = {Pareto Domain Adaptation},
  author = {Fangrui Lv and Jian Liang and Kaixiong Gong and Shuang Li and Chi Harold Liu and Han Li and Di Liu and Guoren Wang},
  year   = {2021},
  eprint = {2112.04137},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.04137}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.04137.svg)](https://codeofpaper.com/paper/2112.04137)

Discussion