Introduction
Domain Adaptation (DA) is a critical technique for leveraging labeled data from a source domain to improve performance in an unlabeled target domain. However, traditional DA assumes identical label spaces. In real-world applications, we often encounter Partial Domain Adaptation (PDA), where the target domain classes are a subset of the source domain classes. Standard DA methods typically attempt to align all source classes with the target domain, inadvertently forcing "outlier" source classes to match target data. This phenomenon, known as negative transfer, can significantly degrade model performance.
Methodology: The Reinforced Transfer Network (RTNet)
To address the challenges of PDA, we propose RTNet, which incorporates a Reinforced Data Selector (RDS). The RDS acts as an intelligent gatekeeper, filtering out irrelevant source samples before the domain alignment process.
Reinforced Data Selector (RDS)
The RDS is formulated as a reinforcement learning agent trained via an actor-critic algorithm. For each batch of source data, the agent performs a binary action: "keep" or "drop" for each sample. This discrete selection process effectively prunes the source domain, ensuring only relevant samples contribute to the adaptation. The RDS is designed as a modular component, demonstrated to work effectively with both moment-matching methods like Deep CORAL and adversarial frameworks like DANN.
Dual-Level Information Integration
RTNet distinguishes itself by utilizing both high-level and pixel-level information for selection:
- High-level Semantic Features: Extracted from the deep feature representation.
- Pixel-level Reconstruction Error: The model employs a target-domain image generator ($G_t$). Source samples that are similar to the target domain yield low reconstruction errors, while outliers result in high errors. This reconstruction error serves as a powerful proxy for "belonging" to the target distribution.
Reward Mechanism
The RL agent is incentivized to select samples that minimize reconstruction error on the target generator. This alignment of rewards ensures that the selector prioritizes source data that is distributionally similar to the target domain.
Experimental Evaluation
The efficacy of RTNet was evaluated across three major benchmark datasets:
- Office-31: A standard DA benchmark with images from Amazon, Webcam, and DSLR (31 classes total, subsetted to 10 for the target).
- Digital Dataset: Comprising SVHN, MNIST, MNIST-M, USPS, and synthetic digits (10 classes total, subsetted to 5 for the target).
- Office-Home: A challenging dataset with 65 classes across four domains (Art, Clipart, Product, Real-World), subsetted to 25 for the target.
Results and Discussion
RTNet consistently outperformed existing state-of-the-art PDA methods such as PADA and ETN. On the Office-31 dataset, it achieved an average accuracy of 96.8%, surpassing the previous best of 95.8%. On the more complex Office-Home dataset, it reached 72.0%, a substantial improvement over standard DA methods which often struggle with the large number of outlier classes.
Beyond outlier class detection, qualitative analysis revealed that the RDS also filters out label noise within relevant classes—such as mislabeled images—further enhancing the robustness of the transfer process. Visualizations using t-SNE confirmed that RTNet produces cleaner, more distinct clusters compared to previous methods, effectively preventing the "smearing" of target data across irrelevant source categories.
Conclusion
RTNet provides a robust framework for Partial Domain Adaptation by integrating reinforcement learning with generative modeling. By filtering source data at both semantic and pixel levels, it successfully mitigates negative transfer and achieves superior performance on diverse computer vision tasks. While the system introduces additional computational complexity due to the RL agent and image generators, its modularity and performance gains make it a significant advancement in selective transfer learning.
Summary updated