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

无需旋转的高效同态加密卷积神经网络

Efficient Homomorphically Encrypted Convolutional Neural Network Without Rotation

Sajjad Akherati, Xinmiao Zhang

AI总结:

本文提出一种无需密文旋转的服务器-客户端联合计算过程与滤波器系数打包方案,在不影响同态加密安全性的前提下,大幅降低了卷积与全连接层的运行时间及通信成本。

摘要:

隐私保护神经网络(NN)推理可以通过利用同态加密(HE)来实现,该技术允许直接在密文上进行计算。流行的HE方案构建在大多项式环上。为了在卷积层和全连接层中允许同时进行乘法运算,多个输入数据被映射到同一多项式的系数中,NN的权重也是如此。然而,为了计算乘积之和和/或将不同通道的输出合并到同一多项式中,密文旋转是必要的。密文旋转的复杂度远高于密文乘法,并且占据了HE计算的Conv和FC层延迟的大部分。本文提出了一种新颖的重构服务器-客户端联合计算过程和一种新的滤波器系数打包方案,以在不影响HE方案安全性的情况下消除密文旋转。我们提出的方案还大幅减少了所需的系数乘法数量以及服务器与客户端之间的通信成本。对于基于CIFAR-10/100数据集的各种plain-20分类器,与之前最佳的设计相比,我们的设计将Conv和FC层的运行时间减少了15.5%,并将客户端和服务器之间的通信成本降低了50%以上。

英文摘要:

Privacy-preserving neural network (NN) inference can be achieved by utilizing homomorphic encryption (HE), which allows computations to be directly carried out over ciphertexts. Popular HE schemes are built over large polynomial rings. To allow simultaneous multiplications in the convolutional (Conv) and fully-connected (FC) layers, multiple input data are mapped to coefficients in the same polynomial, so are the weights of NNs. However, ciphertext rotations are necessary to compute the sums of products and/or incorporate the outputs of different channels into the same polynomials. Ciphertext rotations have much higher complexity than ciphertext multiplications and contribute to the majority of the latency of HE-evaluated Conv and FC layers. This paper proposes a novel reformulated server-client joint computation procedure and a new filter coefficient packing scheme to eliminate ciphertext rotations without affecting the security of the HE scheme. Our proposed scheme also leads to substantial reductions on the number of coefficient multiplications needed and the communication cost between the server and client. For various plain-20 classifiers over the CIFAR-10/100 datasets, our design reduces the running time of the Conv and FC layers by 15.5% and the communication cost between client and server by more than 50%, compared to the best prior design.

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

↑