arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2408.16387cs.CR
收藏

利用卷积神经网络增强MOTION2NX以实现高效、可扩展且安全的图像推理

Enhancing MOTION2NX for Efficient, Scalable and Secure Image Inference using Convolutional Neural Networks

Haritha K, Ramya Burra, Srishti Mittal, Sarthak Sharma, Abhilash Venkatesh, Anshoo Tandon

AI总结:

本文通过张量化原语、Helper节点卷积优化和可配置拆分算法增强MOTION2NX框架,在ABY2.0协议上实现高效、可扩展且安全的CNN图像推理,显著降低执行时间和内存占用。

摘要:

本工作致力于在计算资源适中的机器上开发一种高效且可扩展的开源安全多方计算(SMPC)协议。我们使用在基于C++的MOTION2NX框架上实现的ABY2.0 SMPC协议,用于具有半诚实安全性的安全卷积神经网络(CNN)推理应用。我们的贡献如下。首先,我们通过提供若干原始函数的张量化版本来增强MOTION2NX,这些函数包括Hadamard积、指示函数和argmax函数。其次,我们改进了现有的Helper节点算法,使其与ABY2.0协议协同工作,以实现高效的卷积计算,从而减少执行时间和RAM使用量。第三,我们还提出了一种新颖的拆分算法,该算法将每个CNN层的计算划分为多个可配置的块。这种新颖的拆分算法显著减少了RAM使用量,具有独立的研究价值,并且适用于通用的SMPC协议。

英文摘要:

This work contributes towards the development of an efficient and scalable open-source Secure Multi-Party Computation (SMPC) protocol on machines with moderate computational resources. We use the ABY2.0 SMPC protocol implemented on the C++ based MOTION2NX framework for secure convolutional neural network (CNN) inference application with semi-honest security. Our list of contributions are as follows. Firstly, we enhance MOTION2NX by providing a tensorized version of several primitive functions including the Hadamard product, indicator function and argmax function. Secondly, we adapt an existing Helper node algorithm, working in tandem with the ABY2.0 protocol, for efficient convolution computation to reduce execution time and RAM usage. Thirdly, we also present a novel splitting algorithm that divides the computations at each CNN layer into multiple configurable chunks. This novel splitting algorithm, providing significant reduction in RAM usage, is of independent interest and is applicable to general SMPC protocols.

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

↑