English

LoRA Provides Differential Privacy by Design via Random Sketching

Machine Learning 2026-02-11 v9 Artificial Intelligence Computation and Language

Abstract

Low-rank adaptation of language models has been proposed to reduce the computational and memory overhead of fine-tuning pre-trained language models. LoRA incorporates trainable low-rank matrices into some parameters of the pre-trained model, called adapters. In this work, we show theoretically that the low-rank adaptation mechanism of LoRA is equivalent to fine-tuning adapters with noisy batch gradients, with the noise variance being a decreasing function of adaptation rank (rr). Motivated by this understanding, we prove inherent differential privacy for LoRA when adaptation matrices AA_\ell are frozen. We show that various factors, e.g., the adaptation rank and batch size, affect the guaranteed privacy level. Our findings provide useful insights into LoRA and uncovers the reason behind the robustness of models fine-tuned with LoRA to privacy attacks.

Keywords

Cite

@article{arxiv.2409.17538,
  title  = {LoRA Provides Differential Privacy by Design via Random Sketching},
  author = {Saber Malekmohammadi and Golnoosh Farnadi},
  journal= {arXiv preprint arXiv:2409.17538},
  year   = {2026}
}
R2 v1 2026-06-28T18:57:40.537Z