计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260500119-1075.doi: 10.11896/jsjkx.260500119

• 信息安全 • 上一篇    下一篇

基于双种子预计算分离掩码的联邦学习安全聚合框架

廖宇轩1, 刘源2, 罗阳3, 朱晓强3, 冀振燕3, 刘吉强3   

  1. 1 北京交通大学软件学院 北京 100044
    2 天津大学软件学院 天津 300350
    3 北京交通大学网络空间安全学院 北京 100044
  • 出版日期:2026-11-16 发布日期:2026-11-16
  • 通讯作者: 朱晓强(xqzhu@bjtu.edu.cn)
  • 作者简介:(23301102@bjtu.edu.cn)
  • 基金资助:
    中央高校基本科研业务费专项(2026JBMC063);国家自然科学基金(62401037)

SPEAR:Split-mask Precomputed Entropy-Aware Aggregation for Resilient Federated Learning

LIAO Yuxuan1, LIU Yuan2, LUO Yang3, ZHU Xiaoqiang3, JI Zhenyan3, LIU Jiqiang3   

  1. 1 School of Software,Beijing Jiaotong University,Beijing 100044,China
    2 School of Software,Tianjin University,Tianjin 300350,China
    3 School of Cyber Security,Beijing Jiaotong University,Beijing 100044,China
  • Published:2026-11-16 Online:2026-11-16
  • About author:LIAO Yuxuan,born in 2005,B.E. candidate.His main research interests include federated learning,secure aggregation,and privacy-preserving machine learning.
    ZHU Xiaoqiang,born in 1992,Ph.D,assistant professor,is a member of CCF(No.U4071M).His main research interests include Internet of ‘hings,machine learning,privacy protection.
  • Supported by:
    This work was supported by the Fundamental Research Funds for the Central Universities(2026JBMC063) and National Natural Science Foundation of China(62401037).

摘要: 随着6G与智能家居快速发展,联邦学习在分布式隐私训练中面临梯度反演攻击与先窃取后解密(Harvest-Now-Decrypt-Later,HNDL)量子威胁。现有安全聚合方案存在三大瓶颈:在线伪随机数生成开销随联邦轮次累积、依赖客户端间通信引入额外故障面、缺乏轻量级聚合可验证机制。为此,文中提出了 SPEAR——基于 ESP32 硬件 TRNG 网关与双种子预计算分离掩码的安全聚合架构。1)引入独立 TRNG 网关为每个客户端生成两个分属不同实体的真随机种子,将单点信任升级为两方不共谋安全;2)设计 Phase 0 全局预计算策略,把全部联邦轮次所需的掩码在训练前一次性离线生成,使在线加密退化为纯张量加法;3)建立概率审计机制,网关以可控概率验证聚合一致性且不泄露梯度信息。抗量子能力体现在两个层面:种子层采用硬件 TRNG 物理熵源使 HNDL 攻击无法回溯破译;算法层采用 SHAKE-256 使 Grover 搜索仍处于安全边界。在 HAM10000 皮肤镜图像与 CIFAR-10 两个开源数据集上的实验结果表明,SPEAR 精度与明文无统计显著差异(差距不超过0.48%),在线加密仅需约 0.01 至 0.13 秒每轮,并在不同数据异质程度与客户端规模下保持稳定,支持即时掉线容错。

关键词: 联邦学习, 安全聚合, 双种子掩码, 抗量子密码, 预计算

Abstract: With the rapid advancement of 6G and smart home technologies,federated learning faces critical challenges in distributed privacy-preserving training,including gradient inversion attacks and the harvest-now-decrypt-later(HNDL) quantum threat.Existing secure aggregation schemes suffer from three major bottlenecks:cumulative online pseudo-random number generation overhead across federated rounds,reliance on inter-client communication that introduces additional failure surfaces,and the lack of lightweight verifiable aggregation mechanisms.To address these issues,this paper proposes SPEAR—a secure aggregation architecture based on an ESP32 hardware-TRNG gateway and dual-seed precomputed separated masks.Firstly,it introduces an independent TRNG gateway that generates two true-random seeds for each client from distinct entities,upgrading single-point trust to a two-party non-colluding security model.Secondly,it designs a Phase 0 global precomputation strategy that generates all masks required for the entire federated rounds offline in a single batch before training,reducing online encryption to pure tensor addition.Thirdly,it establishes a probabilistic auditing mechanism,where the gateway verifies aggregation consistency with controllable probability without leaking gradient information.The post-quantum resilience is twofold:at the seed layer,the hardware TRNG physical entropy source renders HNDL attacks incapable of retrospective decryption;at the algorithmic layer,SHAKE-256 maintains a security margin against Grover’s search.Experiments on two open-source datasets-HAM10000 dermoscopic images and CIFAR-10-demonstrate that SPEAR achieves accuracy with no statistically significant difference from plaintext training(gap≤ 0.48%),online encryption takes only approximately 0.01 to 0.13 seconds per round,remains stable under varying degrees of data heterogeneity and client scales,and supports instant dropout tolerance.

Key words: Federated learning, Secure aggregation, Dual-seed mask, Post-quantum cryptography, Precomputation

中图分类号: 

  • TP393.08
[1] MCMAHAN B,MOORE E,RAMAGE D,et al.Communica-tion-efficient learning of deep networks from decentralized data[C]//Proceedings AISTATS.2017:1273-1282.
[2] TSCHANDL P,ROSENDAHL C,KITTLER H.The HAM-10000 dataset,a large collection of multi-sourcedermatoscopic images of common pigmented skin lesions[J].Scientific Data,2018,5(1):1-9.
[3] ZHU L,LIU Z,HAN S.Deep leakage from gradients[C]//Pro-ceedings NeurIPS.2019:14774-14784.
[4] GEIPING J,BAUERMEISTER H,DRÖGE H,et al.Inverting gradients-how easy is it to break privacy in federated learning?[C]//Proceedings NeurIPS.2020:16937-16947.
[5] SHOR P W.Algorithms for quantum computation:discrete log-arithms and factoring[C]//Proceedings FOCS.1994:124-134.
[6] National Institute of Standards and Technology.Post-quantumcryptography standardization[OL].NIST CSRC,2024.https://csrc.nist.gov/projects/post-quantum-cryptography.
[7] ABADI M,CHU A,GOODFELLOW I,et al.Deep learning with differential privacy[C]//Proceedings ACM CCS.2016:308-318.
[8] WEI K,LI J,DING M,et al.Federated learning with differential privacy:Algorithms and performance analysis[J].IEEE Transactions on Information Forensics and Security,2020,15:3454-3469.
[9] BRAKERSKI Z.Fully homomorphic encryption without modulus switching from classical GapSVP[C]//Proceedings CRYPTO.2012:868-886.
[10] CHEON J H,KIM A,KIM M,et al.Homomorphic encryption for arithmetic of approximate numbers[C]//Proceedings ASIACRYPT.2017:409-437.
[11] ZHANG C,LI S,XIA J,et al.BatchCrypt:Efficient homomorphic encryption for cross-silo federated learning[C]//Proceedings USENIX ATC.2020:493-506.
[12] BONAWITZ K,IVANOV V,KREUTER B,et al.Practical secure aggregation for privacy-preserving machine learning[C]//Proceedings ACM CCS.2017:1175-1191.
[13] MA Y,WOODS J,ANGEL S,et al.Flamingo:Multi-round single-server secure aggregation with applications to private federated learning[C]//Proceedings IEEE S&P.2023:1530-1547.
[14] PU L,GU J,LIN C,et al.Janus:Dual-server multi-round secure aggregation with verifiability for federated learning[C]//Proceedings ICML,2025:49927-49945.
[15] SO J,HE C,YANG C,et al.LightSecAgg:A lightweight andversatile design for secure aggregation in federated learning[C]//Proceedings MLSys.2022:1-14.
[16] BELL J H,BONAWITZ KA,GASCÓN A,et al.Secure single-server aggregation with(poly)logarithmic overhead[C]//Proceedings ACM CCS.2020:1253-1269.
[17] LIU Z,GUO J,LAM K Y,et al.Efficient dropout-resilient aggregation for privacy-preserving machine learning[J].IEEE Journal on Selected Areas in Information Theory,2023,18:1839-1854.
[18] LI B,YAN L,HAN J,et al.SenseCrypt:Sensitivity-guided selective homomorphic encryption for cross-device federated learning[J].arXiv:2508.04100,2025.
[19] MANSOURI M,ÖNEN M,BEN JABALLAH W,et al.SoK:Secure aggregation based on cryptographic schemes for federated learning[C]//Proceedings Privacy Enhancing Technologies.2023:140-157.
[20] BUYUKATES B,SO J,MAHDAVIFAR H,et al.LightVeri-FL:A lightweight and verifiable secure aggregation for federated learning[J].IEEE Journal on Selected Areas in Information Theory,2024,5:285-301,.
[21] WANG J,WANG R,XIONG L,et al.SAEV:Secure aggregation and efficient verification for privacy-preserving federated learning[J].IEEE Internet of Things Journal,2024,11(24):39305-39318.
[22] MCMAHAN H B,RAMAGE D,TALWAR K,et al.Learning differentially private recurrent language models[C]//Procee-dings ICLR.2018.
[23] LIU R,CAO Y,YOSHIKAWA M,et al.FedSel:Federated SGD under local differential privacy with top-k dimension selection[C]//Proceedings DASFAA.2021:477-493.
[24] HU R,GUO Y,GONG Y.Federated learning with sparsifiedmodel perturbation:Improving accuracy under client-level differential privacy[J].IEEE Transactions on Information Forensics and Security,2024,23(4):3022-3038.
[25] HAHN C,KIM H,KIM M,et al.VerSA:Verifiable secure aggregation for cross-device federated learning[J].IEEE Trans.Dependable Secure Comput.,2023,20(1):36-52.
[26] CORRIGAN-GIBBS H,BONEH D.Prio:Private,robust,andscalable computation of aggregate statistics[C]//Proceedings USENIX NSDI.2017:259-282.
[27] WU Y,HE K.Group normalization[C]//Proceedings ECCV.2018:3-19.
[28] KRIZHEVSKY A,HINTON G.Learning multiple layers of features from tiny images[R].University of Toronto,2009.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!