Proceedings

Federated Deconfounding and Debiasing Learning for Out-of-Distribution Generalization

Download BibTeX Cite

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

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

Abstract

Attribute bias in federated learning (FL) typically leads local models to optimize inconsistently due to the learning of non-causal associations, resulting degraded performance. Existing methods either use data augmentation for increasing sample diversity or knowledge distillation for learning invariant representations to address this problem. However, they lack a comprehensive analysis of the inference paths, and the interference from confounding factors limits their performance. To address these limitations, we propose the Federated Deconfounding and Debiasing Learning (FedDDL) method. It constructs a structured causal graph to analyze the model inference process, and performs backdoor adjustment to eliminate confounding paths. Specifically, we design an intra-client deconfounding learning module for computer vision tasks to decouple background and objects, generating counterfactual samples that establish a connection between the background and any label, which stops the model from using the background to infer the label. Moreover, we design an inter-client debiasing learning module to construct causal prototypes to reduce the proportion of the background in prototype components. Notably, it bridges the gap between heterogeneous representations via causal prototypical regularization. Extensive experiments on 2 benchmarking datasets demonstrate that FedDDL significantly enhances the model capability to focus on main objects in unseen data, leading to 4.5% higher Top-1 Accuracy on average over 9 state-of-the-art existing methods.

  1. Methods NICO-Animal NICO-Vehicle Global Local Global Local F7 L7 F7 L7 F7 L7 F7 L7 FedAvg 44.38±0.6 52.75±0.6 34.19±4.6 44.45±4.6 63.28±0.4 59.05±0.2 48.44±6.9 44.79±6.2 Fedprox 44.55±0.9 51.99±0.9 35.72±4.9 43.17±5.3 65.36±0.6 57.50±0.8 47.62±5.1 42.63±5.3 MOON 45.53±0.4 53.66±0.9 36.31±5.7 46.12±6.2 65.94±0.5 59.63±0.5 51.34±5.8 46.54±5.2 FPL 47.76±0.5 55.39±0.2 37.58±4.5 46.93±4.4 68.51±0.7 61.76±0.6 52.22±5.1 48.26±4.9 FedDeccor 48.11±0.6 53.12±0.2 37.64±5.2 47.32±5.1 67.39±0.7 61.32±0.6 51.21±6.7 46.34±5.3 FedIIR 46.40±0.9 52.82±0.7 35.71±4.9 45.88±4.7 63.64±0.9 56.18±0.4 49.47±5.1 47.83±5.4 FedHeal 42.32±1.0 52.80±0.6 36.44±5.1 44.78±3.6 64.00±0.5 56.25±0.7 46.32±5.2 44.59±4.9 MCGDM 47.96±0.8 54.53±0.5 38.46±4.8 47.51±3.5 66.84±0.4 59.59±0.9 53.69±7.9 46.92±4.4 FedCCRL 48.49±0.7 57.31±0.9 39.81±3.9 47.37±4.2 70.14±0.5 62.23±0.9 54.73±6.8 50.32±7.6 MOON+DEC 52.47±0.9 60.13±0.7 42.56±5.9 50.26±6.1 71.43±0.6 64.45±1.1 56.32±4.4 52.56±5.7 FedDDL 53.37±0.4 62.59±0.6 44.27±3.1 53.23±3.0 73.38±0.7 66.20±0.4 59.51±4.6 54.28±4.2
  2. [Cai et al., 2024a] Jinyu Cai, Yunhe Zhang, and et al. Lg- fgad: An effective federated graph anomaly detection framework. In IJCAI, pages 3760-3769, 2024.
  3. [Cai et al., 2024b] Jinyu Cai, Yunhe Zhang, Zhoumin Lu, and et al. Towards effective federated graph anomaly de- tection via self-boosted knowledge distillation. In MM, pages 5537-5546, 2024.
  4. [Chen et al., 2023] Junming Chen, Meirui Jiang, and et al. Federated domain generalization for image recognition via cross-client style transfer. In WACV, pages 361-370, 2023.
  5. [Chen et al., 2024] Yuhang Chen, Wenke Huang, and Mang Ye. Fair federated learning under domain skew with local consistency and domain diversity. In CVPR, pages 12077- 12086, 2024.
  6. [de Luca and et al., 2022] Artur Back de Luca and et al. Mit- igating data heterogeneity in federated learning with data augmentation. arXiv preprint arXiv:2206.09979, 2022.
  7. [Fan et al., 2025] Tao Fan, Hanlin Gu, et al. Ten challenging problems in federated foundation models. IEEE Transac- tions on Knowledge and Data Engineering, 2025.
  8. [Fu et al., 2025a] Lele Fu, Sheng Huang, and et al. Beyond federated prototype learning: Learnable semantic anchors with hyperspherical contrast for domain-skewed data. In AAAI, pages 16648-16656, 2025.
  9. [Fu et al., 2025b] Lele Fu, Sheng Huang, Yanyi Lai, Chuanfu Zhang, and et al. Federated domain-independent prototype learning with alignments of representation and parameter spaces for feature shift. IEEE Transactions on Mobile Computing, pages 1-16, 2025.
  10. [Guo et al., 2023] Yaming Guo, Kai Guo, Xiaofeng Cao, and et al. Out-of-distribution generalization of federated learn- ing via implicit invariant relationships. In ICML, pages 11905-11933. PMLR, 2023.
  11. [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recog- nition. In CVPR, pages 770-778, 2016.
  12. [Hu et al., 2023] Ming Hu, Zeke Xia, Dengke Yan, and et al. Gitfl: Uncertainty-aware real-time asynchronous federated learning using version control. In RTSS, pages 145-157. IEEE, 2023.
  13. [Hu et al., 2024] Ming Hu, Zeke Xia, Dengke Yan, and et al. Fedmut: Generalized federated learning via stochastic mu- tation. In AAAI, volume 38, pages 12528-12537, 2024.
  14. [Huang et al., 2023] Wenke Huang, Mang Ye, and et al. Re- thinking federated learning with domain shift: A prototype view. In CVPR, pages 16312-16322. IEEE, 2023.
  15. [Huang et al., 2025] Sheng Huang, Lele Fu, Yuecheng Li, Chuan Chen, and et al. A cross-client coordinator in fed- erated learning framework for conquering heterogeneity. IEEE Transactions on Neural Networks and Learning Sys- tems, 36(5):8828-8842, 2025.
  16. [Li et al., 2020] Tian Li, Anit Kumar Sahu, and et al. Feder- ated optimization in heterogeneous networks. Proceedings of Machine learning and systems, 2:429-450, 2020.
  17. [Li et al., 2021] Qinbin Li, Bingsheng He, and Dawn Song. Model-contrastive federated learning. In CVPR, pages 10713-10722, 2021.
  18. [Liao et al., 2024] Tianchi Liao, Lele Fu, Jialong Chen, and et al. A swiss army knife for heterogeneous federated learning: Flexible coupling via trace norm. NeurIPS, 37:139886-139911, 2024.
  19. [Lin et al., 2020] Chuang Lin, Sicheng Zhao, Lei Meng, and Tat-Seng Chua. Multi-source domain adaptation for visual sentiment classification. In AAAI, volume 34, pages 2661- 2668, 2020.
  20. [Liu and et al., 2025] Shilong Liu and et al. Grounding dino: Marrying dino with grounded pre-training for open-set ob- ject detection. In ECCV, pages 38-55. Springer, 2025.
  21. [Liu et al., 2021] Quande Liu, Cheng Chen, Jing Qin, and et al. Feddg: Federated domain generalization on medi- cal image segmentation via episodic learning in continu- ous frequency space. In CVPR, pages 1013-1023, 2021.
  22. [Liu et al., 2024] Xiang Liu, Liangxi Liu, Feiyang Ye, Yun- heng Shen, Xia Li, Linshan Jiang, and Jialin Li. Fedlpa: One-shot federated learning with layer-wise posterior ag- gregation. Advances in Neural Information Processing Systems, 37:81510-81548, 2024.
  23. [Luo et al., 2022] Zhengquan Luo, Yunlong Wang, Zilei Wang, and et al. Disentangled federated learning for tack- ling attributes skew via invariant aggregation and diversity transferring. arXiv preprint arXiv:2206.06818, 2022.
  24. [McMahan et al., 2017] Brendan McMahan, Eider Moore, Daniel Ramage, and et al. Communication-efficient learn- ing of deep networks from decentralized data. In AISTATS, pages 1273-1282. PMLR, 2017.
  25. [Meng et al., 2019] Lei Meng, Long Chen, and et al. Learn- ing using privileged information for food recognition. In MM, pages 557-565, 2019.
  26. [Meng et al., 2024] Lei Meng, Zhuang Qi, Lei Wu, Du Xi- aoyu, and et al. Improving global generalization and local personalization for federated learning. IEEE Transactions on Neural Networks and Learning Systems, 36, 2024.
  27. [Morafah and et al., 2024] Mahdi Morafah and et al. Stable diffusion-based data augmentation for federated learning with non-iid data. arXiv preprint arXiv:2405.07925, 2024.
  28. [Mu et al., 2023] Xutong Mu, Yulong Shen, Ke Cheng, Xueli Geng, and et al. Fedproc: Prototypical contrastive federated learning on non-iid data. Future Generation Computer Systems, 143:93-104, 2023.
  29. [Nguyen et al., 2024] Dung Thuy Nguyen, Taylor T John- son, and Kevin Leach. Fisc: Federated domain generaliza- tion via interpolative style transfer and contrastive learn- ing. arXiv preprint arXiv:2410.22622, 2024.
  30. [Park et al., 2024] Jungwuk Park, Dong-Jun Han, and et al. Stablefdg: style and attention based learning for federated domain generalization. NeurIPS, 36, 2024.
  31. [Qi and et al., 2024] Zhuang Qi and et al. Attentive model- ing and distillation for out-of-distribution generalization of federated learning. In ICME, pages 1-6. IEEE, 2024.
  32. [Qi et al., 2022] Zhuang Qi, Yuqing Wang, Zitan Chen, Ran Wang, Xiangxu Meng, and Lei Meng. Clustering-based curriculum construction for sample-balanced federated learning. In CICAI, pages 155-166. Springer, 2022.
  33. [Qi et al., 2023] Zhuang Qi, Lei Meng, Zitan Chen, and et al. Cross-silo prototypical calibration for federated learning with non-iid data. In MM, pages 3099-3107, 2023.
  34. [Qi et al., 2024] Zhuang Qi, Lei Meng, Weihao He, Ruohan Zhang, and et al. Cross-training with multi-view knowl- edge fusion for heterogenous federated learning. arXiv preprint arXiv:2405.20046, pages 1-12, 2024.
  35. [Qi et al., 2025a] Zhuang Qi, Lei Meng, and et al. Cross-silo feature space alignment for federated learning on clients with imbalanced data. In AAAI, pages 19986-19994, 2025.
  36. [Qi et al., 2025b] Zhuang Qi, Runhui Zhang, and et al. Global intervention and distillation for federated out-of- distribution generalization. In ICME, pages 1-6, 2025.
  37. [Ren et al., 2025] Chao Ren, Han Yu, Hongyi Peng, Xiaoli Tang, Bo Zhao, Liping Yi, et al. Advances and open chal- lenges in federated foundation models. IEEE Communica- tions Surveys and Tutorials, 2025.
  38. [Selvaraju et al., 2017] Ramprasaath R Selvaraju, Michael Cogswell, Abhishek Das, and et al. Grad-cam: Visual explanations from deep networks via gradient-based local- ization. In ICCV, pages 618-626, 2017.
  39. [Shenaj et al., 2023] Donald Shenaj, Eros Fanì, Marco Toldo, and et al. Learning across domains and devices: Style-driven source-free domain adaptation in clustered federated learning. In WACV, pages 444-454, 2023.
  40. [Shi et al., 2024] Yujun Shi, Jian Liang, Wenqing Zhang, Chuhui Xue, and et al. Understanding and mitigating di- mensional collapse in federated learning. IEEE Trans- actions on Pattern Analysis and Machine Intelligence, 46(5):2936-2949, 2024.
  41. [Ślazyk et al., 2022] Filip Ślazyk, Przemysław Jabłecki, Aneta Lisowska, Maciej Malawski, and et al. Cxr-fl: deep learning-based chest x-ray image analysis using federated learning. In ICCS, pages 433-440. Springer, 2022.
  42. [Sun et al., 2023] Yuwei Sun, Ng Chong, and Hideya Ochiai. Feature distribution matching for federated domain gener- alization. In ACML, pages 942-957. PMLR, 2023.
  43. [Van der Maaten and Hinton, 2008] Laurens Van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. J MACH LEARN RES, 9(11), 2008.
  44. [Wang and Tang, 2024] Xinpeng Wang and Xiaoying Tang. Fedccrl: Federated domain generalization with cross-client representation learning. arXiv preprint arXiv:2410.11267, 2024.
  45. [Wang et al., 2021] Tan Wang, Chang Zhou, Qianru Sun, and Hanwang Zhang. Causal attention for unbiased visual recognition. In CVPR, pages 3091-3100, 2021.
  46. [Wang et al., 2022] Yuqing Wang, Xiangxian Li, and et al. Meta-causal feature learning for out-of-distribution gener- alization. In ECCV, pages 530-545. Springer, 2022.
  47. [Wang et al., 2023] Haozhao Wang, Yichen Li, Wenchao Xu, and et al. Dafkd: Domain-aware federated knowledge distillation. In CVPR, pages 20412-20421, 2023.
  48. [Wang et al., 2024] Haozhao Wang, Haoran Xu, Yichen Li, and et al. Fedcda: Federated learning with cross-rounds divergence-aware aggregation. In ICLR, 2024.
  49. [Wei and Han, 2024] Yikang Wei and Yahong Han. Multi- source collaborative gradient discrepancy minimization for federated domain generalization. In AAAI, volume 38, pages 15805-15813, 2024.
  50. [Xu et al., 2023] Qinwei Xu, Ruipeng Zhang, Ya Zhang, Yi- Yan Wu, and et al. Federated adversarial domain halluci- nation for privacy-preserving domain generalization. IEEE Transactions on Multimedia, 26:1-14, 2023.
  51. [Yang et al., 2020] Qiang Yang, Lixin Fan, and Han Yu. Fed- erated learning: Privacy and incentive, 2020.
  52. [Yi et al., 2023] Liping Yi, Gang Wang, and et al. Fedgh: Heterogeneous federated learning with generalized global header. In MM, pages 8686-8696. ACM, 2023.
  53. [Yi et al., 2024] Liping Yi, Han Yu, Chao Ren, et al. Fed- erated model heterogeneous matryoshka representation learning. In NeurIPS, 2024.
  54. [Yu and et al., 2011] Han Yu and et al. Dynamic witness se- lection for trustworthy distributed cooperative sensing in cognitive radio networks. In ICCT, pages 1-6, 2011.
  55. [Yu et al., 2023] Xinhui Yu, Dan Wang, Martin J. McKeown, and et al. Contrastive-enhanced domain generalization with federated learning. IEEE Transactions on Artificial Intelligence, 5(4):1525-1532, 2023.
  56. [Zhang and et al., 2024] Jiayuan Zhang and et al. Enabling collaborative test-time adaptation in dynamic environment via federated learning. In KDD, pages 4191-4202, 2024.
  57. [Zhang et al., 2024] Xunzheng Zhang, Juan Marcelo Parra- Ullauri, Shadi Moazzeni, and et al. Federated analytics with data augmentation in domain generalization towards future networks. IEEE Transactions on Machine Learning in Communications and Networking, 2024.
  58. [Zhang et al., 2025a] Kaiyan Zhang, Jiayuan Zhang, Haoxin Li, and et al. Openprm: Building open-domain process- based reward models with preference trees. In ICLR, 2025.
  59. [Zhang et al., 2025b] Runhui Zhang, Sijin Zhou, and Zhuang Qi. Federated out-of-distribution generaliza- tion: A causal augmentation view. arXiv preprint arXiv:2504.19882, 2025.
  60. [Zhao et al., 2023] Zhuang Zhao, Feng Yang, and et al. Fed- erated learning based on diffusion model to cope with non- iid data. In PRCV, pages 220-231. Springer, 2023.
  61. [Zhou et al., 2023] Tailin Zhou, Jun Zhang, and Danny HK Tsang. Fedfa: Federated learning with feature anchors to align features and classifiers for heterogeneous data. IEEE Transactions on Mobile Computing, 2023.
  62. [Zhu et al., 2024] Guogang Zhu, Xuefeng Liu, Jianwei Niu, and et al. Dualfed: enjoying both generalization and per- sonalization in federated learning via hierachical represen- tations. In MM, pages 11060-11069, 2024.

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

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