mlsanityData to 7 Oct 2026

Mitigating Unintended Memorization with LoRA in Federated Learning for LLMs

arXiv 2502.05087 ↗First posted 7 Feb 2025cs.LG cs.AI cs.CLcited by 6

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  5. 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,592
  6. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  9. 2019Advances and Open Problems in Federated Learningcited by 3,021
  10. 2016Deep Learning with Differential Privacycited by 2,682
  11. 2023A Survey of Large Language Modelscited by 2,537
  12. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
38 more
  1. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  2. 2020Extracting Training Data from Large Language Modelscited by 2,144
  3. 2022Large Language Models Encode Clinical Knowledgecited by 1,807
  4. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,324
  5. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  6. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
  7. 2023BloombergGPT: A Large Language Model for Financecited by 923
  8. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  9. 2022Quantifying Memorization Across Neural Language Modelscited by 755
  10. 2021Deduplicating Training Data Makes Language Models Bettercited by 705
  11. 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 658
  12. 2018Federated Learning for Mobile Keyboard Predictioncited by 565
  13. 2018signSGD: Compressed Optimisation for Non-Convex Problemscited by 561
  14. 2019Benign Overfitting in Linear Regressioncited by 544
  15. 2022MedMCQA : A Large-scale Multi-Subject Multi-Choice Dataset for Medical domain Question Answeringcited by 525
  16. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
  17. 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 415
  18. 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
  19. 2018Measuring the Intrinsic Dimension of Objective Landscapescited by 364
  20. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
  21. 2019Error Feedback Fixes SignSGD and other Gradient Compression Schemescited by 306
  22. 2023Analyzing Leakage of Personally Identifiable Information in Language Modelscited by 278
  23. 2022GatorTron: A Large Clinical Language Model to Unlock Patient Information from Unstructured Electronic Health Recordscited by 238
  24. 2023Large Language Models in Finance: A Surveycited by 223
  25. 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 218
  26. 2018A Hybrid Approach to Privacy-Preserving Federated Learningcited by 208
  27. 2021Evaluating Gradient Inversion Attacks and Defenses in Federated Learningcited by 196
  28. 2022What Does it Mean for a Language Model to Preserve Privacy?cited by 194
  29. 2021Federated Learning for Smart Healthcare: A Surveycited by 182
  30. 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attackscited by 168
  31. 2023Emergent and Predictable Memorization in Large Language Modelscited by 147
  32. 2023FederatedScope-LLM: A Comprehensive Package for Fine-tuning Large Language Models in Federated Learningcited by 146
  33. 2024OpenFedLLM: Training Large Language Models on Decentralized Private Data via Federated Learningcited by 124
  34. 2023Chatlaw: A Multi-Agent Legal Assistant based on a Role-Aligned Mixture-of-Experts Architecturecited by 119
  35. 2022Measuring Forgetting of Memorized Training Examplescited by 118
  36. 2023The Expressive Power of Low-Rank Adaptationcited by 100
  37. 2021Does BERT Pretrained on Clinical Notes Reveal Sensitive Data?cited by 91
  38. 2024Rethinking LLM Memorization through the Lens of Adversarial Compressioncited by 91

50 most cited of 73 All 73 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 6.

6 papers.