解决联邦学习中对比学习因数据少导致效果差的问题
Decoupled Contrastive Learning for Federated Learning
- 将对比损失拆分为对齐与均匀两个独立目标
- 在小数据环境下实现更强正样本对齐和负样本均匀性
- 适合数据异构的联邦学习场景,尤其客户端数据量少时
联邦学习是一种分布式机器学习范式,允许多方通过交换模型更新而非原始数据来训练共享模型。然而,由于客户端间数据异构,其性能低于集中式方法。尽管对比学习被证明是缓解该问题的有前景方案,但我们的理论分析揭示其存在根本矛盾:其渐近假设要求无限多负样本,在联邦学习有限样本条件下无法满足。为此,我们提出联邦学习解耦对比学习(DCFL),将现有对比损失解耦为两个独立目标。解耦后可分别校准吸引与排斥力,无需依赖渐近假设。该策略适用于每个客户端数据量较小的联邦学习环境。实验表明,相比现有对比学习方法,DCFL在正样本对齐和负样本均匀性上表现更优。在CIFAR-10、CIFAR-100和Tiny-ImageNet等标准基准上的结果进一步显示,DCFL始终优于当前最先进的联邦学习方法。
原文摘要 · Abstract (English)
Federated learning is a distributed machine learning paradigm that allows multiple participants to train a shared model by exchanging model updates instead of their raw data. However, its performance is degraded compared to centralized approaches due to data heterogeneity across clients. While contrastive learning has emerged as a promising approach to mitigate this, our theoretical analysis reveals a fundamental conflict: its asymptotic assumptions of an infinite number of negative samples are violated in finite-sample regime of federated learning. To address this issue, we introduce Decoupled Contrastive Learning for Federated Learning (DCFL), a novel framework that decouples the existing contrastive loss into two objectives. Decoupling the loss into its alignment and uniformity components enables the independent calibration of the attraction and repulsion forces without relying on the asymptotic assumptions. This strategy provides a contrastive learning method suitable for federated learning environments where each client has a small amount of data. Our experimental results show that DCFL achieves stronger alignment between positive samples and greater uniformity between negative samples compared to existing contrastive learning methods. Furthermore, experimental results on standard benchmarks, including CIFAR-10, CIFAR-100, and Tiny-ImageNet, demonstrate that DCFL consistently outperforms state-of-the-art federated learning methods.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。