Mitigating Unintended Memorization with LoRA in Federated Learning for LLMs
Not on the map. Why?
Abstract (arXiv)
Federated learning (FL) is a popular paradigm for collaborative training which avoids direct data exposure between clients. However, data privacy issues still remain: FL-trained large language models are capable of memorizing and completing phrases and sentences contained in training data when given their prefixes. Thus, it is possible for adversarial and honest- but-curious clients to recover training data of other participants simply through targeted prompting. In this work, we demonstrate that a popular and simple fine-tuning strategy, low-rank adaptation (LoRA), reduces memorization during FL by a factor of up to 10 without significant performance cost. We study this effect by performing fine-tuning tasks in high-risk domains such as medicine, law, and finance. We observe a reduction in memorization for a wide variety of model families, from 1B to 70B parameters. We find that LoRA can reduce memorization in centralized learning as well, and we compare how the memorization patterns differ. Furthermore, we study the effect of hyperparameters and show that LoRA can be combined with other privacy-preserving techniques such as gradient clipping and Gaussian noise, secure aggregation, and Goldfish loss to further improve record-level privacy while maintaining performance.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 73 of its 112 references that are in the map. First posted on arXiv 7 Feb 2025.
Builds on
73 of 112 references.
References · 73
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,592
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2019Advances and Open Problems in Federated Learningcited by 3,021
- 2016Deep Learning with Differential Privacycited by 2,682
- 2023A Survey of Large Language Modelscited by 2,537
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
38 more
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2022Large Language Models Encode Clinical Knowledgecited by 1,807
- 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,324
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
- 2023BloombergGPT: A Large Language Model for Financecited by 923
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
- 2022Quantifying Memorization Across Neural Language Modelscited by 755
- 2021Deduplicating Training Data Makes Language Models Bettercited by 705
- 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 658
- 2018Federated Learning for Mobile Keyboard Predictioncited by 565
- 2018signSGD: Compressed Optimisation for Non-Convex Problemscited by 561
- 2019Benign Overfitting in Linear Regressioncited by 544
- 2022MedMCQA : A Large-scale Multi-Subject Multi-Choice Dataset for Medical domain Question Answeringcited by 525
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
- 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 415
- 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
- 2018Measuring the Intrinsic Dimension of Objective Landscapescited by 364
- 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
- 2019Error Feedback Fixes SignSGD and other Gradient Compression Schemescited by 306
- 2023Analyzing Leakage of Personally Identifiable Information in Language Modelscited by 278
- 2022GatorTron: A Large Clinical Language Model to Unlock Patient Information from Unstructured Electronic Health Recordscited by 238
- 2023Large Language Models in Finance: A Surveycited by 223
- 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 218
- 2018A Hybrid Approach to Privacy-Preserving Federated Learningcited by 208
- 2021Evaluating Gradient Inversion Attacks and Defenses in Federated Learningcited by 196
- 2022What Does it Mean for a Language Model to Preserve Privacy?cited by 194
- 2021Federated Learning for Smart Healthcare: A Surveycited by 182
- 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attackscited by 168
- 2023Emergent and Predictable Memorization in Large Language Modelscited by 147
- 2023FederatedScope-LLM: A Comprehensive Package for Fine-tuning Large Language Models in Federated Learningcited by 146
- 2024OpenFedLLM: Training Large Language Models on Decentralized Private Data via Federated Learningcited by 124
- 2023Chatlaw: A Multi-Agent Legal Assistant based on a Role-Aligned Mixture-of-Experts Architecturecited by 119
- 2022Measuring Forgetting of Memorized Training Examplescited by 118
- 2023The Expressive Power of Low-Rank Adaptationcited by 100
- 2021Does BERT Pretrained on Clinical Notes Reveal Sensitive Data?cited by 91
- 2024Rethinking LLM Memorization through the Lens of Adversarial Compressioncited by 91
50 most cited of 73 All 73 (JSON)
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026Federated Personal Knowledge Graph Completion with Lightweight Large Language Models for Personalized Recommendationscited by 2
- 2026SoK: Privacy-aware LLM in Healthcare: Threat Model, Privacy Techniques, Challenges and Recommendationscited by 1
- 2026Loss Landscape Poisoning: Targeted Extraction of Unseen Training Data from LLMscited by 1
- 2026Decomposing Memorization Reduction in Privacy-Preserving Fine-Tuning of SLMs for CSIRTscited by 1
- 2026How Much Can a LoRA Adapter Memorize? Measuring Adapter Capacity in Bitscited by 1
- 2026What do Reward Models Memorize?cited by 0
- 2026What do Reward Models Memorize?27 Jul 2026
- 2026How Much Can a LoRA Adapter Memorize? Measuring Adapter Capacity in Bits23 Jul 2026
- 2026Decomposing Memorization Reduction in Privacy-Preserving Fine-Tuning of SLMs for CSIRTs26 Jun 2026
- 2026Loss Landscape Poisoning: Targeted Extraction of Unseen Training Data from LLMs15 Jun 2026
- 2026Federated Personal Knowledge Graph Completion with Lightweight Large Language Models for Personalized Recommendations25 Feb 2026
- 2026SoK: Privacy-aware LLM in Healthcare: Threat Model, Privacy Techniques, Challenges and Recommendations15 Jan 2026