Skip to main content
Log in

Adaptive prototype and consistency alignment for semi-supervised domain adaptation

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Data Availibility Statement

The datasets analyzed during the current study are available in the [DomainNet] repository [40]; the [Office-Home] repository [52]; the [Office31] repository [43]; and the [VisDAT2017] repository [41].

References

  1. 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

  2. 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

  3. 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

  4. 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

  5. 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

    Article  Google Scholar 

  6. 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

    Article  Google Scholar 

  7. 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

    MathSciNet  Google Scholar 

  8. 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

  9. Grandvalet Y, Bengio Y (2004) Semi-supervised learning by entropy minimization. Advances in neural information processing systems 17

  10. 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

    MathSciNet  Google Scholar 

  11. 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

  12. 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

    Article  Google Scholar 

  13. 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

  14. 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

  15. 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

  16. 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

  17. 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

  18. 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

  19. 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

  20. 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

  21. 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

  22. 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

  23. 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

  24. 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

    Article  Google Scholar 

  25. Liu H, Wang J, Long M (2021) Cycle self-training for domain adaptation. Advances in Neural Information Processing Systems 34:22968–22981

    Google Scholar 

  26. Liu X, Gupta RK, Onyema EM (2022) Chaotic association feature extraction of big data clustering based on internet of things. Informatica 46(3)

  27. 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

  28. 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

  29. Long M, Cao Z, Wang J, Jordan MI (2018) Conditional adversarial domain adaptation. Advances in neural information processing systems 31

  30. Long M, Zhu H, Wang J, Jordan MI (2016) Unsupervised domain adaptation with residual transfer networks. Advances in neural information processing systems 29

  31. 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

  32. 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

  33. 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

    Article  Google Scholar 

  34. 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

    Article  Google Scholar 

  35. 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

    Article  Google Scholar 

  36. 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

  37. 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

    Google Scholar 

  38. 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

  39. Pei Z, Cao Z, Long M, Wang J (2018) Multi-adversarial domain adaptation. In: Thirty-second AAAI Conference on Artificial Intelligence

  40. 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

  41. Peng X, Usman B, Kaushik N, Hoffman J, Wang D, Saenko K (2017) Visda: The visual domain adaptation challenge. arXiv preprint arXiv:1710.06924

  42. 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

  43. 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

  44. Saito K, Kim D, Sclaroff S, Saenko K (2020) Universal domain adaptation through self supervision. Advances in neural information processing systems 33:16282–16292

    Google Scholar 

  45. 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

  46. Singh A (2021) Clda: Contrastive learning for semi-supervised domain adaptation. Advances in Neural Information Processing Systems 34:5089–5101

    Google Scholar 

  47. 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

  48. 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

    Google Scholar 

  49. Sukhbaatar S, Weston J, Fergus R, et al (2015) End-to-end memory networks. Advances in neural information processing systems 28

  50. Sun B, Saenko K (2016) Deep coral: Correlation alignment for deep domain adaptation. In: European Conference on Computer Vision. Springer, pp 443–450

  51. Van der Maaten L, Hinton G (2008) Visualizing data using t-sne. J Mach Learn Res 9(11)

  52. 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

  53. 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

  54. 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

  55. 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

    Article  Google Scholar 

  56. 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

    Google Scholar 

  57. 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

  58. 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

    Article  Google Scholar 

  59. 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

  60. 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

  61. 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

  62. 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

  63. 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

Download references

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

Authors

Corresponding authors

Correspondence to Ximing Li or Dang Ngoc Hoang Thanh.

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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-023-15749-4

Keywords

Navigation