Privacy-preserving Fine-tuning of Large Language Models through Flatness
Not on the map. Why?
Abstract (arXiv)
The privacy concerns associated with the use of Large Language Models (LLMs) have grown recently with the development of LLMs such as ChatGPT. Differential Privacy (DP) techniques are explored in existing work to mitigate their privacy risks at the cost of generalization degradation. Our paper reveals that the flatness of DP-trained models' loss landscape plays an essential role in the trade-off between their privacy and generalization. We further propose a holistic framework to enforce appropriate weight flatness, which substantially improves model generalization with competitive privacy preservation. It innovates from three coarse-to-grained levels, including perturbation-aware min-max optimization on model weights within a layer, flatness-guided sparse prefix-tuning on weights across layers, and weight knowledge distillation between DP & non-DP weights copies. Comprehensive experiments of both black-box and white-box scenarios are conducted to demonstrate the effectiveness of our proposal in enhancing generalization and maintaining DP characteristics. For instance, on text classification dataset QNLI, DP-Flat achieves similar performance with non-private full fine-tuning but with DP guarantee under privacy budget ε=3, and even better performance given higher privacy budgets. Codes are provided in the supplement.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 47 of its 65 references that are in the map. First posted on arXiv 7 Mar 2024.
Builds on
47 of 65 references.
References · 47
- 2023GPT-4 Technical Reportcited by 18,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2016Deep Learning with Differential Privacycited by 2,682
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2020Knowledge Distillation: A Surveycited by 1,578
- 2021Membership Inference Attacks From First Principlescited by 839
- 2022Quantifying Memorization Across Neural Language Modelscited by 755
35 more
- 2021GPT Understands, Toocited by 715
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
- 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 505
- 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
- 2023Augmented Language Models: a Surveycited by 398
- 2021Differentially Private Fine-tuning of Language Modelscited by 392
- 2023Fine-Tuning Language Models with Just Forward Passescited by 337
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
- 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 254
- 2017The E2E Dataset: New Challenges For End-to-End Generationcited by 252
- 2020Information Leakage in Embedding Modelscited by 199
- 2021How Many Data Points is a Prompt Worth?cited by 197
- 2022Are Large Pre-Trained Language Models Leaking Your Personal Information?cited by 195
- 2022Re3: Generating Longer Stories With Recursive Reprompting and Revisioncited by 193
- 2022Towards Understanding Sharpness-Aware Minimizationcited by 145
- 2020DART: Open-Domain Structured Data Record to Text Generationcited by 144
- 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
- 2021Large-Scale Differentially Private BERTcited by 117
- 2021Large Scale Private Learning via Low-rank Reparametrizationcited by 87
- 2023RecurrentGPT: Interactive Generation of (Arbitrarily) Long Textcited by 84
- 2023Sentence Embedding Leaks More Information than You Expect: Generative Embedding Inversion Attack to Recover the Whole Sentencecited by 81
- 2023Flocks of Stochastic Parrots: Differentially Private Prompt Learning for Large Language Modelscited by 80
- 2023InstructZero: Efficient Instruction Optimization for Black-Box Large Language Modelscited by 68
- 2020Differentially Private Representation for NLP: Formal Guarantee and An Empirical Study on Privacy and Fairnesscited by 66
- 2023DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Passcited by 65
- 2022Differentially Private Bias-Term Fine-tuning of Foundation Modelscited by 47
- 2022Memorization in NLP Fine-tuning Methodscited by 43
- 2023Privacy-Preserving Parameter-Efficient Fine-Tuning for Large Language Model Servicescited by 43
- 2024Private Fine-tuning of Large Language Models with Zeroth-order Optimizationcited by 41
- 2022How to Robustify Black-Box ML Models? A Zeroth-Order Optimization Perspectivecited by 39
- 2023Open-TI: Open Traffic Intelligence with Augmented Language Modelcited by 38
- 2022Text Revealer: Private Text Reconstruction via Model Inversion Attacks against Transformerscited by 28
- 2021An Efficient DP-SGD Mechanism for Large Scale NLP Modelscited by 27
- 2022Canary Extraction in Natural Language Understanding Modelscited by 20
- 2023Deconstructing Classifiers: Towards A Data Reconstruction Attack Against Text Classification Modelscited by 6
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 2.
6 papers.
- 2024Data-adaptive Differentially Private Prompt Synthesis for In-Context Learningcited by 10
- 2025Generative AI in Transportation Planning: A Surveycited by 8
- 2025PrivacyScalpel: Enhancing LLM Privacy via Interpretable Feature Intervention with Sparse Autoencoderscited by 6
- 2026Conformal Feedback Alignment: Quantifying Answer-Level Reliability for Robust LLM Alignmentcited by 4
- 2025DP-Adam-AC: Privacy-preserving Fine-Tuning of Localizable Language Models Using Adam Optimization with Adaptive Clippingcited by 3
- 2026Differentially Private Preference Data Synthesis for Large Language Model Alignmentcited by 1
- 2026Differentially Private Preference Data Synthesis for Large Language Model Alignment29 May 2026
- 2026Conformal Feedback Alignment: Quantifying Answer-Level Reliability for Robust LLM Alignment24 Jan 2026
- 2025DP-Adam-AC: Privacy-preserving Fine-Tuning of Localizable Language Models Using Adam Optimization with Adaptive Clipping6 Oct 2025
- 2025PrivacyScalpel: Enhancing LLM Privacy via Interpretable Feature Intervention with Sparse Autoencoders14 Mar 2025
- 2025Generative AI in Transportation Planning: A Survey10 Mar 2025
- 2024Data-adaptive Differentially Private Prompt Synthesis for In-Context Learning15 Oct 2024