arXiv:2412.18904cs.LG2024-12AAAI被引 14

用反事实学习解决联邦学习中的辛普森悖论问题

FedCFA: Alleviating Simpson's Paradox in Model Aggregation with Counterfactual Federated Learning

  • 通过替换局部数据关键因子生成反事实样本,对齐本地与全局分布
  • 在六大数据集上,通信轮次有限时模型准确率显著提升
  • 适合处理数据异质性强、存在悖论风险的联邦学习场景

联邦学习(FL)是一种保护数据隐私的分布式优化技术,但面临客户端数据不平衡与异质性问题。现有方法通过对齐客户端与服务器模型或引入控制变量修正模型,虽在独立同分布(IID)和一般非独立同分布(Non-IID)数据上表现良好,但在辛普森悖论场景下效果平平。辛普森悖论指全局数据中观察到的趋势在子集上消失甚至反转,导致联邦聚合后的全局模型无法准确反映整体数据分布。为此,我们提出FedCFA,一种基于反事实学习的新型联邦学习框架:通过将本地数据的关键因素替换为全局平均值,生成反事实样本,使本地数据分布与全局对齐,缓解辛普森悖论影响。为进一步提升反事实样本质量,引入因子去相关(FDC)损失,降低特征间相关性,增强提取因子的独立性。我们在六个数据集上开展大量实验,结果表明,在通信轮次受限条件下,本方法在效率与全局模型准确率方面均优于其他主流联邦学习方法。

原文摘要 · Abstract (English)

Federated learning (FL) is a promising technology for data privacy and distributed optimization, but it suffers from data imbalance and heterogeneity among clients. Existing FL methods try to solve the problems by aligning client with server model or by correcting client model with control variables. These methods excel on IID and general Non-IID data but perform mediocrely in Simpson's Paradox scenarios. Simpson's Paradox refers to the phenomenon that the trend observed on the global dataset disappears or reverses on a subset, which may lead to the fact that global model obtained through aggregation in FL does not accurately reflect the distribution of global data. Thus, we propose FedCFA, a novel FL framework employing counterfactual learning to generate counterfactual samples by replacing local data critical factors with global average data, aligning local data distributions with the global and mitigating Simpson's Paradox effects. In addition, to improve the quality of counterfactual samples, we introduce factor decorrelation (FDC) loss to reduce the correlation among features and thus improve the independence of extracted factors. We conduct extensive experiments on six datasets and verify that our method outperforms other FL methods in terms of efficiency and global model accuracy under limited communication rounds.

联邦学习反事实学习数据异质性辛普森悖论

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。