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

DictPFL:加密梯度上的高效且隐私保护的联邦学习

DictPFL: Efficient and Private Federated Learning on Encrypted Gradients

University of Central Florida(佛罗里达中央大学);Florida State University(佛罗里达州立大学);Old Dominion University(旧 Dominion 大学);University of Texas Health Science Center at Houston(德克萨斯大学健康科学中心休斯顿分校)

Jiaqi Xue, Mayank Kumar, Yuzhang Shang, Shangqian Gao, Rui Ning, Mengxin Zheng, Xiaoqian Jiang, Qian Lou

AI总结:

DictPFL通过分解权重和加密感知剪枝,实现全梯度加密的联邦学习,通信成本降低402-748倍,训练加速28-65倍,性能接近明文FL。

摘要:

联邦学习(FL)使得跨机构协作训练模型成为可能,而无需共享原始数据。然而,梯度共享仍然存在隐私泄露风险,例如梯度反演攻击。同态加密(HE)可以确保聚合安全,但往往带来高昂的计算和通信开销。现有的基于HE的联邦学习方法处于两个极端:要么加密所有梯度以换取高成本下的完全隐私,要么部分加密梯度以节省资源但暴露漏洞。我们提出了DictPFL,一个实用的框架,以最小开销实现完全梯度保护。DictPFL加密每个传输的梯度,同时保持未传输的参数在本地,无需繁重计算即可保护隐私。它引入了两个关键模块:分解-部分加密(DePE),将模型权重分解为静态字典和可更新的查找表,仅后者被加密和聚合,而静态字典保留在本地,既不需要共享也不需要加密;以及剪枝-最小加密(PrME),应用加密感知剪枝,通过一致的、历史引导的掩码最小化加密参数。实验表明,与完全加密的联邦学习相比,DictPFL将通信成本降低了402-748倍,训练速度提高了28-65倍,同时在开销上优于最先进的选择性加密方法51-155倍,在速度上优于4-19倍。值得注意的是,DictPFL的运行时间在明文联邦学习的2倍以内,首次证明了基于HE的私有联邦学习在实际部署中是可行的。代码公开于https://github.com/UCF-ML-Research/DictPFL。

英文摘要:

Federated Learning (FL) enables collaborative model training across institutions without sharing raw data. However, gradient sharing still risks privacy leakage, such as gradient inversion attacks. Homomorphic Encryption (HE) can secure aggregation but often incurs prohibitive computational and communication overhead. Existing HE-based FL methods sit at two extremes: encrypting all gradients for full privacy at high cost, or partially encrypting gradients to save resources while exposing vulnerabilities. We present DictPFL, a practical framework that achieves full gradient protection with minimal overhead. DictPFL encrypts every transmitted gradient while keeping non-transmitted parameters local, preserving privacy without heavy computation. It introduces two key modules: Decompose-for-Partial-Encrypt (DePE), which decomposes model weights into a static dictionary and an updatable lookup table, only the latter is encrypted and aggregated, while the static dictionary remains local and requires neither sharing nor encryption; and Prune-for-Minimum-Encrypt (PrME), which applies encryption-aware pruning to minimize encrypted parameters via consistent, history-guided masks. Experiments show that DictPFL reduces communication cost by 402-748$\times$ and accelerates training by 28-65$\times$ compared to fully encrypted FL, while outperforming state-of-the-art selective encryption methods by 51-155$\times$ in overhead and 4-19$\times$ in speed. Remarkably, DictPFL's runtime is within 2$\times$ of plaintext FL, demonstrating for the first time, that HE-based private federated learning is practical for real-world deployment. The code is publicly available at https://github.com/UCF-ML-Research/DictPFL.

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

↑