[Paper Review] SLoRA: Federated Parameter Efficient Fine-Tuning of Language Models
SLoRA introduces a two-stage federated PEFT method that primes LoRA with sparse, data-driven fine-tuning to match full fine-tuning performance while drastically reducing training time and communication. It achieves comparable accuracy with ~1% update density and up to 90% training time reduction.
Transfer learning via fine-tuning pre-trained transformer models has gained significant success in delivering state-of-the-art results across various NLP tasks. In the absence of centralized data, Federated Learning (FL) can benefit from distributed and private data of the FL edge clients for fine-tuning. However, due to the limited communication, computation, and storage capabilities of edge devices and the huge sizes of popular transformer models, efficient fine-tuning is crucial to make federated training feasible. This work explores the opportunities and challenges associated with applying parameter efficient fine-tuning (PEFT) methods in different FL settings for language tasks. Specifically, our investigation reveals that as the data across users becomes more diverse, the gap between fully fine-tuning the model and employing PEFT methods widens. To bridge this performance gap, we propose a method called SLoRA, which overcomes the key limitations of LoRA in high heterogeneous data scenarios through a novel data-driven initialization technique. Our experimental results demonstrate that SLoRA achieves performance comparable to full fine-tuning, with significant sparse updates with approximately $\sim 1\%$ density while reducing training time by up to $90\%$.
Motivation & Objective
- Assess how parameter-efficient fine-tuning (PEFT) methods perform in Federated Learning (FL) for NLP tasks under data heterogeneity.
- Identify limitations of existing PEFT approaches in non-IID FL settings and propose improvements.
- Develop a data-driven priming technique to bridge the gap between PEFT and full fine-tuning in FL.
- Propose and evaluate a two-stage Primed-LoRA approach that reduces communication and computation costs while preserving accuracy.
Proposed method
- Evaluate centralized PEFT baselines (Pfieffer, LoRA, Houlsby, BitFit) in FL and quantify performance under varying data heterogeneity.
- Introduce Primed-LoRA (two-stage): Stage 1 uses sparse fine-tuning (SFT) to prime a good initialization; Stage 2 applies LoRA based on SVD decomposition of Stage 1 updates.
- In Stage 1, implement Sparse Fine-Tuning with a server-generated random mask to keep updates data-independent and communication-efficient.
- In Stage 2, apply LoRA blocks to dense layers with ranks (r) and use SVD-decomposed Stage 1 updates as initialization for A and B matrices.
- Compare SLoRA against FFT, LoRA, and SFT under different data heterogeneity settings (non-IID distributions) and update densities.
- Provide analysis of training time, communication cost, and accuracy across Albert and DistilBERT on News Category and 20News Group datasets.
Experimental results
Research questions
- RQ1How do PEFT methods perform in FL NLP tasks under heterogeneous client data distributions?
- RQ2Can a data-driven priming strategy close the gap between PEFT and Full Fine-Tuning in FL?
- RQ3Does SLoRA reduce communication and computation costs while preserving FFT-level accuracy in highly non-IID FL settings?
- RQ4What is the impact of sparse update density on accuracy, training time, and communication in federated language model fine-tuning?
Key findings
- PEFT performance degrades relative to FFT as data heterogeneity increases.
- LoRA under FL in highly non-IID settings struggles to reach FFT performance and may converge more slowly.
- SLoRA matches FFT accuracy while using around 1% update density and reducing training time by up to 90%.
- Stage 1 sparse fine-tuning with a server-generated mask provides a data-efficient priming for Stage 2 LoRA.
- Stage 2 LoRA initialized from SVD of Stage 1 updates enables strong performance with minimal added parameters (~1.3% of the original model).
- SLoRA shows higher stability across seeds and requires fewer communication rounds to reach comparable accuracy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.