Selective Transfer With Reinforced Transfer Network for Partial Domain Adaptation

Zhihong Chen, Chao Chen, Zhaowei Cheng, Boyuan Jiang, Ke Fang, Xinyu Jin

Abstract

One crucial aspect of partial domain adaptation (PDA) is how to select the relevant source samples in the shared classes for knowledge transfer. Previous PDA methods tackle this problem by re-weighting the source samples based on their high-level information (deep features). However, since the domain shift between source and target domains, only using the deep features for sample selection is defective. We argue that it is more reasonable to additionally exploit the pixel-level information for PDA problem, as the appearance difference between outlier source classes and target classes is significantly large. In this paper, we propose a reinforced transfer network (RTNet), which utilizes both high-level and pixel-level information for PDA problem. Our RTNet is composed of a reinforced data selector (RDS) based on reinforcement learning (RL), which filters out the outlier source samples, and a domain adaptation model which minimizes the domain discrepancy in the shared label space. Specifically, in the RDS, we design a novel reward based on the reconstruct errors of selected source samples on the target generator, which introduces the pixel-level information to guide the learning of RDS. Besides, we develope a state containing high-level information, which used by the RDS for sample selection. The proposed RDS is a general module, which can be easily integrated into existing DA models to make them fit the PDA situation. Extensive experiments indicate that RTNet can achieve state-of-the-art performance for PDA tasks on several benchmark datasets.

Introduction: The Challenge of Partial Domain Adaptation

Standard Domain Adaptation (DA) assumes that the source and target domains share an identical set of categories. However, real-world scenarios often involve Partial Domain Adaptation (PDA), where the target domain contains only a subset of the categories found in the source domain.

The primary obstacle in PDA is negative transfer. Standard DA algorithms attempt to align the entire source distribution with the target distribution. When the source domain contains "outlier" classes not present in the target, the model may erroneously map these irrelevant samples to target categories, significantly degrading classification accuracy.

Conceptual comparison between standard domain adaptation (a) and the proposed RTNet (b) for partial domain adaptation.

Methodology: Reinforced Transfer Network (RTNet)

To address the limitations of previous re-weighting schemes, we propose the Reinforced Transfer Network (RTNet). RTNet introduces a hard-filtering mechanism to purify the source data before adaptation.

Reinforced Data Selector (RDS)

The core of RTNet is the Reinforced Data Selector (RDS), an RL-based agent that decides whether to keep or filter each source sample. Unlike prior methods that rely solely on high-level deep features—which can be unreliable under domain shift—RDS incorporates pixel-level information.

The RDS uses an Actor-Critic framework where the reward signal is derived from image reconstruction error. We train a generator ($G_t$) on the target domain. If a source sample is similar to the target domain at a pixel level, the generator can reconstruct it with low error, yielding a high reward for the RL agent. This ensures that the selector favors source samples that are "related" to the target domain in both appearance and semantics.

The architecture of RTNet, illustrating the interaction between the Domain Adaptation Model and the Reinforced Data Selector (RDS).

Domain Adaptation Model

Once the RDS filters the source batch, the remaining relevant samples are passed to a domain adaptation backbone (e.g., Deep CORAL or DANN). This model minimizes the discrepancy between the filtered source distribution and the target distribution within the shared label space. This dual approach allows the model to use high-level semantic info for classification and low-level pixel info for sample selection.

Experimental Results

RTNet was evaluated on several benchmark datasets, including Office-31, Office-Home, and various digit datasets (MNIST, SVHN, USPS).

  • State-of-the-Art Performance: RTNet consistently outperformed existing PDA methods. On the challenging Office-Home dataset, it achieved an average accuracy of 72.0%, a significant improvement over previous PDA methods like PADA (64.5%) and ETN (70.5%).
  • Mitigating Negative Transfer: In scenarios where standard DA methods performed worse than doing no adaptation at all, RTNet consistently improved performance by successfully preventing target samples from being "pulled" toward outlier source clusters.
  • Modular Utility: The RDS proved to be a versatile module, easily integrated into different DA architectures (like CORAL or DANN) to enhance their performance in partial transfer scenarios.

Conclusion

RTNet provides a robust solution for Partial Domain Adaptation by combining high-level semantic features with pixel-level reconstruction rewards. By using reinforcement learning to perform hard data selection, it effectively eliminates the interference of outlier source classes, paving the way for more reliable knowledge transfer in complex, real-world environments.

Summary updated

BibTeX
@inproceedings{chen2020selective,
  author = {Zhihong Chen and Chao Chen and Zhaowei Cheng and Boyuan Jiang and Ke Fang and Xinyu Jin},
  title = {{Selective Transfer With Reinforced Transfer Network for Partial Domain Adaptation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=LQjpJIq8zJR},
}
Figure