Abstract: In the absence of labeled target data, unsupervised domain adaptation approaches seek to align the marginal distributions of the source and target domains in order to train a classifier for the target. Unsupervised domain alignment procedures are category-agnostic and end up misaligning the categories. We address this problem by deploying a pretrained network to determine accurate labels for the target domain using a multi-stage pseudo-label refinement procedure. The filters are based on the confidence, distance (conformity), and consistency of the pseudo labels. Our results on multiple datasets demonstrate the effectiveness of our simple procedure in comparison with complex state-of-the-art techniques.
Introduction
A fundamental challenge in machine learning is the "domain shift" phenomenon, where a model trained on a source domain (e.g., synthetic images) fails to generalize to a target domain (e.g., real-world photographs). Unsupervised Domain Adaptation (UDA) seeks to mitigate this gap without requiring labeled data in the target domain.
Traditional UDA methods typically rely on global distribution alignment, often utilizing adversarial networks to make source and target features indistinguishable. However, these approaches are frequently category-agnostic. While they may successfully overlap the two domains in a shared feature space, they risk misaligning specific categories—for instance, aligning "car" features from the source with "truck" features in the target. This research introduces DAPL (Domain Adaptation Using Pseudo Labels), a framework that prioritizes category-wise alignment through a rigorous, multi-stage filtering process for pseudo-labels.
The DAPL Framework
Instead of forcing distribution overlap through complex adversarial training, DAPL adopts a "back-to-basics" approach. It utilizes a pre-trained network to generate initial pseudo-labels for the target data, which are then refined through a three-stage filtering pipeline to ensure high label veracity.
Multi-Stage Filtering Mechanisms
The core of the DAPL method lies in its three distinct filters, designed to select only the most reliable target samples for training:
- Confidence Filter: This stage selects samples where the model's prediction probability exceeds a specific threshold. To account for increasing model certainty, this threshold is dynamic and increases as training progresses.
- Conformity Filter: This novel stage addresses the spatial distribution of features. The model employs a Gaussian Mixture Model (GMM) to cluster features in the latent space. A sample only passes this filter if it lies within a certain Mahalanobis distance of its assigned cluster center. This effectively rejects outliers that may have high prediction confidence but do not fit the established distribution of the class.
- Consistency Filter: To eliminate "accidental" correct labels, a temporal constraint is applied. A target sample is only promoted to the training set if it maintains the same pseudo-label across two consecutive training epochs.
Training follows a Target Supervision Schedule. The model begins by training exclusively on labeled source data and gradually incorporates vetted target samples as the filters become increasingly selective, preventing the "confirmation bias" often seen when models train on their own noisy predictions.
Experimental Evaluation
The effectiveness of DAPL was evaluated across three major UDA benchmarks: VisDA (Synthetic-to-Real), Office-Home (diverse visual styles), and Digits (MNIST, USPS, and SVHN).
Key Results
- VisDA Benchmark: DAPL achieved an average accuracy of 81.9%, significantly outperforming standard adversarial methods like DANN (57.4%) and specialized techniques such as ALDA (77.8%).
- Office-Home: The method reached a mean accuracy of 69.9%, establishing a new state-of-the-art performance compared to previous models like TADA (67.6%).
- Ablation Studies: Removal of any single filter (Confidence, Conformity, or Consistency) resulted in a significant degradation of performance, confirming that each stage is vital for maintaining the integrity of the pseudo-labels.
Visual analysis via t-SNE (Figure 1) demonstrates that domain alignment occurs naturally as a byproduct of this classification-focused approach. By coercing the network to group reliable target samples around source centroids, the model achieves category-wise alignment without explicit adversarial constraints.
Discussion and Conclusion
DAPL demonstrates that a well-designed filtering mechanism can outperform significantly more complex adversarial alignment techniques. The research highlights a shift in focus from quantity to quality; while the filters may initially discard a large portion of target samples, training on a smaller set of accurate labels is far more effective than training on a larger, noisier set.
A current limitation of DAPL is its performance on very small target datasets, where the stringent filters may not select enough samples to facilitate effective adaptation. Future work will explore methods to refine and recover initially rejected samples, potentially re-incorporating them as the model's understanding of the target domain matures. Overall, DAPL provides a simple yet powerful framework for bridging the domain gap in unsupervised settings.
Summary updated