<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Falcon: Fast Spectral Inference on Encrypted Data</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>10/01/2020</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10282774</idno>
					<idno type="doi"></idno>
					<title level='j'>Advances in neural information processing systems</title>
<idno>1049-5258</idno>
<biblScope unit="volume">33</biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Lou Qian</author><author>Lu Wen-jie</author><author>Hong Cheng</author><author>Jiang Lei</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Homomorphic Encryption (HE) based secure Neural Networks(NNs) inference is one of the most promising security solutions to emerging Machine Learning as a Service (MLaaS). In the HE-based MLaaS setting, a client encrypts the sensitive data, and uploads the encrypted data to the server that directly processes the encrypted data without decryption, and returns the encrypted result to the client. The clients' data privacy is preserved since only the client has the private key. Existing HE-enabled Neural Networks (HENNs), however, suffer from heavy computational overheads. The state-of-the-art HENNs adopt ciphertext packing techniques to reduce homomorphic multiplications by packing multiple messages into one single ciphertext. Nevertheless, rotations are required in these HENNs to implement the sum of the elements within the same ciphertext. We observed that HENNs have to pay significant computing overhead on rotations, and each of rotations is ∼10× more expensive than homomorphic multiplications between ciphertext and plaintext. So the massive rotations have become a primary obstacle of efficient HENNs. In this paper, we propose a fast, frequency-domain deep neural network called Falcon, for fast inferences on encrypted data. Falcon includes a fast Homomorphic Discrete Fourier Transform (HDFT) using block-circulant matrices to homomorphically support spectral operations. We also propose several efficient methods to reduce inference latency, including Homomorphic Spectral Convolution and Homomorphic Spectral Fully Connected operations by combing the batched HE and block-circulant matrices. Our experimental results show Falcon achieves the state-of-the-art inference accuracy and reduces the inference latency by 45.45%∼85.34% over prior HENNs on MNIST and CIFAR-10.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Homomorphic Encryption (HE)-enabled neural networks (NNs) <ref type="bibr">[1,</ref><ref type="bibr">2,</ref><ref type="bibr">3]</ref> are designed for secure Machine Learning as a Service (MLaaS). In HE-enabled MLaaS, a client encrypts his/her data and uploads the encrypted data to a server in the cloud. The server computes inferences on the encrypted data and returns the encrypted output to the client. The server cannot decrypt the encrypted input or output during an inference. However, HE naturally supports only linear layers of a neural network. Some interactive HE-enabled NNs (HENNs) <ref type="bibr">[4,</ref><ref type="bibr">5,</ref><ref type="bibr">6]</ref> take advantage of multi-party computation (MPC) to get the client involved in the computation of activation layers by exchanging several gigabyte data with the client during an inference, while other non-interactive HENNs [1, <ref type="bibr">2,</ref><ref type="bibr">3]</ref> approximate activations by a square function to perform secure inferences without involving the client. A non-interactive HE-enabled NN is a practical MLaaS solution with competitive accuracy for particular clients who have limited computing power and small network bandwidth. However, both interactive and non-interactive HE-enabled inferences are slow. An inference of state-of-the-art HENNs <ref type="bibr">[5,</ref><ref type="bibr">3]</ref> on an encrypted CIFAR-10 image costs several hundred seconds. Their long inference latency is caused by expensive HE rotations. Modern HE cryptosystems, e.g., BFV <ref type="bibr">[7]</ref>, pack a vector consisting of small integers into a single large integer, so that they can allow concurrent HE arithmetic operations to happen on individual integers by performing a single operation on the large integer. The single instruction multiple data (SIMD) computing style of HE significantly reduces inference latency of HENNs from multiple hours to several hundred seconds. However, each accumulation in linear layers of a HE-enabled NN requires a rotation operation to shuffle small integers packed into a large integer. As a result, rotations consume &gt; 90% of inference latency of a HE-enabled NN on an encrypted CIFAR-10 image.</p><p>Recent interactive HENNs <ref type="bibr">[4,</ref><ref type="bibr">8]</ref> use frequency-domain convolutions <ref type="bibr">[9,</ref><ref type="bibr">10]</ref> to perform only elementwise multiplications in their linear layers to eliminate expensive HE rotations. A plaintext image of a client is first converted to its frequency-domain representation by discrete Fourier transform (DFT), encrypted to a ciphertext, and then sent to a cloud server. Instead of HE multiply-accumulate (MAC) operations, only HE element-wise multiplications are required to perform frequency-domain convolutions on the server. After receiving the encrypted frequency-domain linear layer output, the client decrypts it and converts the plaintext frequency-domain output to a normal linear layer output by inverse DFT (IDFT). At last, the client performs activations on the normal linear layer output, and then moves to the next layer. The frequency-domain convolutions greatly reduce inference latency of interactive HENNs by 30% &#8764; 40%.</p><p>However, na&#239;vely using frequency-domain convolutions in non-interactive HENNs prolongs inference latency. Each HE operation introduces a certain amount of noise into the encrypted data. When the accumulated noise in the encrypted data is larger than the noise budget of a HENN, the encrypted data cannot be correctly decrypted. Therefore, the total number of HE operations along the critical path of a HENN decides the noise budget. A larger noise budget increases the latency of each HE operation. In interactive HENNs, the server sends the output to the client at the end of each linear layer. The client has to participate the computation of each activation layer. The client performs DFT and IDFT on plaintext data, and thus does not increase the number of HE operations at all. On the contrary, non-interactive HENNs homomorphically compute all linear and activation layers on the server without involving client. DFT and IDFT applied in non-interactive HENNs happen on the encrypted data, and thus should be homomorphic. Homomorphic DFT and IDFT greatly increase the noise budget of a non-interactive HENN by adding more HE operations to its critical path. Based on our estimation, the enlarged noise budget significantly prolongs inference latency of a frequency-domain non-interactive HENN by &gt; 100%.</p><p>In this paper, we propose Falcon for fast non-interactive privacy-preserving inference. Our contributions can be summarized as follows.</p><p>&#8226; We propose a novel HE DFT algorithm to homomorphically and efficiently convert an encrypted input to its encrypted frequency-domain representation.</p><p>&#8226; We propose a fast HE-enable convolution technique and a fully-connected technique on spectral domain using block circulant weight matrices.</p><p>&#8226; We consider the improvements and overhead of proposed techniques on both HE noise growth and HE parameters selection. Our experiments prove that Falcon reduces the inference latency by 45.45% &#8764; 85.34% over prior HENNs on MNIST and CIFAR-10.  </p><p>Figure <ref type="figure">2</ref>: A homomorphic dot-product.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Background</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Secure Neural Network Inference</head><p>Recent works [1, 2, 3, 4, 5, 6] use HE to implement linear layers of a HENN for MLaaS. However, HE cannot support non-linear activation layers. As Figure <ref type="figure">1</ref>(a) shows, interactive HENNs <ref type="bibr">[4,</ref><ref type="bibr">5,</ref><ref type="bibr">6]</ref> take advantage of MPC and secrete sharing to make the server to send the output to the client at the end of each linear layer, and get the client involved in the computation of each activation layer. In contrast, non-interactive HENNs [1, 2, 3] approximate activations by a square function to compute an entire secure inference without involving the client, as shown in Figure <ref type="figure">1</ref>(b). Compared to interactive HENNs, non-interactive HENNs have a lower requirement on the computing power and network bandwidth of the client, thereby becoming more friendly to low-power mobile devices. A state-ofthe-art interactive HENN, Delphi <ref type="bibr">[5]</ref>, has to exchange 2GB data between the client and server for only a ResNet-32 inference on an encrypted CIFAR-10 image. In this paper, we focus on accelerating non-interactive HENNs. Particularly, we select LoLa <ref type="bibr">[3]</ref> implemented by BFV <ref type="bibr">[7]</ref> as our baseline, due to its state-of-the-art inference accuracy and latency. Compared to other HE cryptosystems such as CKKS <ref type="bibr">[11]</ref>, the BFV-based LoLa improves inference latency by 30%.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Homomorphic Encryption</head><p>Homomorphic Encryption. HE allows operations on encrypted data without requiring access to the secret key <ref type="bibr">[7]</ref>. Given a public key pk, a private key sk, an encryption function (), and a decryption function &#963;(), a HE operation &#8855; can be defined if there is another operation &#215; such that &#963;( (x 1 , pk) &#8855; (x 2 , pk), sk) = &#963;( (x 1 &#215; x 2 , pk), sk), where x 1 and x 2 are plaintexts. Each HE operation introduces a certain amount of noise into encrypted data. When the accumulated noise is larger than a noise budget, errors happen during HE decryption. A bootstrapping operation <ref type="bibr">[12]</ref> is extremely expensive, although it can reduce the noise in encrypted data. Prior HENNs use leveled HE defining a noise budget to compute only a limited number of HE operations.</p><p>SIMD and Rotation. Modern HE cryptosystems, e.g., BFV <ref type="bibr">[7]</ref>, support single instruction multiple data (SIMD) vectors by encoding multiple integers into a larger integer based on Chinese Remainder Theorem. For instance, as Figure <ref type="figure">2</ref> shows, an encrypted input integer vector [x 0 , x 1 , x 2 , x 3 ] can be encrypted into m x , while another weight integer vector [w 0 , w 1 , w 2 , w 3 ] can be encrypted into m w . By computing a HE multiplication between m x and m w , four HE multiplications are simultaneously performed on individual integers, i.e., [</p><p>A HE cryptosystem also supports rotations to shuffle individual integers in a packed vector. For instance, rotating the vector [y 0 , y 1 , y 2 , y 3 ] by 2 results in the vector [y 2 , y 3 , y 0 , y 1 ]. A HE rotation is computationally expensive <ref type="bibr">[4]</ref> and introduces non-trivial noise into the encrypted data.</p><p>Homomorphic Multiply-Accumulate. The major operation in linear layers of a HENN is homomorphic MAC, as shown in Figure <ref type="figure">2</ref>. For a fully-connected (FC) layer, we assume the encrypted input vector x includes n elements, the encrypted output vector y has m elements, and the plaintext weight matrix w has a dimension of n &#215; m. For instance, for each row of w j (0 &#8804; j &#8804; m -1) and [x], we have</p><p>where M ulP C indicates a HE SIMD multiplication between a packed plaintext and a packed ciphertext; and rot means a HE rotation. As Equation 1 describes, log 2 n HE rotations are required to accumulate an element of y. We summarized the HE operation number and noise of a FC layer of LoLa in Table <ref type="table">1</ref>. Among all HE operations, rotations dominate inference latency of LoLa. In this paper, we focus on eliminating HE rotate-and-accumulate operations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3">Frequency-Domain Convolution</head><p>Interactive HENNs. Prior interactive HENNs <ref type="bibr">[4,</ref><ref type="bibr">8]</ref> use frequency-domain convolutions <ref type="bibr">[9,</ref><ref type="bibr">10]</ref> to perform only element-wise multiplications in their HE linear layers to reduce rotation overhead, as shown in Figure <ref type="figure">1</ref>(a). Based on Convolution Theorem, the convolutions in space domain are equivalent to element-wise products in frequency domain. Therefore, we have</p><p>. w 0,0 w 0,q-1 ...  where IDFT means inverse DFT. Frequency-domain convolutions greatly reduce inference latency of interactive HENNs, since unencrypted DFT and IDFT performed by the client introduce small computing overhead. </p><p>: ciphertext numbers of LoLa and LoLa+DFT; n a = I c &#8226; f 2 and n a = I c &#8226; I w &#8226; I h : accumulation numbers of LoLa and LoLa+DFT, where x is for roundup x to the nearest integer. &#951; 0 : initial noise; &#951; m : MultPC noise; and &#951; r : rotation noise).</p><p>Non-interactive HENNs. Unlike interactive HENNs, non-interactive HENNs shown in Figure <ref type="figure">1</ref>(b) have to use homomorphic DFT (HDFT) and IDFT (HIDFT), since the entire inference occurs on the server. Though a CKKS-based homomorphic DFT function with bootstrapping <ref type="bibr">[11]</ref> exists, there is no BFV-based DFT or IDFT function. Even if we have BFV-based DFT and IDFT functions, the total HE number and noise of a non-interactive HENN will be greatly increased by HDFT and HIDFT that also require HE rotate-and-accumulate operations. DFT and IDFT can be summarized as</p><p>where &#969; n = e 2&#960;i/n . As Table <ref type="table">1</ref> shows, if we na&#239;vely apply HDFT and HIDFT on LoLa, LoLa+DFT increases more than 2&#215; rotations since n a &gt; n a and n c &gt; n c , and thus introduces more noises. To maintain a larger noise budget for the noises, LoLa+DFT has to enlarge the HE encryption parameters, i.e., the ciphertext modulus q, and the polynomial degree N , which in turn prolong the latency of each M ulP C, AddCC, and rot operation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4">Block-Circulant Weight Matrices</head><p>Recent works <ref type="bibr">[13]</ref> compresses a weight filter of a plaintext NN into multiple blocks-circulant matrices to reduce inference computing overhead. The n &#215; m weight matrix is divided into p &#215; q square blocks, each of which (w i,j ) contains k &#215; k elements, where 0 &#8804; i &#8804; q -1 and 0 &#8804; j &#8804; p -1. We have p = m k and q = n k . The k &#215; k elements in a block can be derived by only k elements with shift operations. The input vector is divided into q parts, while the output vector is divided into p parts. To compute each part of the output vector (y i ) as shown in Figure <ref type="figure">3</ref>, we can use</p><p>The computational complexity of a FC layer is O(pqklogk).  rotations. ENSEI and MPCHE are proposed to reduce homomorphic rotations of interactive HENNs using spectral-domain convolutions. Nevertheless, their methods based on convolution theorem can not be applied to fully-connected operations. In addition, both ENSEI and MPCHE focus on interactive HENNs and cannot perform DFT and IDFT homomorphically. They enforce clients to process DFT and IDFT on the unencrypted data. Directly applying their methods on non-interactive HENNs prolongs the inference latency, due to the huge overhead of homomorphic DFT. Our Falcon includes an efficient homommorphic DFT technique and supports both spectral convolutions and FC operations, which significantly reduces the inference latency of non-interactive HENNs.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.5">Comparison against Prior Works</head><p>3 Falcon</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">BFV-based Homomorphic DFT</head><p>Algorithm 1: Homomorphic DFT (HDFT).</p><p>w 00 w 00 w 00 w 10 w 10 w 10 w 01 w 01 w 01 w 11 w 11 w 11 w 00 w 10 w 01 w 11   Re Re Re Re w 00 w 10 w 01 w 11   Re Re Re Re w 00 w 00 w 00 w 10 w 10 w 10 w 01 w 01 w 01 w 11 w 11 w 11 w 00 w 10 w 01 w 11    w00 w00 w10 w10</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Im</head><p>+ FC operations in LoLa FC operations in LoLa rot(y,1) rot(y,1) w01 w01 w11 w11 w01 w11 To support homomorphic DFT shown in Equation 3 using BFV scheme, we should firstly quantize and encode the complex numbers (w i,j ) of DFT conversion matrix.</p><p>Quantization. State-of-the-art non-interactive HENNs, e.g., LoLa, rely on the BFV protocol that supports only integer. The inputs, weights, activations, and outputs of the non-interactive HENNs are all integers. So x i of HDFT and HIDFT in Equation 3 is an integer. &#969; it n can be quantized as</p><p>where &#8226; is the rounding function converting a real number to an integer; and S 1 is an integer scaling factor. Through multiplying S 1 , the real inputs, weights, and &#969; it n of a HENN are scaled to keep more digits after their decimal point during the rounding process. We quantized the inputs, activations, weights, and &#969; it n of a HENN with 8-bit. We integrated the quantized HENN into the forward propagation of the training to minimize the accuracy loss.</p><p>Encoding Complex Numbers. Unlike HEAAN <ref type="bibr">[11]</ref>, the BFV protocol cannot naturally support complex number. We encode the real part (Re) S 1 cos( 2&#960;t n ) and the imaginary part (Im) <ref type="formula">5</ref>by two SIMD slots of a BFV ciphertext, so we have C = Re+jIm. For a HE complex addition (C 0 +C 1 ), we have (Re 0 +Re 1 )+j(Im 0 +Im 1 ). For a HE complex multiplication (C 0 &#215;C 1 ), we have ((Re 0 +Im 0 )Re 1 -(Re 1 +Im 1 )Im 0 )+j((Re 0 +Im 0 )Re 1 -(Re 1 +Im 1 )Re 0 ).</p><p>Homomorphic DFT and IDFT. We present a BFV-based homomorphic DFT in Algorithm 1 to homomorphically convert an encrypted integer vector [x] to its encrypted frequency-domain vector y=[x]. Here &#969; is the quantized DFT twiddle factors and its entries can be stacked and permuted in an offline phase. Table <ref type="table">3</ref> shows a comparison of computational complexity between prior homomorphic DFT (FTHDFT) <ref type="bibr">[17]</ref> and our Algorithm 1 when they both use the block circulant matrix technique. Algorithm 1 needs (log 2 k) rotations and additions, and 1 M ultP C operations for each real-part vector (Re) and imaginary-part vector (Im) of input vector x. Figure <ref type="figure">4</ref> shows an example of our algorithm 1 with k = 2, and this example requires 1 multiplication, rotation and addition for each real-part vector (Re) and imaginary-part vector (Im).</p><p>Table <ref type="table">3</ref>: The comparison of homomorphic DFT schemes with k points. Here &#951; = &#951; 0 &#951; m k +&#951; r (k-1).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Homomorphic Spectral FC Layer</head><p>Algorithm 2 shows our proposed homomorphic fully-connected (HFC) layer, which takes a spatial domain vector x as the input, and outputs the encrypted results  <ref type="table">4</ref> compares the computational overheads and noise growth between LoLa and our Falcon. Falcon requires 2log 2</p><p>Our experiments show that When k &gt;= 2, Falcon costs less computations than LoLa. For noise growth, we set &#951; = &#951; 0 &#951; m I + &#951; r (I -1). When k &gt; 1, Falcon reduces the noise accumulation, thereby potentially enabling more efficient HE parameters. Figure <ref type="figure">5</ref> shows an example why our Algorithm 2 is better than our baseline LoLa. In this example, k = 2, I = 2, O = 2 and N = 2, LoLa requires N c (O) = 2 ciphertexts and 2 &#215; log 2 (I) = 2 additions, rotations and multiplications. Our Falcon only requires N c ( O k ) = 1 ciphertext and 1 &#215; log 2 ( I 2 ) = 0 rotations. This is only a toy example and we should add the overhead of HDF T into our method. In practice, when I, O and N are very large, the overhead of HDF T is tiny compared to the other computations within a spectral FC, which is shown in section 5.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Scheme</head><p>Table <ref type="table">4</ref>: The comparison of homomorphic FC operations with I inputs and O outputs. dot-products, where s is the stride size. Previous works use M c (O ) ciphertexts to pack O &#215; stacked inputs, so that one homomorphic convolution operation is converted to O &#215; homomorphic dot-product operations on each sliding window with size I . Table <ref type="table">5</ref> shows that previous work requires log 2 I &#8226; M c (O ) rotations, and noise growth is &#951; = &#951; 0 &#951; m I + &#951; r (I -1). By using the block-circulant matrix technique, we only need M c ( O k ) ciphertexts as shown in Algorithim 3, which potentially reduces k&#215; homomorphic rotations, multiplications and additions. In addition, the dot-product of each ciphertext in Algorithm 3 only needs to accumulate entries between blocks, which is implemented by setting k c &#8226; k w &#8226; k h = k. Thus, each dot-product with size I only requires I k additions and rotations to accumulate its partial results. Table <ref type="table">5</ref> concludes the computational overheads and noise growth of LoLa and our Falcon. Falcon reduces &#8764; k&#8226;log2(k) 2 rotations, additions and multiplications over LoLa. Flacon has k&#215; less noise increase than LoLa.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">Homomorphic Spectral Convolution Layer</head><p>Table <ref type="table">5</ref>: The comparison of homomorphic convolution schemes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Experimental Methodology</head><p>Dataset, Networks and Operation Details. Our datasets include MNIST <ref type="bibr">[18]</ref> and CIFAR-10 <ref type="bibr">[19]</ref>.</p><p>The network architecture for MNIST dataset is same to LoLa <ref type="bibr">[20]</ref>, but we replace the spatial-domain middle layers into frequency domain. The network architecture and operations are summarized in Table <ref type="table">6</ref>. The block size k of circulant matrix is set as 8 so that accuracy is not decreased. We evaluated a 3-layer CNN same to LoLa <ref type="bibr">[20]</ref> on CIFAR-10. To keep original accuracy, the block size k = 16 of circulant matrix is used.</p><p>Cryptosystems Settings. We use BFV scheme in SEAL [21] to implement Falcon. For MNIST and CIFAR-10, the plaintext modulus t = 2148728833 &#215; 2148794369 &#215; 2149810177, modulus degree N = 16384, coefficient modulus Q =&#8764; 440 bits. More specific encryption parameters settings are shown in Table <ref type="table">7</ref> and Table <ref type="table">8</ref>. The security level is larger than 128 bits which is verified by lwe_estimator <ref type="bibr">[22]</ref>. To have fair comparisons with baselines, We ran all experiments on the same Azure standard B8ms virtual machine with 8 vCPUs and 32GB DRAM.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Results and Analysis</head><p>We compared Falcon against the state-of-the-art works including CryptoNets <ref type="bibr">[23]</ref>, Faster CryptoNets (FCryptoNets) <ref type="bibr">[24]</ref>, nGraph-HE <ref type="bibr">[25]</ref>, CHET <ref type="bibr">[15]</ref> and LoLa <ref type="bibr">[20]</ref>. The homomorphic operation numbers (HOPs), encryption parameter bits, message size, latency and accuracy are summarized in Table <ref type="table">7</ref>. HOPs is the sum of all homomorphic operation number including M ultP C, M ultCC, AddCC and rot. Message size is the size of encrypted input and output that the client needs to transmit.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1">MNIST</head><p>As  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">CIFAR-10</head><p>Table <ref type="table">8</ref> shows the inference latency, accuracy and HOPs of existing works on CIFAR-10. nGraph-HE implements CIFAR-10 inference in 1628 seconds with 62.1% accuracy. FCryptoNets improves 14.6% accuracy compared to nGraph-HE with a deeper and more complex neural network architecture, but it suffers from huge latency with 39K seconds. EVA and LoLa support same vector representations and operations, but they are based on HEAAN and BFV respectively and encryption parameters, thereby they have different latency. LoLa introduces 53K expensive rotations, each of rotations has &#8764; 10&#215; latency of multiplication M ultP C. Our work Falcon removes 86% rotations and reduces the latency from 730 seconds to 107 seconds. Table <ref type="table">9</ref> reports the batching representations and operations that Falcon applies in each layer. Since the second FC layer of LoLa occupies &#8764; 97% of the total latency, we replace this layer by our homomorphic convolution and keep the other layers same to LoLa. Falcon uses 7674 rotations, reducing 86% rotation numbers in the second convolution layer compared to LoLa which consumes 52975 rotations. Our baseline LoLa can be improved by LoLa' using more proper encryption parameter Q.  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Conclusion</head><p>In this paper, we propose Falcon, a low-latency deep neural network on encrypted data, which consists of a homomorphic DFT unit, a Homomorphic FC unit and a Homomorphic convolution unit based on block-circulant matrix. Our experimental results show Falcon reduces the inference latency by 45.45% &#8764; 85.34% over prior HENNs on various datasets. Falcon is the first frequency-domain non-interactive HENNs.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Broader Impact</head><p>Falcon enables a low-latency privacy-preserving neural network inference on encrypted data. With Falcon, users can enjoy low-latency secure inference services. In particular, users are able to receive low-latency and powerful machine learning inference services by uploading their sensitive data without concerning data privacy. Falcon has no negative impact on our society. If our proposed method fails, the latency of secure inferences will be prolonged.</p></div></body>
		</text>
</TEI>
