arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.03427cs.CR
收藏

联邦学习:一种混合同态加密方法

Federated Learning: An approach with Hybrid Homomorphic Encryption

Pedro Correia, Ivan Silva, Ivone Amorim, Eva Maia, Isabel Praça

AI总结:

针对联邦学习中模型更新易泄露隐私、纯全同态加密方案客户端开销高的问题,提出结合PASTA对称密码与BFV的混合同态加密框架,大幅降低客户端带宽和耗时,但服务器计算成本显著上升。

摘要:

联邦学习(FL)是一种分布式机器学习方法,通过将数据保留在设备端来保障隐私。然而,梯度重建攻击和成员推理攻击表明,模型更新仍会泄露信息。全同态加密(FHE)可以解决这些隐私问题,但它存在密文膨胀问题,且在资源受限设备上会产生难以承受的开销。我们提出了首个适用于联邦学习的混合同态加密(HHE)框架,该框架将PASTA对称密码与BFV全同态加密方案相结合。客户端使用PASTA加密本地模型更新,并将轻量级密文和经BFV加密的PASTA密钥一同发送给服务器;服务器对PASTA的解密电路执行同态求值,并对得到的BFV密文进行聚合。基于Flower联邦学习框架开发的原型实现显示,在包含12个客户端、10轮训练的独立同分布MNIST数据集上,所提出的HHE系统达到97.6%的准确率,仅比明文训练低1.3%;同时与仅基于BFV全同态加密方案的系统相比,客户端上传带宽降低了2000倍以上,客户端运行时间减少了30%。不过,每增加一个参与训练阶段的客户端,服务器的计算成本就会增加约15621倍,这是未来工作需要解决的挑战。

英文摘要:

Federated Learning (FL) is a distributed machine learning approach that promises privacy by keeping the data on the device. However, gradient reconstruction and membership-inference attacks show that model updates still leak information. Fully Homomorphic Encryption (FHE) can address those privacy concerns but it suffers from ciphertext expansion and requires prohibitive overhead on resource-constrained devices. We propose the first Hybrid Homomorphic Encryption (HHE) framework for FL that pairs the PASTA symmetric cipher with the BFV FHE scheme. Clients encrypt local model updates with PASTA and send both the lightweight ciphertexts and the PASTA key (itself BFV-encrypted) to the server, which performs a homomorphic evaluation of the decryption circuit of PASTA and aggregates the resulting BFV ciphertexts. A prototype implementation, developed on top of the Flower FL framework, shows that on independently and identically distributed MNIST dataset with 12 clients and 10 training rounds, the proposed HHE system achieves 97.6% accuracy, just 1.3% below plaintext, while reducing client upload bandwidth by over 2,000x and cutting client runtime by 30% compared to a system based solely on the BFV FHE scheme. However, server computational cost increases by roughly 15621x for each client participating in the training phase, a challenge to be addressed in future work.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑