DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Pass
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
Differentially private stochastic gradient descent (DP-SGD) adds noise to gradients in back-propagation, safeguarding training data from privacy leakage, particularly membership inference. It fails to cover (inference-time) threats like embedding inversion and sensitive attribute inference. It is also costly in storage and computation when used to fine-tune large pre-trained language models (LMs). We propose DP-Forward, which directly perturbs embedding matrices in the forward pass of LMs. It satisfies stringent local DP requirements for training and inference data. To instantiate it using the smallest matrix-valued noise, we devise an analytic matrix Gaussian~mechanism (aMGM) by drawing possibly non-i.i.d. noise from a matrix Gaussian distribution. We then investigate perturbing outputs from different hidden (sub-)layers of LMs with aMGM noises. Its utility on three typical tasks almost hits the non-private baseline and outperforms DP-SGD by up to 7.7pp at a moderate privacy level. It saves 3× time and memory costs compared to DP-SGD with the latest high-speed library. It also reduces the average success rates of embedding inversion and sensitive attribute inference by up to 88pp and 41pp, respectively, whereas DP-SGD fails.
Key facts. Cited by 67 papers in the map (data through 14 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 50 of its 95 references that are in the map. First posted on arXiv 13 Sep 2023.
Builds on
50 of 95 references.
References · 50
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2016Layer Normalizationcited by 5,669
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2016Deep Learning with Differential Privacycited by 2,728
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
38 more
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 864
- 2017Renyi Differential Privacycited by 650
- 2018Certified Robustness to Adversarial Examples with Differential Privacycited by 468
- 2021Compacter: Efficient Low-Rank Hypercomplex Adapter Layerscited by 460
- 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 412
- 2021Differentially Private Fine-tuning of Language Modelscited by 400
- 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 383
- 2020Systematic Evaluation of Privacy Risks of Machine Learning Modelscited by 292
- 2018A Survey on Deep Learning for Named Entity Recognitioncited by 282
- 2018Improving the Gaussian Mechanism for Differential Privacy: Analytical Calibration and Optimal Denoisingcited by 218
- 2020Information Leakage in Embedding Modelscited by 203
- 2021Numerical Composition of Differential Privacycited by 180
- 2020The Lipschitz Constant of Self-Attentioncited by 174
- 2018Adversarial Removal of Demographic Attributes from Text Datacited by 170
- 2018Amplification by Shuffling: From Local to Central Differential Privacy via Anonymitycited by 164
- 2019Privacy- and Utility-Preserving Textual Analysis via Calibrated Multivariate Perturbationscited by 119
- 2021Large-Scale Differentially Private BERTcited by 118
- 2021Deep Learning with Label Differential Privacycited by 117
- 2019Deep Learning with Gaussian Differential Privacycited by 114
- 2021Does BERT Pretrained on Clinical Notes Reveal Sensitive Data?cited by 93
- 2019Analyzing Information Leakage of Updates to Natural Language Modelscited by 90
- 2021Large Scale Private Learning via Low-rank Reparametrizationcited by 88
- 2021Differential Privacy for Text Analytics via Natural Text Sanitizationcited by 77
- 2020Differentially Private Representation for NLP: Formal Guarantee and An Empirical Study on Privacy and Fairnesscited by 67
- 2021Natural Language Understanding with Privacy-Preserving BERTcited by 55
- 2021Antipodes of Label Differential Privacy: PATE and ALIBIcited by 52
- 2019Leveraging Hierarchical Representations for Preserving Privacy and Utility in Textcited by 50
- 2022Composition of Differential Privacy & Privacy Amplification by Subsamplingcited by 45
- 2017A4NT: Author Attribute Anonymity by Adversarial Training of Neural Machine Translationcited by 42
- 2021Lipschitz Normalization for Self-Attention Layers with Application to Graph Neural Networkscited by 39
- 2020Towards Differentially Private Text Representationscited by 29
- 2021Efficient Differentially Private Secure Aggregation for Federated Learning via Hardness of Learning with Errorscited by 25
- 2018SynTF: Synthetic and Differentially Private Term Frequency Vectors for Privacy-Preserving Text Miningcited by 21
- 2022Sentence-level Privacy for Document Embeddingscited by 16
- 2022Does Label Differential Privacy Prevent Label Inference Attacks?cited by 11
- 2018MVG Mechanism: Differential Privacy under Matrix-Valued Querycited by 7
- 2021Locally Differentially Private Sparse Vector Aggregationcited by 5
- 2021Improved Matrix Gaussian Mechanism for Differential Privacycited by 3
Built on by
Citing papers per year: 2023: 6; 2024: 22; 2025: 18; 2026: 21.
67 papers.
Sort:
By area:
- 2024Machine Unlearning of Pre-trained Large Language Modelscited by 119
- 2023FedFed: Feature Distillation against Data Heterogeneity in Federated Learningcited by 54
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 51
- 2024Private Fine-tuning of Large Language Models with Zeroth-order Optimizationcited by 41
- 2024Privacy-Preserving Instructions for Aligning Large Language Modelscited by 35
- 2023How Trustworthy are Open-Source LLMs? An Assessment under Malicious Demonstrations Shows their Vulnerabilitiescited by 33
- 2023Split-and-Denoise: Protect large language model inference with local differential privacycited by 32
- 2024PrE-Text: Training Language Models on Private Federated Data in the Age of LLMscited by 29
- 2023DPZero: Private Fine-Tuning of Language Models without Backpropagationcited by 26
- 2024Privacy Preserving Prompt Engineering: A Surveycited by 25
- 2024Towards Urban General Intelligence: A Review and Outlook of Urban Foundation Modelscited by 23
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Surveycited by 23
38 more
- 2025Depth Gives a False Sense of Privacy: LLM Internal States Inversioncited by 17
- 2024The Fire Thief Is Also the Keeper: Balancing Usability and Privacy in Promptscited by 13
- 20241-Diffractor: Efficient and Utility-Preserving Text Obfuscation Leveraging Word-Level Metric Differential Privacycited by 10
- 2025OBLIVIATE: Robust and Practical Machine Unlearning for Large Language Modelscited by 10
- 2025PRISM: Privacy-Aware Routing for Adaptive Cloud-Edge LLM Inference via Semantic Sketch Collaborationcited by 10
- 2024EmojiPrompt: Generative Prompt Obfuscation for Privacy-Preserving Communication with Cloud-based LLMscited by 9
- 2024NAP^2: A Benchmark for Naturalness and Privacy-Preserving Text Rewriting by Learning from Humancited by 8
- 2024Eguard: Defending LLM Embeddings Against Inversion Attacks via Text Mutual Information Optimizationcited by 8
- 2025DATABench: Evaluating Dataset Auditing in Deep Learning from an Adversarial Perspectivecited by 8
- 2024Privacy-preserving Fine-tuning of Large Language Models through Flatnesscited by 6
- 2025LLM Access Shield: Domain-Specific LLM Framework for Privacy Policy Compliancecited by 6
- 2024Delving into Differentially Private Transformercited by 5
- 2025Privacy-Preserving LLM Embedding Transmission for End-Cloud Collaborationcited by 5
- 2025Cape: Context-Aware Prompt Perturbation Mechanism with Differential Privacycited by 5
- 2025VFLAIR-LLM: A Comprehensive Framework and Benchmark for Split Learning of LLMscited by 5
- 2025Parameter-Efficient Fine-Tuning with Differential Privacy for Robust Instruction Adaptation in Large Language Modelscited by 5
- 2023ConfusionPrompt: Practical Private Inference for Online Large Language Modelscited by 3
- 2025A General Pseudonymization Framework for Cloud-Based LLMs: Replacing Privacy Information in Controlled Text Generationcited by 3
- 2025Zero-Shot Privacy-Aware Text Rewriting via Iterative Tree Searchcited by 3
- 2025MaskSQL: Safeguarding Privacy for LLM-Based Text-to-SQL via Abstractioncited by 3
- 2025Membership Inference Attacks on Tokenizers of Large Language Modelscited by 3
- 2026SoK: Privacy-aware LLM in Healthcare: Threat Model, Privacy Techniques, Challenges and Recommendationscited by 3
- 2024DP-MemArc: Differential Privacy Transfer Learning for Memory Efficient Language Modelscited by 2
- 2024P4GCN: Vertical Federated Social Recommendation with Privacy-Preserving Two-Party Graph Convolution Networkcited by 2
- 2024NeurIPS 2023 Competition: Privacy Preserving Federated Learning Document VQAcited by 2
- 2024Efficient and Private: Memorisation under differentially private parameter-efficient fine-tuning in language modelscited by 2
- 2025ISACL: Internal State Analyzer for Copyrighted Training Data Leakagecited by 2
- 2026Differentially Private and Communication Efficient Large Language Model Split Inference via Stochastic Quantization and Soft Promptcited by 2
- 2026Towards Privacy-Preserving LLM Inference via Covariant Obfuscation (Technical Report)cited by 2
- 2026LatentDx: Latent Multi-Agent Communication for Cross-Hospital Rare-Disease Diagnosiscited by 2
- 2026From Prompts to Responses: Dual-Sided Data Leakage and Defense in Split Large Language Modelscited by 2
- 2024Neural Networks with (Low-Precision) Polynomial Approximations: New Insights and Techniques for Accuracy Improvementcited by 1
- 2024A Framework for Cost-Effective and Self-Adaptive LLM Shaking and Recovery Mechanismcited by 1
- 2025SoK: Data Minimization in Machine Learningcited by 1
- 2025PLRV-O: Advancing Differentially Private Deep Learning via Privacy Loss Random Variable Optimizationcited by 1
- 2025Towards Confidential and Efficient LLM Inference with Dual Privacy Protectioncited by 1
- 2025PrivTune: Efficient and Privacy-Preserving Fine-Tuning of Large Language Models via Device-Cloud Collaborationcited by 1
- 2026Towards Privacy-Preserving Large Language Model: Text-free Inference Through Alignment and Adaptationcited by 1
50 most cited of 67 All 67 (JSON)
- 2026DP-MIND: Differentially private memory-guided Long context Inference9 Oct 2026
- 2026What Gradients Add to Text Leakage in Split Language Models, Counted per Token and per Document2 Oct 2026
- 2026Privacy-Preserving Split Learning for Federated LLM Fine-Tuning9 Sep 2026
- 2026A Novel Semantic Manifold Alignment Attack against Embedding-to-Embedding Obfuscation in Privacy-Preserving LLMs6 Sep 2026
- 2026When Privacy Hurts Mergeability: Geometry-Aware Model Merging under Differential Privacy27 Aug 2026
- 2026Spectrum-Aware Bounds on Invertibility for Privacy-Enhancing Instance Encoding24 Aug 2026
- 2026Gradient Mirage: Trainable yet Label-Unidentifiable Gradients in Large Language Model Split Learning19 Aug 2026
- 2026DeepInvert: Semi-Supervised Embedding Inversion Against Obfuscated Language Models5 Aug 2026
- 2026Efficient and Privacy Aware Edge Cloud Collaborative Inference for Large Language Models14 Jul 2026
- 2026The Art of Mixology: Mixup-based Obfuscation for Privacy-Preserving Split Learning in Large Language Models15 Jun 2026
- 2026Privacy from Symmetry: Orthogonally Equivariant Transformers for LLM Inference15 Jun 2026
- 2026From Prompts to Responses: Dual-Sided Data Leakage and Defense in Split Large Language Models12 Jun 2026
38 more
- 2026LatentDx: Latent Multi-Agent Communication for Cross-Hospital Rare-Disease Diagnosis11 Jun 2026
- 2026SharedRequest: Privacy-Preserving Model-Agnostic Inference for Large Language Models3 Jun 2026
- 2026An Efficient and Privacy-Preserving Architecture for Cross-Institutional Collaborative RAG25 May 2026
- 2026Towards Privacy-Preserving Large Language Model: Text-free Inference Through Alignment and Adaptation8 Apr 2026
- 2026Neural Gate: Mitigating Privacy Risks in LVLMs via Neuron-Level Gradient Gating13 Mar 2026
- 2026Towards Privacy-Preserving LLM Inference via Covariant Obfuscation (Technical Report)2 Mar 2026
- 2026Lap2: Revisiting Laplace DP-SGD for High Dimensions via Majorization Theory26 Feb 2026
- 2026Differentially Private and Communication Efficient Large Language Model Split Inference via Stochastic Quantization and Soft Prompt12 Feb 2026
- 2026SoK: Privacy-aware LLM in Healthcare: Threat Model, Privacy Techniques, Challenges and Recommendations15 Jan 2026
- 2025PrivTune: Efficient and Privacy-Preserving Fine-Tuning of Large Language Models via Device-Cloud Collaboration9 Dec 2025
- 2025Parameter-Efficient Fine-Tuning with Differential Privacy for Robust Instruction Adaptation in Large Language Models7 Dec 2025
- 2025PRISM: Privacy-Aware Routing for Adaptive Cloud-Edge LLM Inference via Semantic Sketch Collaboration27 Nov 2025
- 2025Membership Inference Attacks on Tokenizers of Large Language Models7 Oct 2025
- 2025MaskSQL: Safeguarding Privacy for LLM-Based Text-to-SQL via Abstraction27 Sep 2025
- 2025Zero-Shot Privacy-Aware Text Rewriting via Iterative Tree Search25 Sep 2025
- 2025Towards Confidential and Efficient LLM Inference with Dual Privacy Protection11 Sep 2025
- 2025PLRV-O: Advancing Differentially Private Deep Learning via Privacy Loss Random Variable Optimization8 Sep 2025
- 2025ISACL: Internal State Analyzer for Copyrighted Training Data Leakage25 Aug 2025
- 2025SoK: Data Minimization in Machine Learning14 Aug 2025
- 2025VFLAIR-LLM: A Comprehensive Framework and Benchmark for Split Learning of LLMs5 Aug 2025
- 2025Depth Gives a False Sense of Privacy: LLM Internal States Inversion22 Jul 2025
- 2025DATABench: Evaluating Dataset Auditing in Deep Learning from an Adversarial Perspective8 Jul 2025
- 2025LLM Access Shield: Domain-Specific LLM Framework for Privacy Policy Compliance22 May 2025
- 2025Cape: Context-Aware Prompt Perturbation Mechanism with Differential Privacy9 May 2025
- 2025OBLIVIATE: Robust and Practical Machine Unlearning for Large Language Models7 May 2025
- 2025Privacy-Preserving LLM Embedding Transmission for End-Cloud Collaboration17 Mar 2025
- 2025A General Pseudonymization Framework for Cloud-Based LLMs: Replacing Privacy Information in Controlled Text Generation21 Feb 2025
- 2024Efficient and Private: Memorisation under differentially private parameter-efficient fine-tuning in language models24 Nov 2024
- 2024Eguard: Defending LLM Embeddings Against Inversion Attacks via Text Mutual Information Optimization6 Nov 2024
- 2024NeurIPS 2023 Competition: Privacy Preserving Federated Learning Document VQA6 Nov 2024
- 2024P4GCN: Vertical Federated Social Recommendation with Privacy-Preserving Two-Party Graph Convolution Network16 Oct 2024
- 2024Training with Differential Privacy: A Gradient-Preserving Noise Reduction Approach with Provable Security18 Sep 2024
- 2024Characterizing Stereotypical Bias from Privacy-preserving Pre-Training30 Jun 2024
- 2024The Fire Thief Is Also the Keeper: Balancing Usability and Privacy in Prompts20 Jun 2024
- 2024DP-MemArc: Differential Privacy Transfer Learning for Memory Efficient Language Models16 Jun 2024
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Survey8 Jun 2024
- 2024NAP^2: A Benchmark for Naturalness and Privacy-Preserving Text Rewriting by Learning from Human6 Jun 2024
- 2024PrE-Text: Training Language Models on Private Federated Data in the Age of LLMs5 Jun 2024
50 newest of 67 All 67 (JSON)
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 51
- 2024Private Fine-tuning of Large Language Models with Zeroth-order Optimizationcited by 41
- 2023How Trustworthy are Open-Source LLMs? An Assessment under Malicious Demonstrations Shows their Vulnerabilitiescited by 33
- 2023Split-and-Denoise: Protect large language model inference with local differential privacycited by 32
- 2024PrE-Text: Training Language Models on Private Federated Data in the Age of LLMscited by 29
- 2023DPZero: Private Fine-Tuning of Language Models without Backpropagationcited by 26
- 2024Privacy Preserving Prompt Engineering: A Surveycited by 25
- 2024Towards Urban General Intelligence: A Review and Outlook of Urban Foundation Modelscited by 23
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Surveycited by 23
- 2025Depth Gives a False Sense of Privacy: LLM Internal States Inversioncited by 17
- 2024The Fire Thief Is Also the Keeper: Balancing Usability and Privacy in Promptscited by 13
- 20241-Diffractor: Efficient and Utility-Preserving Text Obfuscation Leveraging Word-Level Metric Differential Privacycited by 10
12 most cited of 56 All 56 (JSON)
- 2026DP-MIND: Differentially private memory-guided Long context Inference9 Oct 2026
- 2026What Gradients Add to Text Leakage in Split Language Models, Counted per Token and per Document2 Oct 2026
- 2026Privacy-Preserving Split Learning for Federated LLM Fine-Tuning9 Sep 2026
- 2026A Novel Semantic Manifold Alignment Attack against Embedding-to-Embedding Obfuscation in Privacy-Preserving LLMs6 Sep 2026
- 2026When Privacy Hurts Mergeability: Geometry-Aware Model Merging under Differential Privacy27 Aug 2026
- 2026Spectrum-Aware Bounds on Invertibility for Privacy-Enhancing Instance Encoding24 Aug 2026
- 2026Gradient Mirage: Trainable yet Label-Unidentifiable Gradients in Large Language Model Split Learning19 Aug 2026
- 2026DeepInvert: Semi-Supervised Embedding Inversion Against Obfuscated Language Models5 Aug 2026
- 2026The Art of Mixology: Mixup-based Obfuscation for Privacy-Preserving Split Learning in Large Language Models15 Jun 2026
- 2026Privacy from Symmetry: Orthogonally Equivariant Transformers for LLM Inference15 Jun 2026
- 2026From Prompts to Responses: Dual-Sided Data Leakage and Defense in Split Large Language Models12 Jun 2026
- 2026SharedRequest: Privacy-Preserving Model-Agnostic Inference for Large Language Models3 Jun 2026
12 newest of 56 All 56 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2021An Efficient DP-SGD Mechanism for Large Scale NLP Models
- 2024Differentially Private Learning Needs Better Model Initialization and Self-Distillation
- 2025Efficient Differentially Private Fine-Tuning of LLMs via Reinforcement Learning
- 2025Dual-Priv Pruning : Efficient Differential Private Fine-Tuning in Multimodal Large Language Models
- 2022Directional Privacy for Deep Learning
- 2024Too Good to be True? Turn Any Model Differentially Private With DP-Weights
- 2026Escaping Iterative Parameter-Space Noise: Differentially Private Learning with a Hypernetwork
- 2026Privacy Enhanced PEFT: Tensor Train Decomposition Improves Privacy Utility Tradeoffs under DP-SGD