Bicoptor 2.0:解决概率截断中的挑战以增强隐私保护机器学习
Bicoptor 2.0: Addressing Challenges in Probabilistic Truncation for Enhanced Privacy-Preserving Machine Learning
AI总结:
针对现有隐私保护机器学习中概率截断协议的精度错误与效率受限问题,提出非交互式确定性截断等协议及精度、关键比特优化指南,实现推理性能3-4倍提升。
摘要:
本文主要从准确性和效率两个角度,分析现有隐私保护机器学习(PPML)研究中概率截断协议存在的问题并提出解决方案。在准确性方面,我们揭示了部分现有研究推荐的精度选择存在错误。我们对其开源代码进行了深入分析,发现错误主要源于简化的实现方式,具体而言,是在概率截断协议中使用固定数替代了随机数。基于此,我们开展了详细的理论分析以验证我们的观点,并提出了相应的解决方案以及面向未来研究的精度选择指南。在效率方面,我们指出了当前最先进的比较协议——Bicoptor(发表于S&P 2023)的DReLU协议存在局限性:该协议依赖概率截断协议,为避免错误会受到安全参数的严重约束,极大地影响了协议性能。为应对这些挑战,我们提出了首个非交互式确定性截断协议,替代原有的概率截断协议。此外,我们设计了一种非交互式模切换协议以增强协议的安全性。最后,我们提出了一种降低计算与通信开销的指南:根据不同的模型参数,仅使用输入的部分比特(即关键比特)执行DReLU操作。借助关键比特,我们的DReLU协议性能得到进一步提升。我们在三台GPU服务器上评估了协议的性能,结果显示,与当前最先进的研究成果Piranha-Falcon(发表于USENIX Sec 22)相比,我们的DReLU协议性能提升了10倍,ReLU协议性能提升了6倍。总体而言,我们的端到端(E2E)隐私保护机器学习(PPML)推理性能提升了3-4倍。
英文摘要:
This paper primarily focuses on analyzing the problems and proposing solutions for the probabilistic truncation protocol in existing PPML works from the perspectives of accuracy and efficiency. In terms of accuracy, we reveal that precision selections recommended in some of the existing works are incorrect. We conduct a thorough analysis of their open-source code and find that their errors were mainly due to simplified implementation, more specifically, fixed numbers are used instead of random numbers in probabilistic truncation protocols. Based on this, we provide a detailed theoretical analysis to validate our views. We propose a solution and a precision selection guideline for future works. Regarding efficiency, we identify limitations in the state-of-the-art comparison protocol, Bicoptor's (S\&P 2023) DReLU protocol, which relies on the probabilistic truncation protocol and is heavily constrained by the security parameter to avoid errors, significantly impacting the protocol's performance. To address these challenges, we introduce the first non-interactive deterministic truncation protocol, replacing the original probabilistic truncation protocol. Additionally, we design a non-interactive modulo switch protocol to enhance the protocol's security. Finally, we provide a guideline to reduce computational and communication overhead by using only a portion of the bits of the input, i.e., the key bits, for DReLU operations based on different model parameters. With the help of key bits, the performance of our DReLU protocol is further improved. We evaluate the performance of our protocols on three GPU servers, and achieve a 10x improvement in DReLU protocol, and a 6x improvement in the ReLU protocol over the state-of-the-art work Piranha-Falcon (USENIX Sec 22). Overall, the performance of our end-to-end (E2E) privacy-preserving machine learning (PPML) inference is improved by 3-4 times.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。