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

高吞吐量和可扩展的深度学习安全推理协议:基于打包秘密共享

High-Throughput and Scalable Secure Inference Protocols for Deep Learning with Packed Secret Sharing

Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);State Key Laboratory of Cyberspace Security Defense(网络空间安全防御全国重点实验室);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)

Qinghui Zhang, Xiaojun Chen, Yansong Zhang, Xudong Chen

AI总结:

本文提出一种高吞吐量且可扩展的MPC协议,用于对抗半诚实对手的神经网络推理。通过利用打包秘密共享技术,实现并行计算和降低通信复杂度,实验表明在广域网环境下性能优于现有方案。

摘要:

现有基于安全多方计算的神经网络推理协议通常仅支持最多四名参与者,显示出严重的可扩展性限制。Liu等人(USENIX Security'24)提出了首个相对实用的方法,利用Shamir秘密共享与梅森素数域。然而,处理更深的神经网络如VGG16时,其协议会产生显著的通信开销,导致在广域网(WAN)环境中出现特别显著的延迟。本文提出了一种针对半诚实对手的高吞吐量和可扩展的MPC协议,用于神经网络推理。我们的方法核心在于利用打包Shamir秘密共享(PSS)以实现并行计算并减少通信复杂度。主要贡献有三:i)我们提出了一种通信高效的向量-矩阵乘法协议,基于我们新定义的向量-矩阵乘法友好的随机共享元组。ii)我们设计了滤波器打包方法,以实现并行卷积。iii)我们进一步将基于Shamir秘密共享的所有非线性协议扩展到基于PSS的协议,以实现并行非线性操作。在各种数据集和神经网络上的广泛实验表明,我们的方法在WAN中具有优势。与Liu等人(USENIX Security'24)相比,我们的方案在离线、在线和总通信开销上分别减少了最多5.85倍、11.17倍和6.83倍。此外,我们的方案在离线、在线和总运行时间上分别快1.59倍、2.61倍和1.75倍。

英文摘要:

Most existing secure neural network inference protocols based on secure multi-party computation (MPC) typically support at most four participants, demonstrating severely limited scalability. Liu et al. (USENIX Security'24) presented the first relatively practical approach by utilizing Shamir secret sharing with Mersenne prime fields. However, when processing deeper neural networks such as VGG16, their protocols incur substantial communication overhead, resulting in particularly significant latency in wide-area network (WAN) environments. In this paper, we propose a high-throughput and scalable MPC protocol for neural network inference against semi-honest adversaries in the honest-majority setting. The core of our approach lies in leveraging packed Shamir secret sharing (PSS) to enable parallel computation and reduce communication complexity. The main contributions are three-fold: i) We present a communication-efficient protocol for vector-matrix multiplication, based on our newly defined notion of vector-matrix multiplication-friendly random share tuples. ii) We design the filter packing approach that enables parallel convolution. iii) We further extend all non-linear protocols based on Shamir secret sharing to the PSS-based protocols for achieving parallel non-linear operations. Extensive experiments across various datasets and neural networks demonstrate the superiority of our approach in WAN. Compared to Liu et al. (USENIX Security'24), our scheme reduces the communication upto 5.85x, 11.17x, and 6.83x in offline, online and total communication overhead, respectively. In addition, our scheme is upto 1.59x, 2.61x, and 1.75x faster in offline, online and total running time, respectively.

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

↑