Skip to main content
QUICK REVIEW

[论文解读] Adaptive Compression in Federated Learning via Side Information

Berivan Isik, Francesco Pase|arXiv (Cornell University)|Jun 22, 2023
Privacy-Preserving Technologies in DataComputer Science被引用 3
一句话总结

该论文提出KLMS,一种通信高效的联邦学习框架,利用客户端后验数据分布 $q_{\phi^{(n)}}$ 与服务器预训练数据分布 $p_\theta$ 在KL散度上接近的辅助信息。通过在共享样本 $p_\theta$ 上使用重要性采样,客户端仅传输索引信息($\log K$ 比特),将通信成本降低至约 $D_{KL}(q_{\phi^{(n)}}\|p_\theta)$ 比特,同时保持模型精度,在实验中实现最高50倍的比特率降低。

ABSTRACT

The high communication cost of sending model updates from the clients to the server is a significant bottleneck for scalable federated learning (FL). Among existing approaches, state-of-the-art bitrate-accuracy tradeoffs have been achieved using stochastic compression methods -- in which the client $n$ sends a sample from a client-only probability distribution $q_{ϕ^{(n)}}$, and the server estimates the mean of the clients' distributions using these samples. However, such methods do not take full advantage of the FL setup where the server, throughout the training process, has side information in the form of a global distribution $p_θ$ that is close to the clients' distribution $q_{ϕ^{(n)}}$ in Kullback-Leibler (KL) divergence. In this work, we exploit this closeness between the clients' distributions $q_{ϕ^{(n)}}$'s and the side information $p_θ$ at the server, and propose a framework that requires approximately $D_{KL}(q_{ϕ^{(n)}}|| p_θ)$ bits of communication. We show that our method can be integrated into many existing stochastic compression frameworks to attain the same (and often higher) test accuracy with up to $82$ times smaller bitrate than the prior work -- corresponding to 2,650 times overall compression.

研究动机与目标

  • 解决因客户端频繁向服务器传输模型更新而导致的联邦学习高通信成本问题。
  • 利用服务器通常持有的预训练数据分布 $p_\theta$ 与客户端后验分布 $q_{\phi^{(n)}}$ 在KL散度上接近的事实。
  • 开发一种通信高效的框架,在利用该辅助信息的同时最小化比特率并保持模型精度。
  • 将该方法集成到现有随机压缩框架(如FedPM、QSGD和SignSGD)中,以提升效率。
  • 证明每轮每个客户端的通信成本可降低至约 $D_{KL}(q_{\phi^{(n)}}\|p_\theta)$ 比特。

提出的方法

  • 客户端和服务器使用共享随机种子,联合从服务器已知的预训练数据分布 $p_{\theta^{(t)}}$ 中生成 $K$ 个独立同分布样本。
  • 客户端为每个样本计算重要性权重 $\alpha_k = \frac{q_{\phi^{(n)}}(\mathbf{y}_k)}{p_{\theta}(\mathbf{y}_k)}$,并将其归一化为类别分布 $\pi^{(t,n)}$。
  • 客户端从分布 $\pi^{(t,n)}$ 中采样一个索引 $k^* \sim \pi^{(t,n)}$,仅将该索引($\log K$ 比特)发送给服务器。
  • 服务器从其本地生成的 $K$ 个样本中重建对应样本 $\mathbf{y}_{k^*}^{(t,n)}$,该样本近似于从 $q_{\phi^{(n)}}$ 中抽取的样本。
  • 该方法确保估计误差随 $K \simeq \exp(D_{KL}(q_{\phi^{(n)}}\|p_{\theta}))$ 而消失,从而实现低比特率通信。
  • 该框架与现有随机压缩方法(如FedPM、QSGD和SignSGD)兼容,可在不改变其核心训练动态的前提下提升效率。

实验结果

研究问题

  • RQ1能否利用KL散度上接近客户端后验分布 $q_{\phi^{(n)}}$ 的预训练数据分布 $p_\theta$ 作为辅助信息,以降低联邦学习中的通信成本?
  • RQ2仅使用辅助信息 $p_\theta$ 近似从 $q_{\phi^{(n)}}$ 中抽取样本所需的理论最小通信成本是多少?
  • RQ3如何通过在 $p_\theta$ 的共享样本上使用重要性采样,实现低比特通信同时保持模型精度?
  • RQ4该方法在现有随机压缩框架(如FedPM、QSGD和SignSGD)中可将比特率降低多少?
  • RQ5在非独立同分布(non-IID)和部分客户端参与的设置下,该方法是否保持或提升测试精度?

主要发现

  • 所提出的KLMS框架将每轮每个客户端的通信比特率降低至约 $D_{KL}(q_{\phi^{(n)}}\|p_{\theta})$ 比特,实现近乎最优的通信效率。
  • 在CIFAR-10数据集上,20/100个客户端参与时,FedPM-KLMS将比特率降至0.073 ± 0.0001比特,同时保持0.612 ± 0.0010的测试精度,而标准FedPM的比特率为0.993 ± 0.0001比特。
  • 对于QSGD,KLMS实现0.014 ± 0.0001比特的比特率,精度为0.545 ± 0.0010,相比基线QSGD(0.140 ± 0.0000比特)实现50倍的比特率降低。
  • 在CIFAR-100上(模型复杂度更高,$c_{\text{max}}=40$),FedPM-KLMS实现0.012 ± 0.0001比特的比特率,精度为0.480 ± 0.0013,显著优于基线FedPM(0.980 ± 0.0001比特)。
  • 该方法在所有测试设置下保持或略微提升精度,包括非独立同分布数据划分和部分客户端参与的情况。
  • 该框架与多种现有随机压缩方法兼容,可在不降低模型性能的前提下实现最高50倍的比特率降低。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。