paper-with-me

홈 › Papers

LLMs Can Understand Encrypted Prompt: Towards Privacy-Computing Friendly Transformers

2023-05-28 · Xuanqi Liu, Zhuotao Liu

The community explored to build private inference frameworks for transformer-based large language models (LLMs) in a server-client setting, where the server holds the model parameters and the client inputs its private data (or prompt) for inference. However, these frameworks impose significant overhead when the private inputs are forward propagated through the original LLMs. In this paper, we show that substituting the computation- and communication-heavy operators in the transformer architecture with privacy-computing friendly approximations can greatly reduce the private inference costs while incurring very minor impact on model performance. Compared to state-of-the-art Iron (NeurIPS 2022), our privacy-computing friendly model inference pipeline achieves a $5\times$ acceleration in computation and an 80% reduction in communication overhead, while retaining nearly identical accuracy.

📄 PDF Abstract BibTeX arXiv:2305.18396

Code (1)

privatellm001/private-llm-inference 공식 구현

Similar Papers 제목 키워드 기반

BasedAI: A decentralized P2P network for Zero Knowledge Large Language Models (ZK-LLMs)

2024-03-01 · Sean Wellington

BasedAI is a distributed network of machines which introduces decentralized infrastructure capable of integrating Fully Homomorphic Encryption (FHE) with any large language model (LLM) connected to its network. The propo…

Language ModelingLanguage ModellingLarge Language ModelQuantization

Agentic Privacy-Preserving Machine Learning

2025-07-30 · Mengyu Zhang, Zhuotao Liu, Jingwen Huang, Xuanqi Liu arxiv

Privacy-preserving machine learning (PPML) is critical to ensure data privacy in AI. Over the past few years, the community has proposed a wide range of provably secure PPML schemes that rely on various cryptography prim…

Privacy-aware Fully Model-Free Event-triggered Cloud-based HVAC Control

2024-10-08 · Zhenan Feng, Ehsan Nekouei

Privacy is a major concern when computing-as-a-service (CaaS) platforms, e.g., cloud-computing platforms, are utilized for building automation, as CaaS platforms can infer sensitive information, such as occupancy, using …

Cloud ComputingModel Predictive Control

Pura: An Efficient Privacy-Preserving Solution for Face Recognition

2025-05-21 · Guotao Xu, Bowen Zhao, Yang Xiao, Yantao Zhong 외

Face recognition is an effective technology for identifying a target person by facial images. However, sensitive facial images raises privacy concerns. Although privacy-preserving face recognition is one of potential sol…

Face RecognitionPrivacy Preserving

Privacy-Preserving LLM Interaction with Socratic Chain-of-Thought Reasoning and Homomorphically Encrypted Vector Databases

2025-06-19 · Yubeen Bae, Minchan Kim, Jaejin Lee, SangBum Kim 외

Large language models (LLMs) are increasingly used as personal agents, accessing sensitive user data such as calendars, emails, and medical records. Users currently face a trade-off: They can send private records, many o…

Privacy Preserving