arXiv reaDer
Volley Revolver: プライバシーを保護するニューラル ネットワークのための新しいマトリックス エンコーディング手法 (推論)
Volley Revolver: A Novel Matrix-Encoding Method for Privacy-Preserving Neural Networks (Inference)
この作業では、ニューラル ネットワークが準同型暗号化を使用してプライバシーを保護する方法で予測を行うのに特に便利な、新しいマトリックス エンコーディング手法を紹介します。このエンコード方法に基づいて、暗号化を介した手書き画像分類のための畳み込みニューラル ネットワークを実装します。 2 つの行列 A と B が準同型乗算を実行する場合、その背後にある主なアイデアは、単純なバージョンでは、行列 A と行列 B の転置をそれぞれ 2 つの暗号文に暗号化することです。追加の操作を使用すると、準同型行列の乗算を暗号化された行列に対して効率的に計算できます。畳み込み演算では、事前に各畳み込みカーネルを入力画像と同じサイズの行列空間にスパンして、いくつかの暗号文を生成します。これらの暗号文は後で入力画像を暗号化する暗号文とともに使用され、最終的な画像の一部を計算します。畳み込み結果。これらすべての中間結果を蓄積して、畳み込み演算を完了します。 40 個の vCPU を備えたパブリック クラウドでは、MNIST テスト データセットでの畳み込みニューラル ネットワークの実装は、サイズ 28 × 28 の 32 個の暗号化された画像の 10 個の可能性を同時に計算するのに約 287 秒かかります。データ所有者は、これらの 32 枚の画像を暗号化する 1 つの暗号文 (~19.8 MB) をパブリック クラウドにアップロードするだけで済みます。
In this work, we present a novel matrix-encoding method that is particularly convenient for neural networks to make predictions in a privacy-preserving manner using homomorphic encryption. Based on this encoding method, we implement a convolutional neural network for handwritten image classification over encryption. For two matrices A and B to perform homomorphic multiplication, the main idea behind it, in a simple version, is to encrypt matrix A and the transpose of matrix B into two ciphertexts respectively. With additional operations, the homomorphic matrix multiplication can be calculated over encrypted matrices efficiently. For the convolution operation, we in advance span each convolution kernel to a matrix space of the same size as the input image so as to generate several ciphertexts, each of which is later used together with the ciphertext encrypting input images for calculating some of the final convolution results. We accumulate all these intermediate results and thus complete the convolution operation. In a public cloud with 40 vCPUs, our convolutional neural network implementation on the MNIST testing dataset takes ∼ 287 seconds to compute ten likelihoods of 32 encrypted images of size 28 ×28 simultaneously. The data owner only needs to upload one ciphertext (∼19.8 MB) encrypting these 32 images to the public cloud.
updated: Wed Mar 29 2023 12:14:21 GMT+0000 (UTC)
published: Sat Jan 29 2022 12:40:19 GMT+0000 (UTC)
参考文献 (このサイトで利用可能なもの) / References (only if available on this site)
被参照文献 (このサイトで利用可能なものを新しい順に) / Citations (only if available on this site, in order of most recent)
Amazon.co.jpアソシエイト