梯度压缩可能损害泛化能力:通过合成数据引导的尖锐性感知最小化解决方法
Gradient Compression May Hurt Generalization: A Remedy by Synthetic Data Guided Sharpness Aware Minimization
AI总结:
本文提出FedSynSAM,通过合成数据引导尖锐性感知最小化,解决联邦学习中梯度压缩导致泛化能力下降的问题。
摘要:
人们普遍认为在联邦学习(FL)中梯度压缩在提高通信效率方面有显著改进,且对性能下降几乎没有影响。在本文中,我们发现梯度压缩在联邦学习中诱导了更尖锐的损失景观,尤其是在非独立同分布数据分布下,这表明泛化能力受到阻碍。最近出现的尖锐性感知最小化(SAM)通过在著名的随机梯度下降之前加入梯度上升步骤(即用梯度扰动模型)来有效搜索平坦极小值。然而,直接在FL中应用SAM会由于数据异质性导致全局扰动估计不准确。现有方法提出利用前一次通信轮次的模型更新作为粗略估计。然而,当模型更新压缩被纳入时,其有效性会受到阻碍。在本文中,我们提出了FedSynSAM,它利用全局模型轨迹构建合成数据,并促进对全局扰动的准确估计。所提出算法的收敛性得到了建立,进行了大量实验以验证其有效性。
英文摘要:
It is commonly believed that gradient compression in federated learning (FL) enjoys significant improvement in communication efficiency with negligible performance degradation. In this paper, we find that gradient compression induces sharper loss landscapes in federated learning, particularly under non-IID data distributions, which suggests hindered generalization capability. The recently emerging Sharpness Aware Minimization (SAM) effectively searches for a flat minima by incorporating a gradient ascent step (i.e., perturbing the model with gradients) before the celebrated stochastic gradient descent. Nonetheless, the direct application of SAM in FL suffers from inaccurate estimation of the global perturbation due to data heterogeneity. Existing approaches propose to utilize the model update from the previous communication round as a rough estimate. However, its effectiveness is hindered when model update compression is incorporated. In this paper, we propose FedSynSAM, which leverages the global model trajectory to construct synthetic data and facilitates an accurate estimation of the global perturbation. The convergence of the proposed algorithm is established, and extensive experiments are conducted to validate its effectiveness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。