Rethinking LoRA for Privacy-Preserving Federated Learning in Large Models
Organizations: School of Cyber Engineering, Xidian University · College of Intelligence and Computing, Tianjin University
Abstract
Fine-tuning large vision models (LVMs) and large language models (LLMs) under differentially private federated learning (DPFL) is hindered by a fundamental privacy-utility trade-off. Low-Rank Adaptation (LoRA), a promising parameter-efficient fine-tuning (PEFT) method, reduces computational and communication costs by introducing two trainable low-rank matrices while freezing pre-trained weights. However, directly applying LoRA in DPFL settings leads to performance degradation, especially in LVMs. Our analysis reveals three previously underexplored challenges: (1) gradient coupling caused by the simultaneous update of two asymmetric low-rank matrices, (2) compounded noise amplification under differential privacy, and (3) sharpness of the global aggregated model in the parameter space. To address these issues, we propose LA-LoRA (Local Alternating LoRA), a novel approach that decouples gradient interactions and aligns update directions across clients to enhance robustness under stringent privacy constraints. Theoretically, LA-LoRA strengthens convergence guarantees in noisy federated environments. Extensive experiments demonstrate that LA-LoRA achieves state-of-the-art (SOTA) performance on Swin Transformer and RoBERTa models, showcasing robustness to DP noise and broad applicability across both LVMs and LLMs. For example, when fine-tuning the Swin-B model on the Tiny-ImageNet dataset under a strict privacy budget (), LA-LoRA outperforms the best baseline, RoLoRA, by 16.83% in test accuracy. Code is provided in \repolink.
Figures & tables
| Method | DP | LVMs | Exp. | Speed |
| DP-LoRA | ✓ | ✕ | mid | slow |
| FFA-LoRA | ✓ | ✕ | low | slow |
| RoLoRA | ✕ | ✕ | mid | mid |
| LA-LoRA | ✓ | ✓ | high | fast |
| Method | CIFAR-100 | Tiny-ImageNet |
| DP-LoRA | 42.45 | 44.80 |
| LA-LoRA | 30.12 | 33.25 |
| DP-LoRA | 101.62 | 115.36 |
| LA-LoRA | 64.77 | 69.53 |
| Privacy Budget | Method | Swin-T Model (%) | Swin-B Model (%) | ||
| CIFAR-100 | Tiny-ImageNet | CIFAR-100 | Tiny-ImageNet | ||
| DP-LoRA | |||||
| FFA-LoRA | |||||
| RoLoRA | |||||
| LA-LoRA | |||||
| DP-LoRA | |||||
| Privacy Budget | Method | SST-2 | QNLI | QQP | MNLI |
| DP-LoRA | |||||
| FFA-LoRA | |||||
| RoLoRA | |||||
| LA-LoRA | |||||
| DP-LoRA | |||||
| FFA-LoRA |
| Method | GLUE tasks (RoBERTa-Base) | Image Classification (Swin-B) | ||||
| SST-2 | QNLI | QQP | MNLI | CIFAR-100 | Tiny-ImageNet | |
| DP-LoRA | ||||||
| DP-LoRA(+filter) | ||||||
| LA-LoRA(-filter) | ||||||
| LA-LoRA | ||||||
| Strategy | Dirichlet | Dirichlet | ||
| CIFAR-100 | Tiny-ImageNet | CIFAR-100 | Tiny-ImageNet | |
| 1-step / 1-step (default) | ||||
| 2-step / 2-step | ||||
| 5-step / 5-step | ||||
| 5-step / 5-step | ||||
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Time Cost (s) | Memory Cost (MB) | Test Accuracy (%) | |||
| CIFAR-100 | Tiny-ImageNet | CIFAR-100 | Tiny-ImageNet | CIFAR-100 | Tiny-ImageNet | |
| DP-LoRA | ||||||
| DP-LoRA(+filter) | ||||||
| FFA-LoRA | ||||||
| RoLoRA | ||||||
| LA-LoRA(-filter) | ||||||
| Rank | Method | CIFAR-100 | Tiny-ImageNet |
| DP-LoRA | |||
| FFA-LoRA | |||
| RoLoRA | |||
| LA-LoRA | |||
| DP-LoRA | |||
| FFA-LoRA |
| Setting | Method | Test Acc. (%) | Acc | Grad. Cos. (late) | Cos |
| Centralized | DP-LoRA | - | 0.681 | - | |
| LA-LoRA(-filter) | 1.18 | 0.713 | 0.032 | ||
| Federated | DP-LoRA | - | 0.337 | - | |
| LA-LoRA(-filter) | 11.22 | 0.445 | 0.108 |
| Method | Test Acc. (%) | Acc | Grad. Cos. (late) | Cos | |
| Non-private | Fed-LoRA | - | 0.694 | - | |
| LA-LoRA(-filter) | 0.69 | 0.783 | 0.089 |
| Method | CIFAR-100 | Tiny-ImageNet | |
| Non-private | DP-LoRA | ||
| FFA-LoRA | |||
| RoLoRA | |||
| LA-LoRA |
| Model | Method | SST-2 | QNLI | QQP | MNLI | Avg |
| Llama-2-7B | DP-LoRA | |||||
| FFA-LoRA | ||||||
| RoLoRA | ||||||
| LA-LoRA |
| Privacy | Method | SST-2 | QNLI | QQP | MNLI | Avg. |
| Non-private | DP-LoRA | 92.07 | 86.25 | 84.02 | 81.22 | 85.89 |
| FFA-LoRA | 92.56 | 87.53 | 85.36 | 81.54 | 86.75 | |
| RoLoRA | 93.65 | 88.65 | 85.52 | 82.22 | 87.51 | |
| LA-LoRA | 93.94 | 89.96 | 86.41 | 83.32 | 88.41 | |
| DP-LoRA | 90.13 | 83.79 | 83.28 | 79.80 | 84.25 | |
| FFA-LoRA | 90.62 | 84.63 | 84.10 | 80.98 | 85.08 |
| Method | CIFAR-100 | Tiny-ImageNet |
| DP-LoRA | ||
| DP-LoRA(+filter) | ||
| LA-LoRA(-filter) | ||
| LA-LoRA |
| Method | GLUE tasks (RoBERTa-Base) | Image Classification (Swin-B) | ||
| QQP | MNLI | CIFAR-100 | Tiny-ImageNet | |
| DP-LoRA | ||||
| DP-LoRA(+filter) | ||||
| DP-LoRA(+Doppler) | ||||
| LA-LoRA(-filter) | ||||
| LA-LoRA | ||||
| Method | GLUE tasks (RoBERTa-Base) | Image Classification (Swin-B) | ||
| QQP | CIFAR-100 | |||
| DP-LoRA | ||||
| DP-LoRA(+filter) | ||||
| LA-LoRA(-filter) | ||||
| LA-LoRA | ||||
| 10 | 20 | 30 | 50 | ||
| CIFAR-100(%) | |||||
| Tiny-ImageNet(%) |
| Smoothing parameter | GLUE tasks (RoBERTa-Base) | Image Classification (Swin-B) | ||||
| SST-2 | QNLI | QQP | MNLI | CIFAR-100 | Tiny-ImageNet | |
| Kernel | Size | Coefficients | CIFAR-100 | Tiny-ImageNet |
| 3 | ||||
| 5 | ||||
| 7 |
| Notation | Description |
| Pre-trained backbone weight matrix | |
| LoRA down-projection/up-projection matrices | |
| LoRA rank, | |
| LoRA scaling hyperparameter | |
| LoRA scaling factor | |
| Gradients of loss w.r.t. and |
Federated Fine-Tuning
Federated fine-tuning adapts pretrained models across decentralized data holders without pooling their private data.
See all 115 papers