journal article·2023-12-11Open access

Enhancing Privacy in Large Language Model with Homomorphic Encryption and Sparse Attention

Lexin Zhang, Changxiang Li, Qi Hu, Jingjing Lang, Sirui Huang, Linyue Hu, Jingwen Leng, Qiuhan Chen, Chunli Lv

Applied Sciences· Volume 13· Issue 24

Abstract

In response to the challenges of personal privacy protection in the dialogue models of the information era, this study introduces an innovative privacy-preserving dialogue model framework. This framework seamlessly incorporates Fully Homomorphic Encryption (FHE) technology with dynamic sparse attention (DSA) mechanisms, aiming to enhance the response efficiency and accuracy of dialogue systems without compromising user privacy. Experimental comparative analyses have confirmed the advantages of the proposed framework in terms of precision, recall, accuracy, and latency, with values of 0.92, 0.91, 0.92, and 15 ms, respectively. In particular, the newly proposed DSA module, while ensuring data security, significantly improves performance by up to 100 times compared to traditional multi-head attention mechanisms.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Privacy-Preserving Technologies in Data · Topic Modeling · Speech Recognition and Synthesis

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

China Agricultural University, Beijing 100083, China

Funding

National Natural Science Foundation of China

References (35)

Show source-provided references
1. Zhang, Y., Wa, S., Liu, Y., Zhou, X., Sun, P., and Ma, Q. (2021). High-accuracy detection of maize leaf diseases CNN based on multi-pathway activation function module. Remote Sens., 13.10.3390/rs13214218 ↗
2. Lin, X., Wa, S., Zhang, Y., and Ma, Q. (2022). A dilated segmentation network with the morphological correction method in farming area image Series. Remote Sens., 14.10.3390/rs14081771 ↗
3. Zhang, Y., He, S., Wa, S., Zong, Z., Lin, J., Fan, D., Fu, J., and Lv, C. (2022). Symmetry GAN Detection Network: An Automatic One-Stage High-Accuracy Detection Network for Various Types of Lesions on CT Images. Symmetry, 14.10.3390/sym14020234 ↗
4. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017, January 4–9). Attention is all you need. Proceedings of the Advances in Neural Information Processing Systems, Long Beach, CA, USA.
5. Devlin, J., Chang, M.W., Lee, K., and Toutanova, K. (2018). Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv.
6. Jain, N., Vaidyanath, S., Iyer, A., Natarajan, N., Parthasarathy, S., Rajamani, S., and Sharma, R. (2022, January 22–27). Jigsaw: Large Language Models meet Program Synthesis. Proceedings of the ACM/IEEE 44th International Conference on Software Engineering (ICSE), Pittsburgh, PA, USA.10.1145/3510003.3510203 ↗
7. Predicting hemoglobinopathies using ChatGPT
8. Medical education empowered by generative artificial intelligence large language models10.1016/j.molmed.2023.08.012 ↗
9. Thus, spoke GPT-3: Interviewing a large-language model on climate finance10.1016/j.frl.2022.103617 ↗
10. The Artificial intelligence large language models and neuropsychiatry practice and research ethic10.1016/j.ajp.2023.103577 ↗
11. Large language models for oncological applications10.1007/s00432-023-04824-w ↗
12. Big data security and privacy protection model based on image encryption algorithm
13. pISRA: Privacy considered information security risk assessment model10.1007/s11227-018-2371-0 ↗
14. An efficient approach for secure multi-party computation without authenticated channel10.1016/j.ins.2019.07.031 ↗
15. Zhou, J., Feng, Y., Wang, Z., and Guo, D. (2021). Using Secure Multi-Party Computation to Protect Privacy on a Permissioned Blockchain. Sensors, 21.10.3390/s21041540 ↗
16. Trust-aware and incentive-based offloading scheme for secure multi-party computation in Internet of Things10.1016/j.iot.2022.100527 ↗
17. Secure Fully Homomorphic Authenticated Encryption10.1109/ACCESS.2021.3100852 ↗
18. Multi-key Fully Homomorphic Encryption from Additive Homomorphism10.1093/comjnl/bxab154 ↗
19. A multi-valued quantum fully homomorphic encryption scheme10.1007/s11128-021-03051-x ↗
20. IND-CCA1 Secure FHE on Non-Associative Ring10.1587/transfun.2020EAP1057 ↗
21. Cai, Y., Tang, C., and Xu, Q. (2020). Two-Party Privacy-Preserving Set Intersection with FHE. Entropy, 22.10.3390/e22121339 ↗
22. On the security of fully homomorphic encryption for data privacy in Internet of Things10.1002/cpe.7330 ↗
23. Menon, S.J., and Wu, D.J. (2022, January 22–26). Spiral: Fast, high-rate single-server PIR via FHE composition. Proceedings of the 2022 IEEE Symposium on Security and Privacy (SP), San Francisco, CA, USA.10.1109/SP46214.2022.9833700 ↗
24. Bonte, C., Iliashenko, I., Park, J., Pereira, H.V., and Smart, N.P. (2022, January 5–9). Final: Faster fhe instantiated with ntru and lwe. Proceedings of the International Conference on the Theory and Application of Cryptology and Information Security, Taipei, Taiwan.10.1007/978-3-031-22966-4_7 ↗
25. Hu, J., Shen, L., and Sun, G. (2018, January 18–23). Squeeze-and-excitation networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00745 ↗
26. Woo, S., Park, J., Lee, J.Y., and Kweon, I.S. (2018, January 8–14). Cbam: Convolutional block attention module. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01234-2_1 ↗
27. NGCU: A new RNN model for time-series data prediction10.1016/j.bdr.2021.100296 ↗
28. SOC estimation for lithium-ion battery using the LSTM-RNN with extended input and constrained output10.1016/j.energy.2022.125375 ↗
29. Imagenet classification with deep convolutional neural networks
30. Simonyan, K., and Zisserman, A. (2014). Very Deep Convolutional Networks for Large-Scale Image Recognition. arXiv.
31. He, K., Zhang, X., Ren, S., and Sun, J. (July, January 26). Deep Residual Learning for Image Recognition. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
32. Chen, T., Bao, H., Huang, S., Dong, L., Jiao, B., Jiang, D., Zhou, H., Li, J., and Wei, F. (2022). The-x: Privacy-preserving transformer inference with homomorphic encryption. arXiv.10.18653/v1/2022.findings-acl.277 ↗
33. Shen, T., Qi, J., Jiang, J., Wang, X., Wen, S., Chen, X., Zhao, S., Wang, S., Chen, L., and Luo, X. (2022, January 11–13). SOTER: Guarding Black-box Inference for General Neural Networks at the Edge. Proceedings of the 2022 USENIX Annual Technical Conference (USENIX ATC 22), Carlsbad, CA, USA.
34. Wang, Y., Rajat, R., and Annavaram, M. (2022). MPC-Pipe: An Efficient Pipeline Scheme for Secure Multi-party Machine Learning Inference. arXiv.
35. Zhang, Y., Li, J., Liu, D., Chen, G., and Dou, J. (2022). DP-transformer: A distilling and probsparse self-attention rockburst prediction method. Energies, 15.10.3390/en15113959 ↗