PrivacyRestore: Privacy-Preserving Inference in Large Language Models via Privacy Removal and Restoration
Not on the map. Why?
Abstract (arXiv)
The widespread usage of online Large Language Models (LLMs) inference services has raised significant privacy concerns about the potential exposure of private information in user inputs to malicious eavesdroppers. Existing privacy protection methods for LLMs suffer from either insufficient privacy protection, performance degradation, or large inference time overhead. To address these limitations, we propose PrivacyRestore, a plug-and-play method to protect the privacy of user inputs during LLM inference. The server first trains restoration vectors for each privacy span and then release to clients. Privacy span is defined as a contiguous sequence of tokens within a text that contain private information. The client then aggregate restoration vectors of all privacy spans in the input into a single meta restoration vector which is later sent to the server side along with the input without privacy spans.The private information is restored via activation steering during inference. Furthermore, we prove that PrivacyRestore inherently prevents the linear growth of the privacy budget.We create three datasets, covering medical and legal domains, to evaluate the effectiveness of privacy preserving methods. The experimental results show that PrivacyRestore effectively protects private information and maintain acceptable levels of performance and inference overhead.
Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). Builds on 52 of its 77 references that are in the map. First posted on arXiv 3 Jun 2024.
Builds on
52 of 77 references.
References · 52
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2016Understanding intermediate layers using linear classifier probescited by 1,279
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
38 more
- 2023BloombergGPT: A Large Language Model for Financecited by 923
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
- 2024ORPO: Monolithic Preference Optimization without Reference Modelcited by 556
- 2021Differentially Private Fine-tuning of Language Modelscited by 392
- 2023PIXIU: A Large Language Model, Instruction Data and Evaluation Benchmark for Financecited by 217
- 2023Text Embeddings Reveal (Almost) As Much As Textcited by 189
- 2023Inspecting and Editing Knowledge Representations in Language Modelscited by 140
- 2019Privacy- and Utility-Preserving Textual Analysis via Calibrated Multivariate Perturbationscited by 115
- 2022Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipecited by 108
- 2024TruthX: Alleviating Hallucinations by Editing Large Language Models in Truthful Spacecited by 90
- 2022DDXPlus: A New Dataset For Automatic Medical Diagnosiscited by 87
- 2023Sentence Embedding Leaks More Information than You Expect: Generative Embedding Inversion Attack to Recover the Whole Sentencecited by 81
- 2022When Federated Learning Meets Pre-trained Language Models' Parameter-Efficient Tuning Methodscited by 74
- 2022Differentially Private Language Models for Secure Data Sharingcited by 68
- 2022MPCFormer: fast, performant and private Transformer inference with MPCcited by 67
- 2020Differentially Private Representation for NLP: Formal Guarantee and An Empirical Study on Privacy and Fairnesscited by 66
- 2022The Limits of Word Level Differential Privacycited by 63
- 2023Locally Differentially Private Document Generation Using Zero Shot Promptingcited by 63
- 2021Selective Differential Privacy for Language Modelingcited by 61
- 2021Natural Language Understanding with Privacy-Preserving BERTcited by 54
- 2022Decepticons: Corrupted Transformers Breach Privacy in Federated Learning for Language Modelscited by 52
- 2019Leveraging Hierarchical Representations for Preserving Privacy and Utility in Textcited by 49
- 2023Truth Forest: Toward Multi-Scale Truthfulness in Large Language Models through Intervention without Tuningcited by 45
- 2023Privacy-Preserving Parameter-Efficient Fine-Tuning for Large Language Model Servicescited by 43
- 2024Signed-Prompt: A New Approach to Prevent Prompt Injection Attacks Against LLM-Integrated Applicationscited by 42
- 2020A Differentially Private Text Perturbation Method Using a Regularized Mahalanobis Metriccited by 41
- 2023Hide and Seek (HaS): A Lightweight Framework for Prompt Privacy Protectioncited by 37
- 2019ER-AE: Differentially Private Text Generation for Authorship Anonymizationcited by 35
- 2021Membership Inference on Word Embedding and Beyondcited by 34
- 2023Protecting User Privacy in Remote Conversational Systems: A Privacy-Preserving framework based on text sanitizationcited by 23
- 2023Selective Pre-training for Private Fine-tuningcited by 22
- 2024Large Language Models are Advanced Anonymizerscited by 22
- 2023LLMs Can Understand Encrypted Prompt: Towards Privacy-Computing Friendly Transformerscited by 20
- 2023Primer: Fast Private Transformer Inference on Encrypted Datacited by 19
- 2022You Don't Know My Favorite Color: Preventing Dialogue Representations from Revealing Speakers' Private Personascited by 11
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2024: 3; 2025: 8; 2026: 16.
27 papers.
Sort:
By area:
- 2024PAPILLON: Privacy Preservation from Internet-based and Local Language Model Ensemblescited by 54
- 2025PrivaCI-Bench: Evaluating Privacy with Contextual Integrity and Legal Compliancecited by 34
- 2025PRISM: Privacy-Aware Routing for Adaptive Cloud-Edge LLM Inference via Semantic Sketch Collaborationcited by 10
- 2025Privacy-Preserving LLM Embedding Transmission for End-Cloud Collaborationcited by 5
- 2025RewardDS: Privacy-Preserving Fine-Tuning for Large Language Models via Reward Driven Data Synthesiscited by 3
- 2026Privasis: Synthesizing the Largest "Public" Private Dataset from Scratchcited by 3
- 2024Meta-Learning for Speeding Up Large Model Inference in Decentralized Environmentscited by 2
- 2025Galaxy: A Cognition-Centered Framework for Proactive, Privacy-Preserving, and Self-Evolving LLM Agentscited by 2
- 2026Towards Privacy-Preserving LLM Inference via Covariant Obfuscation (Technical Report)cited by 2
- 2024Confidential Prompting: Privacy-preserving LLM Inference on Cloudcited by 1
- 2025From Large AI Models to Agentic AI: A Tutorial on Future Intelligent Communicationscited by 1
- 2026Burn-After-Use for Preventing Data Leakage through a Secure Multi-Tenant Architecture in Enterprise LLMcited by 1
15 more
- 2026SoK: Privacy-aware LLM in Healthcare: Threat Model, Privacy Techniques, Challenges and Recommendationscited by 1
- 2026Your Inference Request Will Become a Black Box: Confidential Inference for Cloud-based Large Language Modelscited by 1
- 2026Towards Privacy-Preserving Large Language Model: Text-free Inference Through Alignment and Adaptationcited by 1
- 2026Learning to Seek Help: Dynamic Collaboration Between Small and Large Language Modelscited by 1
- 2026PrivScope: Task-scoped Disclosure Control for Hybrid Agentic Systemscited by 1
- 2026An Efficient and Privacy-Preserving Architecture for Cross-Institutional Collaborative RAGcited by 1
- 2026Vision Language Model Helps Private Information De-Identification in Vision Datacited by 1
- 2026Demystifying the Privacy-Utility Trade-off in LLM Interactionscited by 1
- 2025Semantic Encryption: Secure and Effective Interaction with Cloud-based Large Language Models via Semantic Transformationcited by 0
- 2025Meta-Learning for Speeding Up Large Model Inference in Decentralized Environmentscited by 0
- 2026Differentially Private and Communication Efficient Large Language Model Split Inference via Stochastic Quantization and Soft Promptcited by 0
- 2026BodhiPromptShield: Pre-Inference Prompt Mediation for Surface-Form Privacy Propagation in LLM Agent Pipelinescited by 0
- 2026P2Skill: Privacy Preserving Skill Distillation for Cloud-Local LLM Inference Systemscited by 0
- 2026PrivBench: A Holistic and Modular Benchmarking Platform for Evaluating Text-to-Text Privatizationcited by 0
- 2026Learning to Refer: Client-Resolved Generation for Privacy-Aware Language Modelscited by 0
- 2026Learning to Refer: Client-Resolved Generation for Privacy-Aware Language Models26 Sep 2026
- 2026Demystifying the Privacy-Utility Trade-off in LLM Interactions10 Sep 2026
- 2026PrivBench: A Holistic and Modular Benchmarking Platform for Evaluating Text-to-Text Privatization30 Aug 2026
- 2026P2Skill: Privacy Preserving Skill Distillation for Cloud-Local LLM Inference Systems14 Aug 2026
- 2026Vision Language Model Helps Private Information De-Identification in Vision Data8 Jun 2026
- 2026An Efficient and Privacy-Preserving Architecture for Cross-Institutional Collaborative RAG25 May 2026
- 2026PrivScope: Task-scoped Disclosure Control for Hybrid Agentic Systems15 May 2026
- 2026Learning to Seek Help: Dynamic Collaboration Between Small and Large Language Models20 Apr 2026
- 2026Towards Privacy-Preserving Large Language Model: Text-free Inference Through Alignment and Adaptation8 Apr 2026
- 2026BodhiPromptShield: Pre-Inference Prompt Mediation for Surface-Form Privacy Propagation in LLM Agent Pipelines7 Apr 2026
- 2026Towards Privacy-Preserving LLM Inference via Covariant Obfuscation (Technical Report)2 Mar 2026
- 2026Your Inference Request Will Become a Black Box: Confidential Inference for Cloud-based Large Language Models27 Feb 2026
15 more
- 2026Differentially Private and Communication Efficient Large Language Model Split Inference via Stochastic Quantization and Soft Prompt12 Feb 2026
- 2026Privasis: Synthesizing the Largest "Public" Private Dataset from Scratch3 Feb 2026
- 2026SoK: Privacy-aware LLM in Healthcare: Threat Model, Privacy Techniques, Challenges and Recommendations15 Jan 2026
- 2026Burn-After-Use for Preventing Data Leakage through a Secure Multi-Tenant Architecture in Enterprise LLM10 Jan 2026
- 2025PRISM: Privacy-Aware Routing for Adaptive Cloud-Edge LLM Inference via Semantic Sketch Collaboration27 Nov 2025
- 2025Meta-Learning for Speeding Up Large Model Inference in Decentralized Environments8 Aug 2025
- 2025Galaxy: A Cognition-Centered Framework for Proactive, Privacy-Preserving, and Self-Evolving LLM Agents6 Aug 2025
- 2025Semantic Encryption: Secure and Effective Interaction with Cloud-based Large Language Models via Semantic Transformation3 Aug 2025
- 2025From Large AI Models to Agentic AI: A Tutorial on Future Intelligent Communications28 May 2025
- 2025Privacy-Preserving LLM Embedding Transmission for End-Cloud Collaboration17 Mar 2025
- 2025PrivaCI-Bench: Evaluating Privacy with Contextual Integrity and Legal Compliance24 Feb 2025
- 2025RewardDS: Privacy-Preserving Fine-Tuning for Large Language Models via Reward Driven Data Synthesis23 Feb 2025
- 2024Meta-Learning for Speeding Up Large Model Inference in Decentralized Environments28 Oct 2024
- 2024PAPILLON: Privacy Preservation from Internet-based and Local Language Model Ensembles22 Oct 2024
- 2024Confidential Prompting: Privacy-preserving LLM Inference on Cloud27 Sep 2024
- 2025Galaxy: A Cognition-Centered Framework for Proactive, Privacy-Preserving, and Self-Evolving LLM Agentscited by 2
- 2025From Large AI Models to Agentic AI: A Tutorial on Future Intelligent Communicationscited by 1
- 2026PrivScope: Task-scoped Disclosure Control for Hybrid Agentic Systemscited by 1
- 2026BodhiPromptShield: Pre-Inference Prompt Mediation for Surface-Form Privacy Propagation in LLM Agent Pipelinescited by 0
- 2026PrivScope: Task-scoped Disclosure Control for Hybrid Agentic Systems15 May 2026
- 2026BodhiPromptShield: Pre-Inference Prompt Mediation for Surface-Form Privacy Propagation in LLM Agent Pipelines7 Apr 2026
- 2025Galaxy: A Cognition-Centered Framework for Proactive, Privacy-Preserving, and Self-Evolving LLM Agents6 Aug 2025
- 2025From Large AI Models to Agentic AI: A Tutorial on Future Intelligent Communications28 May 2025
- 2024PAPILLON: Privacy Preservation from Internet-based and Local Language Model Ensemblescited by 54
- 2025PrivaCI-Bench: Evaluating Privacy with Contextual Integrity and Legal Compliancecited by 34
- 2025PRISM: Privacy-Aware Routing for Adaptive Cloud-Edge LLM Inference via Semantic Sketch Collaborationcited by 10
- 2026Privasis: Synthesizing the Largest "Public" Private Dataset from Scratchcited by 3
- 2026Towards Privacy-Preserving LLM Inference via Covariant Obfuscation (Technical Report)cited by 2
- 2024Confidential Prompting: Privacy-preserving LLM Inference on Cloudcited by 1
- 2026Burn-After-Use for Preventing Data Leakage through a Secure Multi-Tenant Architecture in Enterprise LLMcited by 1
- 2026SoK: Privacy-aware LLM in Healthcare: Threat Model, Privacy Techniques, Challenges and Recommendationscited by 1
- 2026Your Inference Request Will Become a Black Box: Confidential Inference for Cloud-based Large Language Modelscited by 1
- 2026Towards Privacy-Preserving Large Language Model: Text-free Inference Through Alignment and Adaptationcited by 1
- 2026Learning to Seek Help: Dynamic Collaboration Between Small and Large Language Modelscited by 1
- 2026Demystifying the Privacy-Utility Trade-off in LLM Interactionscited by 1
12 most cited of 16 All 16 (JSON)
- 2026Learning to Refer: Client-Resolved Generation for Privacy-Aware Language Models26 Sep 2026
- 2026Demystifying the Privacy-Utility Trade-off in LLM Interactions10 Sep 2026
- 2026PrivBench: A Holistic and Modular Benchmarking Platform for Evaluating Text-to-Text Privatization30 Aug 2026
- 2026Learning to Seek Help: Dynamic Collaboration Between Small and Large Language Models20 Apr 2026
- 2026Towards Privacy-Preserving Large Language Model: Text-free Inference Through Alignment and Adaptation8 Apr 2026
- 2026Towards Privacy-Preserving LLM Inference via Covariant Obfuscation (Technical Report)2 Mar 2026
- 2026Your Inference Request Will Become a Black Box: Confidential Inference for Cloud-based Large Language Models27 Feb 2026
- 2026Differentially Private and Communication Efficient Large Language Model Split Inference via Stochastic Quantization and Soft Prompt12 Feb 2026
- 2026Privasis: Synthesizing the Largest "Public" Private Dataset from Scratch3 Feb 2026
- 2026SoK: Privacy-aware LLM in Healthcare: Threat Model, Privacy Techniques, Challenges and Recommendations15 Jan 2026
- 2026Burn-After-Use for Preventing Data Leakage through a Secure Multi-Tenant Architecture in Enterprise LLM10 Jan 2026
- 2025PRISM: Privacy-Aware Routing for Adaptive Cloud-Edge LLM Inference via Semantic Sketch Collaboration27 Nov 2025
12 newest of 16 All 16 (JSON)