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

超越延迟:PPML中MPC和FHE的系统级特性分析

Beyond Latency: A System-Level Characterization of MPC and FHE for PPML

Cornell University(康奈尔大学);Pennsylvania State University(宾夕法尼亚州立大学);NVIDIA(英伟达)

Pengzhi Huang, Kiwan Maeng, G. Edward Suh

AI总结:

本文系统分析了MPC和FHE在多CNN和Transformer模型隐私保护推理中的性能与成本,探讨了不同环境、模型规模和批量大小下的表现,提供部署指导及硬件网络趋势对隐私保护计算方案的影响力分析。

摘要:

隐私保护在现代机器学习应用中已成为日益关注的问题。隐私保护机器学习(PPML)受到越来越多的研究关注,安全多方计算(MPC)和完全同态加密(FHE)等方法被积极研究。然而,现有这些方法的评估通常局限于狭窄、碎片化的设置,仅关注特定性能指标,如特定批量大小的在线推理延迟。从现有报告来看,难以比较不同方法,尤其是当考虑其他指标如能耗/成本或更广泛的系统设置(各种超参数、离线开销、未来硬件/网络配置等)时。我们对三种流行方法——基于算术/二进制共享转换和函数秘密共享的两种MPC变体以及FHE——在执行隐私保护推理时的性能和成本进行了统一特性分析。我们研究了多种局域网和广域网环境、模型大小、批量大小和输入序列长度。我们不仅评估了性能,还评估了在现实场景下部署的能耗和货币成本,考虑了其离线和在线计算/通信开销。我们为选择、优化和部署这些隐私保护计算范式提供了经验指导,并概述了日益发展的硬件和网络趋势如何影响MPC两种方案和FHE之间的权衡。本文为希望理解或加速PPML工作负载的研究人员和从业者提供了系统级见解。

英文摘要:

Privacy protection has become an increasing concern in modern machine learning applications. Privacy-preserving machine learning (PPML) has attracted growing research attention, with approaches such as secure multiparty computation (MPC) and fully homomorphic encryption (FHE) being actively explored. However, existing evaluations of these approaches have frequently been done on a narrow, fragmented setup and only focused on a specific performance metric, such as the online inference latency of a specific batch size. From the existing reports, it is hard to compare different approaches, especially when considering other metrics like energy/cost or broader system setups (various hyperparameters, offline overheads, future hardware/network configurations, etc.). We present a unified characterization of three popular approaches -- two variants of MPC based on arithmetic/binary sharing conversion and function secret sharing, and FHE -- on their performance and cost in performing privacy-preserving inference on multiple CNN and Transformer models. We study a range of LAN and WAN environments, model sizes, batch sizes, and input sequence lengths. We evaluate not only the performance but also the energy consumption and monetary cost of deploying under a realistic scenario, taking into account their offline and online computation/communication overheads. We provide empirical guidance for selecting, optimizing, and deploying these privacy-preserving compute paradigms, and outline how evolving hardware and network trends are likely to shift trade-offs between the two MPC schemes and FHE. This work provides system-level insights for researchers and practitioners who seek to understand or accelerate PPML workloads.

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

↑