English

Training Natural Language Processing Models on Encrypted Text for Enhanced Privacy

Computation and Language 2023-05-08 v1 Artificial Intelligence Cryptography and Security

Abstract

With the increasing use of cloud-based services for training and deploying machine learning models, data privacy has become a major concern. This is particularly important for natural language processing (NLP) models, which often process sensitive information such as personal communications and confidential documents. In this study, we propose a method for training NLP models on encrypted text data to mitigate data privacy concerns while maintaining similar performance to models trained on non-encrypted data. We demonstrate our method using two different architectures, namely Doc2Vec+XGBoost and Doc2Vec+LSTM, and evaluate the models on the 20 Newsgroups dataset. Our results indicate that both encrypted and non-encrypted models achieve comparable performance, suggesting that our encryption method is effective in preserving data privacy without sacrificing model accuracy. In order to replicate our experiments, we have provided a Colab notebook at the following address: https://t.ly/lR-TP

Keywords

Cite

@article{arxiv.2305.03497,
  title  = {Training Natural Language Processing Models on Encrypted Text for Enhanced Privacy},
  author = {Davut Emre Tasar and Ceren Ocal Tasar},
  journal= {arXiv preprint arXiv:2305.03497},
  year   = {2023}
}

Comments

3 pages

R2 v1 2026-06-28T10:26:50.957Z