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

Sajjad Akherati, Xinmiao Zhang
{"title":"无需旋转的高效同态加密卷积神经网络","authors":"Sajjad Akherati, Xinmiao Zhang","doi":"arxiv-2409.05205","DOIUrl":null,"url":null,"abstract":"Privacy-preserving neural network (NN) inference can be achieved by utilizing\nhomomorphic encryption (HE), which allows computations to be directly carried\nout over ciphertexts. Popular HE schemes are built over large polynomial rings.\nTo allow simultaneous multiplications in the convolutional (Conv) and\nfully-connected (FC) layers, multiple input data are mapped to coefficients in\nthe same polynomial, so are the weights of NNs. However, ciphertext rotations\nare necessary to compute the sums of products and/or incorporate the outputs of\ndifferent channels into the same polynomials. Ciphertext rotations have much\nhigher complexity than ciphertext multiplications and contribute to the\nmajority of the latency of HE-evaluated Conv and FC layers. This paper proposes\na novel reformulated server-client joint computation procedure and a new filter\ncoefficient packing scheme to eliminate ciphertext rotations without affecting\nthe security of the HE scheme. Our proposed scheme also leads to substantial\nreductions on the number of coefficient multiplications needed and the\ncommunication cost between the server and client. For various plain-20\nclassifiers over the CIFAR-10/100 datasets, our design reduces the running time\nof the Conv and FC layers by 15.5% and the communication cost between client\nand server by more than 50%, compared to the best prior design.","PeriodicalId":501332,"journal":{"name":"arXiv - CS - Cryptography and Security","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-09-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Efficient Homomorphically Encrypted Convolutional Neural Network Without Rotation\",\"authors\":\"Sajjad Akherati, Xinmiao Zhang\",\"doi\":\"arxiv-2409.05205\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Privacy-preserving neural network (NN) inference can be achieved by utilizing\\nhomomorphic encryption (HE), which allows computations to be directly carried\\nout over ciphertexts. Popular HE schemes are built over large polynomial rings.\\nTo allow simultaneous multiplications in the convolutional (Conv) and\\nfully-connected (FC) layers, multiple input data are mapped to coefficients in\\nthe same polynomial, so are the weights of NNs. However, ciphertext rotations\\nare necessary to compute the sums of products and/or incorporate the outputs of\\ndifferent channels into the same polynomials. Ciphertext rotations have much\\nhigher complexity than ciphertext multiplications and contribute to the\\nmajority of the latency of HE-evaluated Conv and FC layers. This paper proposes\\na novel reformulated server-client joint computation procedure and a new filter\\ncoefficient packing scheme to eliminate ciphertext rotations without affecting\\nthe security of the HE scheme. Our proposed scheme also leads to substantial\\nreductions on the number of coefficient multiplications needed and the\\ncommunication cost between the server and client. For various plain-20\\nclassifiers over the CIFAR-10/100 datasets, our design reduces the running time\\nof the Conv and FC layers by 15.5% and the communication cost between client\\nand server by more than 50%, compared to the best prior design.\",\"PeriodicalId\":501332,\"journal\":{\"name\":\"arXiv - CS - Cryptography and Security\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-09-08\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Cryptography and Security\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2409.05205\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Cryptography and Security","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.05205","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

利用同构加密(HE)可以实现保护隐私的神经网络(NN)推理,它允许直接在密码文本上进行计算。为了允许卷积层(Conv)和全连接层(FC)同时进行乘法运算,多个输入数据被映射为同一个多项式的系数,神经网络的权重也是如此。但是,为了计算乘积之和和/或将不同通道的输出纳入相同的多项式,需要对密文进行旋转。密文旋转的复杂度远高于密文乘法,是造成 HE 评估 Conv 和 FC 层延迟的主要原因。本文提出了一种新颖的重构服务器-客户端联合计算程序和一种新的滤波器高效打包方案,在不影响 HE 方案安全性的情况下消除了密文旋转。我们提出的方案还大大减少了所需的系数乘法次数以及服务器和客户端之间的通信成本。对于 CIFAR-10/100 数据集上的各种普通 20 分类器,与之前的最佳设计相比,我们的设计将 Conv 层和 FC 层的运行时间减少了 15.5%,将客户端与服务器之间的通信成本减少了 50%以上。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Efficient Homomorphically Encrypted Convolutional Neural Network Without Rotation
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
PAD-FT: A Lightweight Defense for Backdoor Attacks via Data Purification and Fine-Tuning Artemis: Efficient Commit-and-Prove SNARKs for zkML A Survey-Based Quantitative Analysis of Stress Factors and Their Impacts Among Cybersecurity Professionals Log2graphs: An Unsupervised Framework for Log Anomaly Detection with Efficient Feature Extraction Practical Investigation on the Distinguishability of Longa's Atomic Patterns
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1