Structure Preserving Generative Cross-Domain Learning

Haifeng Xia, Zhengming Ding

Introduction

In modern machine learning, the "domain shift" phenomenon remains a significant hurdle. Models trained on a labeled source domain (e.g., high-quality studio photos) often fail to generalize to an unlabeled target domain (e.g., real-world webcam images) due to differences in underlying data distributions. Unsupervised Domain Adaptation (UDA) seeks to bridge this gap without requiring target-domain labels. However, conventional methods frequently suffer from misalignment—where distinct classes are incorrectly matched across domains—and a lack of robustness in the resulting target classifiers.

Methodology: Generative Structure-Preserving (GSP)

The proposed Generative cross-domain learning via Structure-Preserving (GSP) framework addresses these challenges by focusing on the intrinsic topological structure of the data rather than just raw feature alignment.

Overview of the GSP architecture, illustrating graph alignment, the generator (G), and the dual-classifier setup ($C_t$ and $C_s$).

The GSP model incorporates several innovative components:

  • Cross-Domain Graph Alignment: Both domains are modeled as graphs where nodes represent samples and edges represent similarities. By utilizing the Gromov-Wasserstein (GW) discrepancy, the framework aligns these graphs by comparing pairwise distances between samples across domains. This approach is robust to feature-level shifts because it preserves the relative relationships (topology) between classes.
  • Two-Level Alignment: The alignment occurs at both the edge-level (discovering topological matching) and the node-level (directly aligning feature representations based on the learned matching).
  • Source-Supervised Target Classifier ($C_t$): A target-specific classifier is trained by "transforming" target features into the source domain using the graph matching results ($A_{st}$), effectively leveraging source labels for target data.
  • Symmetric Adversarial Training: The model employs two classifiers, $C_s$ and $C_t$, in an adversarial configuration. The generator is tasked with producing features that minimize the discrepancy between these two "views," ensuring the learned representations are both domain-invariant and highly discriminative.

Experimental Evaluation

The GSP model was rigorously tested on three standard UDA benchmarks: Office-31, Office-Home, and ImageCLEF-DA.

Quantitative Results

GSP consistently outperformed state-of-the-art baselines such as SymNets, DANN, and JAN:

  • Office-31: Achieved an average accuracy of 89.5%, with a peak of 94.5% on the challenging Amazon $\to$ DSLR task.
  • Office-Home: Reached an average of 68.4%, showing significant improvements in cross-domain tasks involving artistic and clip-art images.
  • ImageCLEF-DA: Maintained superior performance, notably achieving 97.2% on the Pascal $\to$ Caltech task.

Qualitative Analysis

The effectiveness of the structure-preserving approach is clearly visible through t-SNE visualizations of the learned feature space.

t-SNE visualizations comparing standard ResNet features with GSP features on Office-31 and Office-Home datasets. GSP produces tighter, better-separated clusters for target data.

As shown in the visualizations, GSP produces significantly tighter and more distinct clusters for target data compared to standard ResNet features. This indicates successful class-level alignment and improved discriminative power in the target domain.

Discussion and Conclusion

The core insight of GSP is that while feature values may shift across domains, the topological structure—the relative relationships between classes—often remains constant. By using graph matching as a "bridge," the model can effectively hallucinate labels for target data based on structural similarity to the source.

Despite its success, the model exhibits sensitivity to the hyperparameter $\lambda_1$, which balances the domain adversarial term, requiring careful tuning. Additionally, the computational cost of Gromov-Wasserstein matching may scale with dataset size. Future work could explore more complex graph structures or extend the framework to partial and open-set domain adaptation scenarios. In summary, GSP represents a significant step forward in UDA by prioritizing structural integrity in cross-domain feature learning.

Summary updated

BibTeX
@inproceedings{xia2020structure,
  author = {Haifeng Xia and Zhengming Ding},
  title = {{Structure Preserving Generative Cross-Domain Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00442},
}
Figure