Skip to main content
QUICK REVIEW

[论文解读] LightSecAgg: a Lightweight and Versatile Design for Secure Aggregation in Federated Learning

Jinhyun So, Chaoyang He|arXiv (Cornell University)|Sep 29, 2021
Privacy-Preserving Technologies in DataComputer Science被引用 59
一句话总结

LightSecAgg 提出一种用于联邦学习的一次性聚合掩码安全聚合协议,减少服务器工作量并支持异步 FL,同时在保护隐私和对 dropout 的鲁棒性方面保持。

ABSTRACT

Secure model aggregation is a key component of federated learning (FL) that aims at protecting the privacy of each user's individual model while allowing for their global aggregation. It can be applied to any aggregation-based FL approach for training a global or personalized model. Model aggregation needs to also be resilient against likely user dropouts in FL systems, making its design substantially more complex. State-of-the-art secure aggregation protocols rely on secret sharing of the random-seeds used for mask generations at the users to enable the reconstruction and cancellation of those belonging to the dropped users. The complexity of such approaches, however, grows substantially with the number of dropped users. We propose a new approach, named LightSecAgg, to overcome this bottleneck by changing the design from "random-seed reconstruction of the dropped users" to "one-shot aggregate-mask reconstruction of the active users via mask encoding/decoding". We show that LightSecAgg achieves the same privacy and dropout-resiliency guarantees as the state-of-the-art protocols while significantly reducing the overhead for resiliency against dropped users. We also demonstrate that, unlike existing schemes, LightSecAgg can be applied to secure aggregation in the asynchronous FL setting. Furthermore, we provide a modular system design and optimized on-device parallelization for scalable implementation, by enabling computational overlapping between model training and on-device encoding, as well as improving the speed of concurrent receiving and sending of chunked masks. We evaluate LightSecAgg via extensive experiments for training diverse models on various datasets in a realistic FL system with large number of users and demonstrate that LightSecAgg significantly reduces the total training time.

研究动机与目标

  • 在联邦学习中激励安全且对 dropout 鲁棒的聚合,以保护用户模型。
  • 开发一个服务器开销低于现有方案的安全聚合协议。
  • 在无需可信执行环境的情况下实现异步 FL 设置中的安全聚合。
  • 提供模块化、开源的系统设计,具备设备端并行化以实现可扩展性能。

提出的方法

  • 提出 LightSecAgg,通过基于 MDS 的方案对本地掩码进行编码,以实现一次性聚合掩码重构。
  • 三阶段协议:掩码的离线编码/分享、对本地模型进行掩码处理并上传,以及一次性聚合模型的恢复。
  • 三个设计参数:隐私级别 T、dropout D,以及目标保留的用户 U,满足 N−D≥U> T。
  • 通过带时间戳的编码掩码和灵活分组,将 LightSecAgg 扩展到具有有界陈旧性的异步 FL。
  • 融入系统级优化和设备端并行化,以实现训练和编码任务的重叠。
  • 证明理论保证:在 T 个共谋用户下对隐私的保护,以及在 D 个掉线用户下的 dropout 鲁棒性,当 T+D<N 时。

实验结果

研究问题

  • RQ1LightSecAgg 能否在降低聚合复杂度的同时提供与最先进协议相同的隐私与 dropout 鲁棒性保证?
  • RQ2LightSecAgg 是否适用于异步联邦学习,而不限于同步设置?
  • RQ3在不同模型和数据集上,LightSecAgg 相对于 SecAgg 和 SecAgg+ 的实际性能(速度、开销)表现如何?
  • RQ4哪些系统级优化能够实现对边缘设备的可扩展、现实世界部署?

主要发现

  • LightSecAgg 在现实带宽条件下实现显著加速:比 SecAgg 快 8.5×–12.7×,比 SecAgg+ 快 2.9×–4.4×。
  • 在多样化模型(逻辑回归、浅层卷积神经网络、MobileNetV3、EfficientNet-B0)和数据集(MNIST、FEMNIST、CIFAR-10、GLD-23K)上演示。
  • 在不依赖差分隐私或可信执行环境的情况下,支持异步联邦学习,同时保持隐私和 dropout 鲁棒性。
  • 首个基于 PyTorch 和神经网络架构,具备系统安全协同设计的开源安全聚合使能的 FL 系统。
  • 服务器端瓶颈的降低是观察到的收益的主要来源之一,一次性聚合掩码恢复与掉线用户数量无关。

阅读本论文

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

在 Nubint 中阅读本论文

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