paper-with-me

Papers

Encryption-Friendly LLM Architecture

2024-10-03 · Donghwan Rho, Taeseong Kim, Minje Park, Jung Woo Kim, Hyunsik Chae, Ernest K. Ryu, Jung Hee Cheon

Large language models (LLMs) offer personalized responses based on user interactions, but this use case raises serious privacy concerns. Homomorphic encryption (HE) is a cryptographic protocol supporting arithmetic computations in encrypted states and provides a potential solution for privacy-preserving machine learning (PPML). However, the computational intensity of transformers poses challenges for applying HE to LLMs. In this work, we propose a modified HE-friendly transformer architecture with an emphasis on inference following personalized (private) fine-tuning. Utilizing LoRA fine-tuning and Gaussian kernels, we achieve significant computational speedups -- 6.94x for fine-tuning and 2.3x for inference -- while maintaining performance comparable to plaintext models. Our findings provide a viable proof of concept for offering privacy-preserving LLM services in areas where data protection is crucial. Our code is available on GitHub.

📄 PDF Abstract BibTeX arXiv:2410.02486

Code (1)

donghwan-rho/Encryption-friendly_LLM_Architecture pytorch

Tasks

Privacy Preserving

Similar Papers 제목 키워드 기반

HEMET: A Homomorphic-Encryption-Friendly Privacy-Preserving Mobile Neural Network Architecture

2021-05-31 · Qian Lou, Lei Jiang

Recently Homomorphic Encryption (HE) is used to implement Privacy-Preserving Neural Networks (PPNNs) that perform inferences directly on encrypted data without decryption. Prior PPNNs adopt mobile network architectures s…

Privacy Preserving

A methodology for training homomorphicencryption friendly neural networks

2021-11-05 · Moran Baruch, Nir Drucker, Lev Greenberg, Guy Moshkowich

Privacy-preserving deep neural network (DNN) inference is a necessity in different regulated industries such as healthcare, finance and retail. Recently, homomorphic encryption (HE) has been used as a method to enable an…

Knowledge DistillationPrivacy Preserving

CFE-PPAR: Compression-friendly encryption for privacy-preserving action recognition leveraging video transformers

2026-05-07 · Haiwei Lin, Shoko Imaizumi, Hitoshi Kiya arxiv

Privacy-preserving action recognition (PPAR) enables machines to understand human activities in videos without revealing sensitive visual content. Among the various strategies for PPAR, encryption-based methods achieve s…

Action Recognition

FheFL: Fully Homomorphic Encryption Friendly Privacy-Preserving Federated Learning with Byzantine Users

2023-06-08 · Yogachandran Rahulamathavan, Charuka Herath, Xiaolan Liu, Sangarapillai Lambotharan 외

The federated learning (FL) technique was developed to mitigate data privacy issues in the traditional machine learning paradigm. While FL ensures that a user's data always remain with the user, the gradients are shared …

Data PoisoningFederated LearningPrivacy Preserving

TT-TFHE: a Torus Fully Homomorphic Encryption-Friendly Neural Network Architecture

2023-02-03 · Adrien Benamira, Tristan Guérand, Thomas Peyrin, Sayandeep Saha

This paper presents TT-TFHE, a deep neural network Fully Homomorphic Encryption (FHE) framework that effectively scales Torus FHE (TFHE) usage to tabular and image datasets using a recent family of convolutional neural n…

CPU