This is the code implementation of Discriminative Feature Alignment for digit and object classification in Pytorch. The code is implemented by Jing Wang. If you have any questions or find any mistakes in the code implementation, please do not hesitate to email me at jing@ece.ubc.ca
Paper Name: Discriminative Feature Alginment: Improving Transferability of Unsupervised Domain Adaptation by Gaussian-guided Latent Alignment [link to Paper]
One of the key contribution of this paper is introducing a new method to align any two distributions, which is GAN explored. Instead of optimizing the discriminator error, it minimizes the direct L1-distance between the decoded samples in the feature space.
Below are the results that can validate the distribution alignment mechanism of our proposed regularization:
The instructions for the experiments are inside the directories Digit_Classification and Object_Classification.
Please cite our paper if you use our code for your work.
@article{jing2020discriminative,
title={Discriminative Feature Alginment: Improving Transferability of Unsupervised Domain Adaptation by Gaussian-guided Latent Alignment},
author={Wang, Jing and Chen, Jiahong and Lin, Jianzhe and Sigal, Leonid and de Silva, W. Clarence},
journal={arXiv preprint arXiv:2006.12770},
year={2020}
}