Introduction
Machine learning models frequently encounter the challenge of dataset bias, where a model trained on a specific "source domain" (e.g., high-resolution studio photography) fails to generalize to a "target domain" (e.g., low-resolution webcam footage). While Domain Adaptation (DA) techniques aim to bridge this gap, they typically fall into two extremes: expensive supervised fine-tuning or complex unsupervised feature alignment.
This paper proposes a semi-supervised middle ground. By utilizing a small budget of human-annotated data, the authors employ Deep Q-Learning to learn an optimal sampling policy. This policy identifies which target-domain images are most informative for training a classifier, effectively leveraging a source model's knowledge as a "noisy teacher."
Methodology
The proposed system frames data selection as a reinforcement learning (RL) problem. The architecture consists of several interacting components that form a closed loop:
- The Q-Agent (DDQN): A Dueling Deep Q-Network that observes the current state of the target classifier and selects which new images to add to the training set.
- Source and Target Classifiers: A pre-trained ResNet-50 source classifier provides initial "noisy" labels for target data. A multi-class SVM (the target classifier) is then trained on the samples selected by the agent.
- Domain Discriminator: A binary SVM that distinguishes between source and target domains. It is used to identify target images visually distant from the source to form a strategic "Reward Set."
- Reward Mechanism: The agent receives a reward based on the change in accuracy on the small, human-annotated Reward Set after retraining the target classifier.
By iterating through this loop, the agent learns a policy that filters the source model's noisy predictions, selecting only the most beneficial samples to improve target-domain generalization.
Experimental Results
The method was evaluated using the Office-31 dataset, which includes images from three domains: Amazon (A), Webcam (W), and DSLR (D). The study tested all six possible transfer tasks (e.g., A → D, D → A).
As shown in the results table below, the learned sampling policy consistently outperformed the baseline (a model trained on the source domain without adaptation). For instance, on the Amazon to DSLR (A → D) task, the method achieved an accuracy of 86.1%, a significant jump from the 76.9% baseline.
While the RL-based approach showed marked improvement over the baseline, it did not always surpass state-of-the-art unsupervised methods like Kang et al. [13], which utilize deep feature alignment. This performance gap is largely attributed to the use of fixed feature representations in the RL loop; the backbone ResNet-50 was not updated during the sampling process.
Conclusion
This research demonstrates that reinforcement learning can effectively automate the selection of training data for domain adaptation. By learning a custom sampling strategy rather than relying on fixed heuristics, the system maximizes the utility of a limited annotation budget. Future work aims to integrate feature learning directly into the Q-agent loop, potentially allowing the model to optimize both the sampling policy and visual representations simultaneously.
Summary updated