DCT-CryptoNets: Scaling Private Inference in the Frequency Domain

📅 2024-08-27
🏛️ arXiv.org
📈 Citations: 1
Influential: 1
📄 PDF
🤖 AI Summary
To address the high computational overhead and poor scalability of fully homomorphic encryption (FHE) for private inference, this paper introduces the first frequency-domain private inference paradigm. Our method integrates the discrete cosine transform (DCT) into the FHE inference pipeline, enabling lightweight activation functions and optimized bootstrapping directly on JPEG-compatible frequency-domain representations. Leveraging the energy concentration property of DCT coefficients in low-frequency bands, we design a low-frequency-aware training strategy and a dedicated frequency-domain neural network architecture, coupled with dynamic bootstrapping scheduling. Experiments on ImageNet demonstrate that inference time is reduced from 12.5 to 2.5 hours (5.3× speedup), exhibiting superlinear scalability. Moreover, ciphertext noise is significantly suppressed, yielding improved prediction robustness. This work establishes a novel pathway toward high-accuracy, high-efficiency privacy-preserving inference.

Technology Category

Application Category

📝 Abstract
The convergence of fully homomorphic encryption (FHE) and machine learning offers unprecedented opportunities for private inference of sensitive data. FHE enables computation directly on encrypted data, safeguarding the entire machine learning pipeline, including data and model confidentiality. However, existing FHE-based implementations for deep neural networks face significant challenges in computational cost, latency, and scalability, limiting their practical deployment. This paper introduces DCT-CryptoNets, a novel approach that operates directly in the frequency-domain to reduce the burden of computationally expensive non-linear activations and homomorphic bootstrap operations during private inference. It does so by utilizing the discrete cosine transform (DCT), commonly employed in JPEG encoding, which has inherent compatibility with remote computing services where images are generally stored and transmitted in this encoded format. DCT-CryptoNets demonstrates a substantial latency reductions of up to 5.3$ imes$ compared to prior work on benchmark image classification tasks. Notably, it demonstrates inference on the ImageNet dataset within 2.5 hours (down from 12.5 hours on equivalent 96-thread compute resources). Furthermore, by learning perceptually salient low-frequency information DCT-CryptoNets improves the reliability of encrypted predictions compared to RGB-based networks by reducing error accumulating homomorphic bootstrap operations. DCT-CryptoNets also demonstrates superior scalability to RGB-based networks by further reducing computational cost as image size increases. This study demonstrates a promising avenue for achieving efficient and practical private inference of deep learning models on high resolution images seen in real-world applications.
Problem

Research questions and friction points this paper is trying to address.

Homomorphic Encryption
Deep Neural Networks
Privacy-Preserving Computation
Innovation

Methods, ideas, or system contributions that make the work stand out.

DCT-CryptoNets
Frequency-Domain Homomorphic Encryption
High-Resolution Image Analysis
🔎 Similar Papers
No similar papers found.
A
Arjun Roy
Purdue University
K
Kaushik Roy
Purdue University