Skip to main content
QUICK REVIEW

[论文解读] Federated Knowledge Distillation

Hyowoon Seo, Jihong Park|arXiv (Cornell University)|Nov 4, 2020
Privacy-Preserving Technologies in DataComputer Science被引用 34
一句话总结

本文分析联邦蒸馏(FD)作为一种通信高效的分布式学习框架,给出基于 NTK 的 KD 和协同蒸馏(CD)收敛洞见,并为分类引入 FD,探讨性能与通信权衡,以及在无线和强化学习设置的扩展。

ABSTRACT

Distributed learning frameworks often rely on exchanging model parameters across workers, instead of revealing their raw data. A prime example is federated learning that exchanges the gradients or weights of each neural network model. Under limited communication resources, however, such a method becomes extremely costly particularly for modern deep neural networks having a huge number of model parameters. In this regard, federated distillation (FD) is a compelling distributed learning solution that only exchanges the model outputs whose dimensions are commonly much smaller than the model sizes (e.g., 10 labels in the MNIST dataset). The goal of this chapter is to provide a deep understanding of FD while demonstrating its communication efficiency and applicability to a variety of tasks. To this end, towards demystifying the operational principle of FD, the first part of this chapter provides a novel asymptotic analysis for two foundational algorithms of FD, namely knowledge distillation (KD) and co-distillation (CD), by exploiting the theory of neural tangent kernel (NTK). Next, the second part elaborates on a baseline implementation of FD for a classification task, and illustrates its performance in terms of accuracy and communication efficiency compared to FL. Lastly, to demonstrate the applicability of FD to various distributed learning tasks and environments, the third part presents two selected applications, namely FD over asymmetric uplink-and-downlink wireless channels and FD for reinforcement learning.

研究动机与目标

  • 解释 FD 作为在模型参数交换成本较高时相对于联邦学习的通信高效替代方案的动机。
  • 利用神经张量核(NTK)理论发展并分析 KD 和 CD,以理解收敛性。
  • 提出用于分类的实用 FD 基线,包含按标签聚合的标签级 logit 和全局 logit 蒸馏。
  • 通过在 MNIST 的实验以及可扩展性场景,展示 FD 相对于 FL 的通信效率与准确性权衡。
  • 讨论 FD 在无线信道、非独立同分布数据以及强化学习任务中的扩展。

提出的方法

  • 推导 KD 和 CD 的基于 NTK 的连续时间动力学,以刻画向地真值的收敛。
  • 通过按标签对样本分组并交换局部平均 logits 以创建每个标签的全局 logits,提出 Federated Distillation (FD)。
  • 将 FD 优化表述为基于标签级 logit 差距的蒸馏正则项,并展示全局知识如何在本地使用。
  • 给出 FD 的算法描述(Algorithm 1),包括本地训练和全局集成阶段。
  • 在 IID 和非 IID 设置下,比较 FD 与 FL 在 MNIST 上的准确率和通信负载。
  • 通过 MixFLD 和 Mix2FLD 将 FD 扩展以应对无线信道场景和上行下行非对称性,以及通过 Mixup 提升隐私性。

实验结果

研究问题

  • RQ1是否可以在核域内通过 NTK 理论理解并保证 KD 与 CD 的收敛?
  • RQ2如何用 FD 替代或增强联邦学习以在降低通信成本的同时保持或提升学习性能?
  • RQ3数据分布(IID 与非 IID)对 FD 相较于 FL 的性能有何影响?
  • RQ4在保持隐私考量的前提下,如何将 FD 适配到无线网络和信道不对称性?
  • RQ5代理数据辅助的 FD 或基于 Mixup 的方法是否能在非 IID 数据或隐私约束下缓解 FD 的精度损失?

主要发现

  • 在 NTK 假设下,KD 收敛到一个结合地真标签与教师 logits 的固定点。
  • CD 在通信轮次增加时实现零预测误差,更多工作者加速收敛,使工作者数量增多时实现一次性 CD。
  • FD 的每轮通信负载显著降低(在 MNIST 的两工作者下达到约4.3×的更快收敛),在 IID 设置下存在适度的精度权衡。
  • FD 的通信效率随工作者数量增加而扩展,在 IID 与非 IID 数据分布下相对于 FL 显著降低总通信成本。
  • 如 MixFLD 和 Mix2FLD 等扩展通过 Mixup 解决上行下行不对称性与隐私问题,在保护隐私的同时实现带种子样本的 KD。
  • 代理数据辅助的 FD 在非 IID 数据下可通过提供一个用于 logits 的共同参考来提高准确性。

阅读本论文

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

在 Nubint 中阅读本论文

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