arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.20243cs.CRcs.DC
收藏

HHEML:面向边缘隐私保护机器学习的混合同态加密

HHEML: Hybrid Homomorphic Encryption for Privacy-Preserving Machine Learning on Edge

Yu Hin Chan, Hao Yang, Shiyu Shen, Xingyu Fan, Shengzhe Lyu, Patrick S. Y. Hung, Ray C. C. Cheung

AI总结:

提出一种硬件加速的混合同态加密架构,结合对称加密与全同态加密,实现边缘设备上的低延迟、低功耗隐私保护机器学习推理,并在FPGA上验证了显著性能提升。

摘要:

隐私保护机器学习(PPML)是一个新兴的研究方向,旨在不可信环境中对敏感数据执行安全的机器学习推理。全同态加密(FHE)允许在服务器端直接对加密数据进行计算,使其成为PPML的一种有前景的方法。然而,FHE在客户端引入了显著的通信和计算开销,使其难以应用于边缘设备。混合同态加密(HHE)通过将对称加密(SE)与FHE相结合来弥补这一缺陷,从而降低客户端的计算成本;同时,与FHE友好的SE结合也能减轻服务器端的处理开销,使其成为一种更均衡且高效的替代方案。我们的工作提出了一种硬件加速的HHE架构,该架构围绕一种针对FHE兼容性优化的轻量级对称密码设计,并实现为专用硬件加速器。据我们所知,这是首个将端到端HHE框架与硬件加速相结合的设计。此外,我们还提出了若干微架构优化,以实现更高的性能和能效。所提出的工作被集成到完整的PPML流水线中,与软件实现相比,能够以显著更低的延迟和功耗实现安全推理。我们的贡献验证了低功耗、硬件加速的HHE在边缘部署中的可行性,并为在资源受限环境中构建可扩展、安全的机器学习系统提供了一种软硬件协同设计方法。在PYNQ-Z2平台上使用MNIST数据集的实验表明,与现有的基于FPGA的HHE加速器相比,客户端加密延迟降低了超过50倍,硬件吞吐量提升了近2倍。

英文摘要:

Privacy-preserving machine learning (PPML) is an emerging topic to handle secure machine learning inference over sensitive data in untrusted environments. Fully homomorphic encryption (FHE) enables computation directly on encrypted data on the server side, making it a promising approach for PPML. However, it introduces significant communication and computation overhead on the client side, making it impractical for edge devices. Hybrid homomorphic encryption (HHE) addresses this limitation by combining symmetric encryption (SE) with FHE to reduce the computational cost on the client side, and combining with an FHE-friendly SE can also lessen the processing overhead on the server side, making it a more balanced and efficient alternative. Our work proposes a hardware-accelerated HHE architecture built around a lightweight symmetric cipher optimized for FHE compatibility and implemented as a dedicated hardware accelerator. To the best of our knowledge, this is the first design to integrate an end-to-end HHE framework with hardware acceleration. Beyond this, we also present several microarchitectural optimizations to achieve higher performance and energy efficiency. The proposed work is integrated into a full PPML pipeline, enabling secure inference with significantly lower latency and power consumption than software implementations. Our contributions validate the feasibility of low-power, hardware- accelerated HHE for edge deployment and provide a hardware- software co-design methodology for building scalable, secure machine learning systems in resource-constrained environments. Experiments on a PYNQ-Z2 platform with the MNIST dataset show over a 50x reduction in client-side encryption latency and nearly a 2x gain in hardware throughput compared to existing FPGA-based HHE accelerators.

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

↑