Abstract
Unsupervised Domain Adaptation (UDA) aims to transfer knowledge from a label-rich source domain to an unlabeled target domain whose data distributions are different. There is a more realistic scenario where a few target labels are available, namely Semi-Supervised Domain Adaptation (SSDA). The existing methods reduce the inter-domain discrepancy by ignoring the class-level information, which may lead to cross-domain feature mismatch. Therefore, the model fails to learn discriminative feature representation for the target domain. In this paper, we propose a novel SSDA method, namely Adaptive Prototype and Consistency Alignment (APCA). To be specific, the Adaptive Prototype Alignment (APA) strategy employs a novel prototypical loss to realize the class-level alignment and further reduce the inter-domain discrepancy. Moreover, we apply Consistency Alignment (CA) to improve the robustness of the model and produce a robust cluster core which is beneficial to class-level alignment and thus facilitates the reduction of inter-domain discrepancy. We evaluate our approach on four domain adaptation datasets and the experimental results demonstrate the effectiveness of our proposed approach.
Similar content being viewed by others
References
Berthelot D, Carlini N, Cubuk ED, Kurakin A, Sohn K, Zhang H, Raffel C (2019) Remixmatch: Semi-supervised learning with distribution alignment and augmentation anchoring. arXiv preprint arXiv:1911.09785
Berthelot D, Carlini N, Goodfellow I, Papernot N, Oliver A, Raffel CA (2019) Mixmatch: A holistic approach to semi-supervised learning. Advances in neural information processing systems 32
Chen Y-C, Lin Y-Y, Yang M-H, Huang J-B (2019) Crdoco: Pixel-level domain transfer with cross-domain consistency. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 1791–1800
Chen Y, Zhu X, Gong S (2018) Semi-supervised deep learning with memory. In: Proceedings of the European Conference on Computer Vision (ECCV), pp 268–283
Cui K, Huang J, Luo Z, Zhang G, Zhan F, Lu S (2022) Genco: Generative co-training for generative adversarial networks with limited data. Proceedings of the AAAI Conference on Artificial Intelligence 36:499–507
Edeh MO, Dalal S, Obagbuwa IC, Prasad BS, Ninoria SZ, Wajid MA, Adesina AO (2022) Bootstrapping random forest and chaid for prediction of white spot disease among shrimp farmers. Scientific Reports 12(1):20876
Ganin Y, Ustinova E, Ajakan H, Germain P, Larochelle H, Laviolette F, Marchand M, Lempitsky V (2016) Domain-adversarial training of neural networks. J Mach Learn Res 17(1):2096–2030
Goodfellow I, Pouget-Abadie J, Mirza M, Xu B, Warde-Farley D, Ozair S, Courville A, Bengio Y (2014) Generative adversarial nets. Advances in neural information processing systems 27
Grandvalet Y, Bengio Y (2004) Semi-supervised learning by entropy minimization. Advances in neural information processing systems 17
Gretton A, Borgwardt KM, Rasch MJ, Schölkopf B, Smola A (2012) A kernel two-sample test. J Mach Learn Res 13(1):723–773
Hoffman J, Tzeng E, Park T, Zhu J-Y, Isola P, Saenko K, Efros A, Darrell T (2018) Cycada: Cycle-consistent adversarial domain adaptation. In: International Conference on Machine Learning, pp 1989–1998 Pmlr
Huang Z, Xue W, Mao Q, Zhan Y (2017) Unsupervised domain adaptation for speech emotion recognition using pcanet. Multimedia Tools and Applications 76:6785–6799
Huang J, Guan D, Xiao A, Lu S (2021) Fsdr: Frequency space domain randomization for domain generalization. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 6891–6902
Hu L, Kan M, Shan S, Chen X (2018) Duplex generative adversarial network for unsupervised domain adaptation. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp 1498–1507
Jiang P, Wu A, Han Y,Shao Y, Qi M, Li B (2020) Bidirectional adversarial training for semi-supervised domain adaptation. In: IJCAI, pp 934–940
Kang G, Jiang L, Yang Y, Hauptmann AG (2019) Contrastive adaptation network for unsupervised domain adaptation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 4893–4902
Kim T, Kim C (2020) Attract, perturb, and explore: Learning a feature alignment network for semi-supervised domain adaptation. In: European Conference on Computer Vision. Springer, pp 591–607
Kim Y, Kim C (2021) Semi-supervised domain adaptation via selective pseudo labeling and progressive self-training. In: 2020 25th International Conference on Pattern Recognition (ICPR), pp 1059–1066 IEEE
Lee C-Y, Batra T, Baig MH, Ulbricht D (2019) Sliced wasserstein discrepancy for unsupervised domain adaptation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 10285–10295
Liang J, Hu D, Feng J (2021) Domain adaptation with auxiliary target domain-oriented classifier. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 16632–16642
Li D, Hospedales T (2020) Online meta-learning for multi-source and semi-supervised domain adaptation. In: European Conference on Computer Vision. Springer, pp 382–403
Li J, Li G, Shi Y, Yu Y (2021) Cross-domain adaptive clustering for semi-supervised domain adaptation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 2505–2514
Li K, Liu C, Zhao H, Zhang Y, Fu Y (2021) Ecacl: A holistic framework for semi-supervised domain adaptation. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp 8578–8587
Lin Z, Li J, Yao Q, Shen H, Wan L (2022) Adversarial learning with data selection for cross-domain histopathological breast cancer segmentation. Multimedia Tools and Applications 81(4):5989–6008
Liu H, Wang J, Long M (2021) Cycle self-training for domain adaptation. Advances in Neural Information Processing Systems 34:22968–22981
Liu X, Gupta RK, Onyema EM (2022) Chaotic association feature extraction of big data clustering based on internet of things. Informatica 46(3)
Li B, Wang Y, Zhang S, Li D, Keutzer K, Darrell T, Zhao H (2021) Learning invariant representations and risks for semi-supervised domain adaptation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 1104–1113
Long M, Cao Y, Wang J, Jordan M (2015) Learning transferable features with deep adaptation networks. In: International Conference on Machine Learning, pp 97–105 PMLR
Long M, Cao Z, Wang J, Jordan MI (2018) Conditional adversarial domain adaptation. Advances in neural information processing systems 31
Long M, Zhu H, Wang J, Jordan MI (2016) Unsupervised domain adaptation with residual transfer networks. Advances in neural information processing systems 29
Long M, Zhu H, Wang J, Jordan MI (2017) Deep transfer learning with joint adaptation networks. In: International Conference on Machine Learning, pp 2208–2217 PMLR
Mei K, Zhu C, Zou J, Zhang S (2020) Instance adaptive self-training for unsupervised domain adaptation. In: European Conference on Computer Vision. Springer, pp 415–430
Miyato T, Maeda S-i, Koyama M, Ishii S (2018) Virtual adversarial training: a regularization method for supervised and semi-supervised learning. IEEE transactions on pattern analysis and machine intelligence 41(8):1979–1993
Ngo BH, Park JH, Park SJ, Cho SI (2021) Semi-supervised domain adaptation using explicit class-wise matching for domain-invariant and class-discriminative feature learning. IEEE Access 9:128467–128480
Ngo BH, Park JH, Park SJ, Cho SI (2021) Semi-supervised domain adaptation using explicit class-wise matching for domain-invariant and class-discriminative feature learning. IEEE Access 9:128467–128480
Onyema EM, Almuzaini KK, Onu FU, Verma D, Gregory US, Puttaramaiah M, Afriyie RK (2022) Prospects and challenges of using machine learning for academic forecasting. Computational Intelligence and Neuroscience 2022
Onyema EM, Dalal S, Romero CAT, Seth B, Young P, Wajid MA (2022) Design of intrusion detection system based on cyborg intelligence for security of cloud network traffic of smart cities. Journal of Cloud Computing 11(1):1–20
Ouyang J, Wang Y, Li X, Li C (2022) Weakly-supervised text classification with wasserstein barycenters regularization. In: International Joint Conference on Artificial Intelligence, pp 3373–3379
Pei Z, Cao Z, Long M, Wang J (2018) Multi-adversarial domain adaptation. In: Thirty-second AAAI Conference on Artificial Intelligence
Peng X, Bai Q, Xia X, Huang Z, Saenko K, Wang B (2019) Moment matching for multi-source domain adaptation. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp 1406–1415
Peng X, Usman B, Kaushik N, Hoffman J, Wang D, Saenko K (2017) Visda: The visual domain adaptation challenge. arXiv preprint arXiv:1710.06924
Qin C, Wang L, Ma Q, Yin Y, Wang H, Fu Y (2021) Contradictory structure learning for semi-supervised domain adaptation. In: Proceedings of the 2021 SIAM International Conference on Data Mining (SDM), pp 576–584 SIAM
Saenko K, Kulis B, Fritz M, Darrell T (2010) Adapting visual category models to new domains. In: European Conference on Computer Vision. Springer, pp 213–226
Saito K, Kim D, Sclaroff S, Saenko K (2020) Universal domain adaptation through self supervision. Advances in neural information processing systems 33:16282–16292
Saito K, Kim D, Sclaroff S, Darrell T, Saenko K (2019) Semi-supervised domain adaptation via minimax entropy. In: Proceedings of the IEEE/CVF International Conference on Computer Vision,pp 8050–8058
Singh A (2021) Clda: Contrastive learning for semi-supervised domain adaptation. Advances in Neural Information Processing Systems 34:5089–5101
Singh A, Doraiswamy N, Takamuku S, Bhalerao M, Dutta T, Biswas S, Chepuri A, Vengatesan B, Natori N (2021) Improving semi-supervised domain adaptation using effective target selection and semantics. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 2709–2718
Sohn K, Berthelot D, Carlini N, Zhang Z, Zhang H, Raffel CA, Cubuk ED, Kurakin A, Li C-L (2020) Fixmatch: Simplifying semi-supervised learning with consistency and confidence. Advances in neural information processing systems 33:596–608
Sukhbaatar S, Weston J, Fergus R, et al (2015) End-to-end memory networks. Advances in neural information processing systems 28
Sun B, Saenko K (2016) Deep coral: Correlation alignment for deep domain adaptation. In: European Conference on Computer Vision. Springer, pp 443–450
Van der Maaten L, Hinton G (2008) Visualizing data using t-sne. J Mach Learn Res 9(11)
Venkateswara H, Eusebio J, Chakraborty S, Panchanathan S (2017) Deep hashing network for unsupervised domain adaptation. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp 5018–5027
Vu T-H, Jain H, Bucher M, Cord M, Pérez P (2019) Advent: Adversarial entropy minimization for domain adaptation in semantic segmentation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 2517–2526
Wu Z, Xiong Y, Yu SX, Lin D (2018) Unsupervised feature learning via non-parametric instance discrimination. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp 3733–3742
Xiang S, Fu Y, Xie M, Yu Z, Liu T (2020) Unsupervised person re-identification by hierarchical cluster and domain transfer. Multimedia Tools and Applications 79:19769–19786
Xie Q, Dai Z, Hovy E, Luong T, Le Q (2020) Unsupervised data augmentation for consistency training. Advances in Neural Information Processing Systems 33:6256–6268
Xie S, Zheng Z, Chen L, Chen C (2018) Learning semantic representations for unsupervised domain adaptation. In: International Conference on Machine Learning, pp 5423–5432 PMLR
Xu M, Zhang J, Ni B, Li T, Wang C, Tian Q, Zhang W (2020) Adversarial domain adaptation with domain mixup. Proceedings of the AAAI Conference on Artificial Intelligence 34:6502–6509
Xu R, Li G, Yang J, Lin L (2019) Larger norm more transferable: An adaptive feature norm approach for unsupervised domain adaptation. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp 1426–1435
Yang L, Wang Y, Gao M, Shrivastava A, Weinberger KQ, Chao W-L, Lim S-N (2021) Deep co-training with task decomposition for semi-supervised domain adaptation. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, pp 8906–8916
Zhang P, Zhang B, Zhang T, Chen D, Wang Y, Wen F (2021) Prototypical pseudo label denoising and target structure learning for domain adaptive semantic segmentation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 12414–12424
Zhong Z, Zheng L, Luo Z, Li S, Yang Y (2019) Invariance matters: Exemplar memory for domain adaptive person re-identification. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp 598–607
Zhu J-Y, Park T, Isola P, Efros AA (2017) Unpaired image-to-image translation using cycle-consistent adversarial networks. In: Proceedings of the IEEE International Conference on Computer Vision, pp 2223–2232
Acknowledgements
This work was supported by the National Natural Science Foundation of China (No.62276113). Fund receiver: Dr. Ximing Li. This work is funded by the University of Economics Ho Chi Minh City (UEH), Vietnam. Fund receiver: Dr. Dang Ngoc Hoang Thanh.
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
Ethical approval
This article does not contain any studies with human participants or animals performed by any of the authors.
Conflict of interest
All authors declare that they have no conflicts of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Ouyang, J., Zhang, Z., Meng, Q. et al. Adaptive prototype and consistency alignment for semi-supervised domain adaptation. Multimed Tools Appl 83, 9307–9328 (2024). https://doi.org/10.1007/s11042-023-15749-4
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-023-15749-4