Proceedings

Indirect Alignment and Relationship Preservation for Domain Generalization

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 2054-2062.

https://doi.org/10.24963/ijcai.2025/229

Abstract

Domain generalization (DG) aims to train models on multiple source domains to generalize effectively to unseen target domains, addressing performance degradation caused by domain shifts. Many existing methods rely on direct feature alignment, which disrupts natural sequence relationships, causes misalignment and feature distortion, and leads to overfitting, especially with significant domain gaps. To tackle these issues, we propose a novel DG approach with two key modules: the Sample Difference Keeping (SDK) module, which preserves natural sequence relationships to enhance feature diversity and separability, and the Sample Consistency Alignment (SCA) module, which achieves indirect alignment by modeling inter-class and inter-domain relationship consistencies. This approach mitigates overfitting and misalignment, ensuring adaptability to significant domain gaps. Extensive experiments demonstrate that our framework consistently outperforms state-of-the-art methods.

  1. CORAL [Sun and Saenko, 2016] 51.6 ± 2.4 42.2 ± 1.0 57.0 ± 1.0 39.8 ± 2.9
  2. 7 DANN [Ganin et al., 2016] 51.1 ± 3.5 40.6 ± 0.6 57.4 ± 0.5 37.7 ± 1.8 46.7 CDANN [Li et al., 2018b] 47.0 ± 1.9 41.3 ± 4.8 54.9 ± 1.7 79.8 ± 2.3 45.8 MMD [Yu et al., 2024] 41.9 ± 3.0 34.8 ± 1.0 57.0 ± 1.9 35.2 ± 1.8 42.2 MLDG [Li et al., 2018a] 54.2 ± 3.0 44.3 ± 1.1 55.6 ± 0.3 36.9 ± 2.2 47
  3. 8 IRM [Ahuja et al., 2020] 54.6 ± 1.3 39.8 ± 1.9 56.2 ± 1.8 39.6 ± 0.8 47.6 RSC [Huang et al., 2020] 50.2 ± 2.2 39.2 ± 1.4 56.3 ± 1.4 40.8 ± 0.6 46.6 SupCon [Khosla et al., 2020] 61.4 ± 1.0 46.0 ± 2.2 57.9 ± 0.7 37.5 ± 0.9 50.7 MTL [Blanchard et al., 2021] 49.3 ± 1.2 39.6 ± 6.3 55.6 ± 1.1 37.8 ± 0.8 45.6 ERM [Vapnik, 1999] 54.3 ± 0.4 42.5 ± 0.7 55.6 ± 0.3 38.8 ± 2.5 47.8 Mixstyle [Zhou et al., 2021] 54.3 ± 1.1 34.1 ± 1.1 55.9 ± 1.1 31.7 ± 2.1 44.0 SagNet [Nam et al., 2021] 53.0 ± 2.9 43.0 ± 2.5 57.9 ± 0.6 40.4 ± 1.3 48.6 SWAD [Cha et al., 2021] 55.4 ± 0.0 44.9 ± 1.1 59.7 ± 0.4 39.9 ± 0.2 50.0 PCL [Yao et al., 2022] 58.7 ± 0.7 46.3 ± 1.5 60.0 ± 0.7 43.6 ± 0.6 52.1 IAIE-Pair[Hu et al., 2024] 61.3 ± 1.0 50.0 ± 1.8 57.6 ± 0.6 40.3 ± 1.1 52.2 IAIE-Proxy[Hu et al., 2024] 59.5 ± 1.4 50.9 ± 1.0 58.5 ± 0.3 41.6 ± 0.6 52.6 Ours 61.9 ± 1.3 53.0 ± 1.7 57.3 ± 1.4 43.3 ± 2.2
  4. [Ahuja et al., 2020] Kartik Ahuja, Karthikeyan Shanmugam, Kush Varshney, and Amit Dhurandhar. Invariant risk min- imization games. In International Conference on Machine Learning, pages 145-155. PMLR, 2020.
  5. [Beery et al., 2018] Sara Beery, Grant Van Horn, and Pietro Perona. Recognition in terra incognita. In Proceedings of the European conference on computer vision (ECCV), pages 456-473, 2018.
  6. [Blanchard et al., 2021] Gilles Blanchard, Aniket Anand Deshmukh, Urun Dogan, Gyemin Lee, and Clayton Scott. Domain generalization by marginal transfer learn- ing. Journal of machine learning research, 22(2):1-55, 2021.
  7. [Cakir et al., 2019] Fatih Cakir, Kun He, Xide Xia, Brian Kulis, and Stan Sclaroff. Deep metric learning to rank. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 1861-1870, 2019.
  8. [Cha et al., 2021] Junbum Cha, Sanghyuk Chun, Kyungjae Lee, Han-Cheol Cho, Seunghyun Park, Yunsung Lee, and Sungrae Park. Swad: Domain generalization by seeking flat minima. Advances in Neural Information Processing Systems, 34:22405-22418, 2021.
  9. [Chen et al., 2023a] Jin Chen, Zhi Gao, Xinxiao Wu, and Jiebo Luo. Meta-causal learning for single domain gen- eralization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7683- 7692, 2023.
  10. [Chen et al., 2023b] Zining Chen, Weiqiu Wang, Zhicheng Zhao, Fei Su, Aidong Men, and Yuan Dong. Instance paradigm contrastive learning for domain generalization. IEEE Transactions on Circuits and Systems for Video Technology, 34(2):1032-1042, 2023.
  11. [Dong et al., 2022] Benyu Dong, Chung-Ming Own, and Qinghua Hu. Domain generalization via maximum intra- class average diameter minimization. In 2022 Interna- tional Joint Conference on Neural Networks (IJCNN), pages 1-8. IEEE, 2022.
  12. [Fang et al., 2013] Chen Fang, Ye Xu, and Daniel N Rock- more. Unbiased metric learning: On the utilization of mul- tiple datasets and web images for softening bias. In Pro- ceedings of the IEEE International Conference on Com- puter Vision, pages 1657-1664, 2013.
  13. [Fu et al., 2021] Zheren Fu, Zhendong Mao, Chenggang Yan, An-An Liu, Hongtao Xie, and Yongdong Zhang. Self-supervised synthesis ranking for deep metric learn- ing. IEEE Transactions on Circuits and Systems for Video Technology, 32(7):4736-4750, 2021.
  14. [Ganin et al., 2016] Yaroslav Ganin, Evgeniya Ustinova, Hana Ajakan, Pascal Germain, Hugo Larochelle, Franc ¸ois Laviolette, Mario March, and Victor Lempitsky. Domain- adversarial training of neural networks. Journal of ma- chine learning research, 17(59):1-35, 2016.
  15. [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recog- nition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770-778, 2016.
  16. [He et al., 2020] Kaiming He, Haoqi Fan, Yuxin Wu, Sain- ing Xie, and Ross Girshick. Momentum contrast for unsu- pervised visual representation learning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 9729-9738, 2020.
  17. [He et al., 2023] Huan He, Owen Queen, Teddy Koker, Con- suelo Cuevas, Theodoros Tsiligkaridis, and Marinka Zit- nik. Domain adaptation for time series under feature and label shifts. In International Conference on Machine Learning, pages 12746-12774. PMLR, 2023.
  18. [Hu et al., 2024] Jiajun Hu, Lei Qi, Jian Zhang, and Yinghuan Shi. Domain generalization via inter-domain alignment and intra-domain expansion. Pattern Recogni- tion, 146:110029, 2024.
  19. [Huang et al., 2020] Zeyi Huang, Haohan Wang, Eric P Xing, and Dong Huang. Self-challenging improves cross- domain generalization. In Computer vision-ECCV 2020: 16th European conference, Glasgow, UK, August 23-28, 2020, proceedings, part II 16, pages 124-140. Springer, 2020.
  20. [Khosla et al., 2020] Prannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna, Yonglong Tian, Phillip Isola, Aaron Maschinot, Ce Liu, and Dilip Krishnan. Supervised con- trastive learning. Advances in neural information process- ing systems, 33:18661-18673, 2020.
  21. [Kim et al., 2021] Daehee Kim, Youngjun Yoo, Seunghyun Park, Jinkyu Kim, and Jaekoo Lee. Selfreg: Self- supervised contrastive regularization for domain general- ization. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 9619-9628, 2021.
  22. [Li et al., 2017] Da Li, Yongxin Yang, Yi-Zhe Song, and Timothy M Hospedales. Deeper, broader and artier do- main generalization. In Proceedings of the IEEE interna- tional conference on computer vision, pages 5542-5550, 2017.
  23. [Li et al., 2018a] Da Li, Yongxin Yang, Yi-Zhe Song, and Timothy Hospedales. Learning to generalize: Meta- learning for domain generalization. In Proceedings of the AAAI conference on artificial intelligence, volume 32, 2018.
  24. [Li et al., 2018b] Ya Li, Xinmei Tian, Mingming Gong, Ya- jing Liu, Tongliang Liu, Kun Zhang, and Dacheng Tao. Deep domain generalization via conditional invariant ad- versarial networks. In Proceedings of the European con- ference on computer vision (ECCV), pages 624-639, 2018.
  25. [Li et al., 2023] Mingkang Li, Jiali Zhang, Wen Zhang, Lu Gong, and Zili Zhang. Style augmentation and domain- aware parametric contrastive learning for domain gen- eralization. In International Conference on Knowledge Science, Engineering and Management, pages 211-224. Springer, 2023.
  26. [Motiian et al., 2017] Saeid Motiian, Marco Piccirilli, Don- ald A Adjeroh, and Gianfranco Doretto. Unified deep su- pervised domain adaptation and generalization. In Pro- ceedings of the IEEE international conference on com- puter vision, pages 5715-5725, 2017.
  27. [Nam et al., 2021] Hyeonseob Nam, HyunJae Lee, Jongchan Park, Wonjun Yoon, and Donggeun Yoo. Reducing do- main gap by reducing style bias. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8690-8699, 2021.
  28. [Russakovsky et al., 2015] Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recogni- tion challenge. International journal of computer vision, 115:211-252, 2015.
  29. [Schroff et al., 2015] Florian Schroff, Dmitry Kalenichenko, and James Philbin. Facenet: A unified embedding for face recognition and clustering. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 815-823, 2015.
  30. [Selvaraju et al., 2017] Ramprasaath R Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra. Grad-cam: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE international conference on com- puter vision, pages 618-626, 2017.
  31. [Su et al., 2023] Zixian Su, Kai Yao, Xi Yang, Kaizhu Huang, Qiufeng Wang, and Jie Sun. Rethinking data aug- mentation for single-source domain generalization in med- ical image segmentation. In Proceedings of the AAAI Con- ference on Artificial Intelligence, volume 37, pages 2366- 2374, 2023.
  32. [Sun and Saenko, 2016] Baochen Sun and Kate Saenko. Deep coral: Correlation alignment for deep domain adap- tation. In Computer Vision-ECCV 2016 Workshops: Am- sterdam, The Netherlands, October 8-10 and 15-16, 2016, Proceedings, Part III 14, pages 443-450. Springer, 2016.
  33. [Tong et al., 2023] Yunze Tong, Junkun Yuan, Min Zhang, Didi Zhu, Keli Zhang, Fei Wu, and Kun Kuang. Quantita- tively measuring and contrastively exploring heterogene- ity for domain generalization. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 2189-2200, 2023.
  34. [Touvron et al., 2022] Hugo Touvron, Piotr Bojanowski, Mathilde Caron, Matthieu Cord, Alaaeldin El-Nouby, Edouard Grave, Gautier Izacard, Armand Joulin, Gabriel Synnaeve, Jakob Verbeek, et al. Resmlp: Feedforward net- works for image classification with data-efficient training. IEEE transactions on pattern analysis and machine intel- ligence, 45(4):5314-5321, 2022.
  35. [Van der Maaten and Hinton, 2008] Laurens Van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research, 9(11), 2008.
  36. [Vapnik, 1999] Vladimir N Vapnik. An overview of statisti- cal learning theory. IEEE transactions on neural networks, 10(5):988-999, 1999.
  37. [Venkateswara et al., 2017] Hemanth Venkateswara, Jose Eusebio, Shayok Chakraborty, and Sethuraman Pan- chanathan. Deep hashing network for unsupervised do- main adaptation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 5018- 5027, 2017.
  38. [Wang et al., 2019] Xinshao Wang, Yang Hua, Elyor Kodirov, Guosheng Hu, Romain Garnier, and Neil M Robertson. Ranked list loss for deep metric learning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 5207-5216, 2019.
  39. [Wang et al., 2024] Mengzhu Wang, Yuehua Liu, Jianlong Yuan, Shanshan Wang, Zhibin Wang, and Wei Wang. Inter-class and inter-domain semantic augmentation for domain generalization. IEEE Transactions on Image Pro- cessing, 33:1338-1347, 2024.
  40. [Yao et al., 2022] Xufeng Yao, Yang Bai, Xinyun Zhang, Yuechen Zhang, Qi Sun, Ran Chen, Ruiyu Li, and Bei Yu. Pcl: Proxy-based contrastive learning for domain gen- eralization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7097- 7107, 2022.
  41. [Yu et al., 2024] Xi Yu, Huan-Hsin Tseng, Shinjae Yoo, Haibin Ling, and Yuewei Lin. Insure: an information the- ory inspired disentanglement and purification model for domain generalization. IEEE Transactions on Image Pro- cessing, 2024.
  42. [Zhang et al., 2023a] Hanqing Zhang, Haolin Song, Shaoyu Li, Ming Zhou, and Dawei Song. A survey of control- lable text generation using transformer-based pre-trained language models. ACM Computing Surveys, 56(3):1-37, 2023.
  43. [Zhang et al., 2023b] Jiao Zhang, Xu-Yao Zhang, Chuang Wang, and Cheng-Lin Liu. Deep representation learn- ing for domain generalization with information bottleneck principle. Pattern Recognition, 143:109737, 2023.
  44. [Zhou et al., 2021] Kaiyang Zhou, Yongxin Yang, Yu Qiao, and Tao Xiang. Domain generalization with mixstyle. arXiv preprint arXiv:2104.02008, 2021.
  45. [Zou et al., 2023] Zhengxia Zou, Keyan Chen, Zhenwei Shi, Yuhong Guo, and Jieping Ye. Object detection in 20 years: A survey. Proceedings of the IEEE, 111(3):257- 276, 2023.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards