Dear SG3z,
Thank you for your thoughtful review. We particularly appreciate your understanding of the key strengths of our approach. We would like to point out a potential typo and clarify that our method employs TFHE. Besides this, we hope that the following answers the questions that you had regarding our work:
---
### Response to Questions
> Q1: Are there any special scaling or normalization techniques that need to be considered when considering the YCrCb color space components of an image?
- Indeed, normalization is necessary when working with DCT coefficients, just as it is for other image representations. We follow the standard practice of normalizing the tensors using the mean and variance calculated from the full training dataset. However, since pre-computed mean and variance values for DCT coefficients on benchmark image datasets are not readily available, these statistics need to be calculated beforehand.
- This normalization was not explicitly mentioned in the “Methodology” text but can be seen in the last step of the “DCT Encoding” section in Figure 2. This is also most evident in the provided anonymous code repository.
> Q2: Can GPUs be used to any advantage in this approach?
- GPUs can in fact be leveraged to accelerate DCT-CryptoNets. Recent advancements in FHE libraries, such as the introduction of GPU support in Concrete-ML v1.7.0 (released Sept. 2024), are already demonstrating the potential for latency improvements. While initial benchmarks show a 1-2x speedup, we anticipate even greater gains as these libraries mature and incorporate further optimizations. This aligns with existing research showcasing substantial speedups (up to 20x or more) for TFHE on GPUs [1, 2].
- Furthermore, initiatives like the DARPA DPrive program, focused on developing dedicated homomorphic hardware accelerators, hold the promise of even more dramatic latency improvements (up to 1,000x). We believe that hardware acceleration, both through GPUs and specialized hardware, will be crucial for the widespread adoption of privacy-enhancing technologies like fully homomorphic encrypted neural networks (FHENNs).
> Q3: Are there any privacy preservation guarantees or "leakage" guarantees that could be developed around this approach. (I realize this may be challenging mathematically.)
- Thank you for bringing this important point up. While FHE offers robust protection against many traditional attacks, understanding the potential vulnerabilities and attack surfaces in the context of DCT-CryptoNets is crucial for ensuring the system's overall security and privacy guarantees. Many of these considerations are specifically focusing on the security considerations unique to FHE-based private inference.
- *Server-Side Attacks:* The server only receives encrypted DCT coefficients, protecting against a wide range of server-side attacks, including those from an honest-but-curious adversary. However, in the case of a malicious server, additional measures like verifiable computation (VC) may be necessary to ensure correct function evaluation [3, 4]. Integrating VC with FHE is an active area of research.
- *Communication Channel Security:* Encrypted communication between the client and server safeguards against eavesdropping. However, secure key transfer mechanisms are crucial to prevent unauthorized access to the decryption key.
- *Client-Side Vulnerabilities:* Data privacy relies heavily on the security of the client device, as this is where the data exists in plaintext. Robust client-side security measures, such as secure key storage and protection against malware, are essential. While FHE itself is secure against various attacks such as chosen/known plaintext attacks and chosen ciphertext attacks [5], these protections are contingent on the client's ability to safeguard their own secret key.
- We have added a new appendix section (Section A.1) which details all of the above threat models and mitigation strategies.
---
### References
[1] Morshed et al., CPU and GPU accelerated fully homomorphic encryption, IEEE HOST, 2020.
[2] Wang et al., HE-Booster: An efficient polynomial arithmetic acceleration on GPUs for fully homomorphic encryption. IEEE Transactions on Parallel and Distributed Systems, 2023.
[3] Viand et al., Verifiable fully homomorphic encryption, Arxiv, 2023.
[4] Atapoor et al., Verifiable FHE via lattice-based SNARKs, IACR Communications in Cryptology, 2024.
[5] Chris Peikert. A decade of lattice cryptography, Found. Trends Theor. Comput. Sci., 2016