Learning Condensed and Aligned Features for Unsupervised Domain Adaptation Using Label Propagation

Jaeyoon Yoo, Changhwa Park, Yongjun Hong, Sungroh YoonarXiv 2019

Abstract

Unsupervised Domain Adaptation (UDA) aims to transfer knowledge from a labeled source domain to an unlabeled target domain. While existing methods focus on global distribution alignment, they often fail to ensure class-level consistency, leading to overlapping features and poor classification performance. This paper proposes a novel UDA framework that leverages graph-based label propagation and cycle consistency to learn condensed and aligned features. By enforcing a round-trip label check and utilizing dynamic gradient weighting, the model achieves state-of-the-art results on digit and sentiment analysis benchmarks.

Introduction

In machine learning, the discrepancy between training (source) and testing (target) data distributions often leads to a significant drop in model performance. Unsupervised Domain Adaptation (UDA) addresses this by bridging the gap between a labeled source dataset and an unlabeled target dataset. Traditional approaches, such as Domain-Adversarial Neural Networks (DANN), employ a discriminator to align the global feature distributions of both domains. However, global alignment alone is insufficient for robust classification if individual classes remain misaligned or scattered in the feature space.

The Challenge of Class-Level Alignment

The primary flaw in global alignment methods is their failure to ensure that features from the same class in different domains occupy the same region of the feature space. As illustrated in Figure 1, while a baseline DANN model attempts to align distributions, it often results in messy overlaps where the source decision boundary may bisect a target cluster, leading to poor accuracy.

Comparison of feature distributions for a source-only model (a) and the DANN baseline (b). Note the lack of clear class-level alignment in the baseline.

Methodology

To overcome these limitations, the authors propose a three-pronged strategy to create "condensed and aligned" features:

  1. Graph-Based Label Propagation (LP): Rather than treating data points in isolation, the model constructs a fully connected graph where edges represent feature similarity. A "random walk" approach propagates labels from the labeled source data to the unlabeled target data across the manifold. In this model, source nodes act as "absorbing nodes," providing stable anchors for target nodes.
  2. Cycle Consistency: This core innovation introduces a "round-trip" label check. Labels are propagated from Source $\rightarrow$ Target and then back from Target $\rightarrow$ Source. A Cycle Loss is enforced, requiring the returned label to match the original source label. This penalty forces clusters from both domains to move closer together until they are perfectly aligned.
  3. Dynamic Gradient Weighting: To improve training stability, the authors use a bell-shaped weighting function ($\rho_i$) for gradients. This focuses the model's learning on "on-the-fence" samples—those moderately close to a cluster—while ignoring outliers or perfectly classified points.

Experimental Results

The proposed method was evaluated on standard visual digit benchmarks (MNIST, USPS, SVHN) and the Amazon Review text dataset. The results demonstrate significant improvements over existing baselines:

  • Superior Accuracy: On the challenging USPS $\rightarrow$ MNIST task, the model achieved 98.8% accuracy, compared to 73.0% for DANN. In the SVHN $\rightarrow$ MNIST scenario, it reached 94.3%, outperforming nearly all contemporary methods.
  • Feature Visualization: The effectiveness of this approach is most visible in t-SNE visualizations. Unlike previous methods where target features remained scattered, the proposed model produces target clusters that are nearly indistinguishable from the source clusters, as shown in Figure 2.
t-SNE visualization of the proposed model's feature space, showing tight, well-aligned clusters for both source and target domains.

Conclusion and Future Work

By exploiting the entire manifold structure rather than simple one-to-one mappings, this method ensures that features are not just aligned globally, but condensed into clear, class-specific clusters. While the $O(n^3)$ computational complexity of matrix inversion for label propagation presents a scaling challenge, the model's robustness in handling "confusing" classes (such as 0, 4, 6, and 9) marks a significant advancement in UDA. Future work will explore integrating GANs to further refine the data manifold and prevent potential "label switching" errors.

Summary updated

BibTeX
@misc{yoo2019learning,
  author = {Jaeyoon Yoo and Changhwa Park and Yongjun Hong and Sungroh Yoon},
  title = {{Learning Condensed and Aligned Features for Unsupervised Domain Adaptation Using Label Propagation}},
  year = {2019},
  eprint = {1903.04860},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.04860},
}
Figure