Federated Deconfounding and Debiasing Learning for Out-of-Distribution Generalization
Zhuang Qi, Sijin Zhou, Lei Meng, Han Hu, Han Yu, Xiangxu Meng
TL;DR
Federated learning often struggles with out-of-distribution generalization due to attribute bias from spurious background correlations and data-source heterogeneity. FedDDL introduces a causal framework with two complementary modules: intra-client Deconfounding Learning (DEC) to generate counterfactuals that remove background-driven cues, and inter-client Debiasing Learning (DEB) to align heterogeneous representations via causal prototypes. The approach leverages a structural causal model and backdoor adjustments to improve object-focused inference, achieving a notable average Top-1 accuracy gain of about $4.5\%$ over nine state-of-the-art methods on two NICO-based benchmarks. These results demonstrate stronger generalization to unseen distributions and more coherent cross-client representations, with implications for privacy-preserving and robust FL deployments.
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 \underline{Fed}erated \underline{D}econfounding and \underline{D}ebiasing \underline{L}earning (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 \methodname{} 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.
