Publication | Open Access
PrivFT: Private and Fast Text Classification With Homomorphic Encryption
86
Citations
49
References
2020
Year
Artificial IntelligencePrivacy ProtectionEngineeringMachine LearningInformation SecurityFully Homomorphic EncryptionFast Text ClassificationNatural Language ProcessingData ScienceText ClassificationPrivacy Enhancing TechnologyData PrivacyPrivate Information RetrievalComputer ScienceDeep LearningDifferential PrivacyPrivacyData SecurityCryptographyFhe SchemeHomomorphic Encryption
We present an efficient and non-interactive method for Text Classification while preserving the privacy of the content using Fully Homomorphic Encryption (FHE). Our solution (named Private Fast Text (PrivFT)) provides two services: 1) making inference of encrypted user inputs using a plaintext model and 2) training an effective model using an encrypted dataset. For inference, we use a pre-trained plaintext model and outline a system for homomorphic inference on encrypted user inputs with zero loss to prediction accuracy compared to the non-encrypted version. In the second part, we show how to train a supervised model using fully encrypted data to generate an encrypted model. For improved performance, we provide a GPU implementation of the Cheon-Kim-Kim-Song (CKKS) FHE scheme that shows 1 to 2 orders of magnitude speedup against existing implementations. We build PrivFT on top of our FHE engine in GPUs to achieve a run time per inference of 0.17 seconds for various Natural Language Processing (NLP) public datasets. Training on a relatively large encrypted dataset is more computationally intensive requiring 5.04 days.
| Year | Citations | |
|---|---|---|
Page 1
Page 1