通信学报 ›› 2023, Vol. 44 ›› Issue (1): 14-28.doi: 10.11959/j.issn.1000-436x.2023015

• 学术论文 • 上一篇    下一篇

基于同态加密的高效安全联邦学习聚合框架

余晟兴, 陈钟   

  1. 北京大学计算机学院,北京 100871
  • 修回日期:2022-11-28 出版日期:2023-01-25 发布日期:2023-01-01
  • 作者简介:余晟兴(1995- ),男,福建福州人,北京大学博士生,主要研究方向为机器学习、隐私保护、区块链、可验证计算等
    陈钟(1963- ),男,江苏徐州人,博士,北京大学教授、博士生导师,主要研究方向为网络与信息安全、区块链等

Efficient secure federated learning aggregation framework based on homomorphic encryption

Shengxing YU, Zhong CHEN   

  1. School of Computer Science, Peking University, Beijing 100871, China
  • Revised:2022-11-28 Online:2023-01-25 Published:2023-01-01

摘要:

为了解决联邦学习数据安全以及加密后通信开销大等问题,提出了一种基于同态加密的高效安全联邦聚合框架。在联邦学习过程中,用户数据的隐私安全问题亟须解决,然而在训练过程中采用加密方案带来的计算和通信开销又会影响训练效率。在既要保护数据安全又要保证训练效率的情况下,首先,采用Top-K梯度选择方法对模型梯度进行筛选,减少了需要上传的梯度数量,提出适合多边缘节点的候选量化协议和安全候选索引合并算法,进一步降低通信开销、加速同态加密计算。其次,由于神经网络每层模型参数具有高斯分布的特性,对选择的模型梯度进行裁剪量化,并采用梯度无符号量化协议以加速同态加密计算。最后,实验结果表明,在联邦学习的场景下,所提框架既保证了数据隐私安全,又具有较高的准确率和高效的性能。

关键词: 联邦学习, 同态加密, 隐私保护, 量化协议

Abstract:

In order to solve the problems of data security and communication overhead in federated learning, an efficient and secure federated aggregation framework based on homomorphic encryption was proposed.In the process of federated learning, the privacy and security issues of user data need to be solved urgently.However, the computational cost and communication overhead caused by the encryption scheme would affect the training efficiency.Firstly, in the case of protecting data security and ensuring training efficiency, the Top-K gradient selection method was used to screen model gradients, reducing the number of gradients that need to be uploaded.A candidate quantization protocol suitable for multi-edge terminals and a secure candidate index merging algorithm were proposed to further reduce communication overhead and accelerate homomorphic encryption calculations.Secondly, since model parameters of each layer of neural networks had characteristics of the Gaussian distribution, the selected model gradients were clipped and quantized, and the gradient unsigned quantization protocol was adopted to speed up the homomorphic encryption calculation.Finally, the experimental results show that in the federated learning scenario, the proposed framework can protect data privacy, and has high accuracy and efficient performance.

Key words: federated learning, homomorphic encryption, privacy-preserving, quantization protocol

中图分类号: 

No Suggested Reading articles found!