Adaptive Rank Allocation for Federated Parameter-Efficient Fine-Tuning of Language Models

Fei Wu, Jia Hu, Geyong Min, Shiqiang Wang · DOI

TL;DR

Fine-tuning large language models on edge devices via Federated Learning usually suffers from high communication costs and severe performance drops due to data heterogeneity. This paper introduces FedARA, a framework that utilizes a novel truncated SVD structure and dynamic rank allocation to boost accuracy by up to 8.5% under non-IID data while slashing communication overhead by $2.4\times$ and training time by up to 49%.

What Problem Does This Paper Address?

Federated Parameter-Efficient Fine-Tuning (FedPEFT) allows edge devices to collaboratively fine-tune Large Language Models (LLMs) without centralizing private user data. Typically, this is done using Low-Rank Adaptation (LoRA), which freezes the base model and trains small, low-rank matrices.

However, the authors identify two major bottlenecks in practical deployments:

  1. Data Heterogeneity (Non-IID Data): Real-world user data varies drastically across devices. Standard LoRA's asymmetric initialization and coupled weight updates amplify "client drift," causing severe performance degradation.
  2. Static Parameter Allocation: Standard FedPEFT applies a uniform rank across all layers. This is highly inefficient because different layers and components contribute unequally to model performance, leading to underfitting in critical layers and wasted bandwidth on less important ones.
Fig. 2. The preliminary measurement results of FedPEFT in a homogeneous FL setting: (a) Comparison of overall training time on different edge devices (BERT; 20News; Rank=12; Batch size=4). (b) Accuracy of FedPEFT under IID and non-IID scenarios (DistilBERT; Rank=24; Adapter-h (A-h) size=108; Adapter-p (A-p) size=216). (c) Impact of inserted positions on accuracy (DistilBERT; Rank=24). (d) Communication and computation time percentage across models and devices using FedLoRA (News Category; Rank=12; Batch size=4).

Methods

To solve these challenges, the authors propose FedARA (Federated Adaptive Rank Allocation), which integrates three novel techniques:

  • Truncated SVD Adaptation: Instead of LoRA's standard $BA$ matrix decomposition, FedARA introduces a trainable diagonal matrix $E$ between them ($BEA$). $A$ and $B$ are initialized symmetrically with Gaussian noise, while $E$ starts at zero. This structure decouples magnitude and directional updates, stabilizing gradient flow across heterogeneous clients.
  • Dynamic Rank Allocation: FedARA progressively prunes less important ranks during training. It calculates a magnitude-based importance score for "triplets" (the left vector in $B$, the diagonal value in $E$, and the right vector in $A$). Clients generate local rank masks, which the server aggregates and arbitrates using a threshold to create a global rank mask.
  • Rank-based Module Pruning: To save actual compute on edge devices, if a module's rank drops to zero based on the global mask, it is completely frozen and removed from the local training graph, reducing computational and memory overhead.
Illustration of Truncated SVD Adaptation vs LoRA

Datasets

The framework was evaluated across two distinct NLP tasks using five diverse datasets:

  • Sequence Classification: 20News, Semeval, AG News, and News Category.
  • Abstractive Summarization: CNN/DailyMail.

To simulate realistic, highly skewed non-IID federated environments, the authors utilized Dirichlet-based partitioning ($\alpha \in \{1, 0.1, 0.01\}$) as well as pathological label-imbalance setups.

Key Insights and Ideas

  • Symmetric Initialization Stabilizes Training: LoRA’s standard asymmetric initialization ($A$ is Gaussian, $B$ is zero) introduces early training bias that worsens under non-IID data. FedARA's SVD-style symmetric initialization significantly reduces magnitude and directional discrepancies between local client updates and the global model.
  • Not All Layers Are Equal: Deeper layers and feed-forward network components ($F1, F2$) exert a much stronger influence on final accuracy than shallower layers or attention output layers ($O$). Dynamic allocation exploits this by shifting the parameter budget to where it matters most.
  • Hardware Bottlenecks Shift: High-end edge devices (like the NVIDIA Jetson AGX Orin) are communication-bound, whereas low-end devices (like the Raspberry Pi 5) are compute-bound. FedARA's dual approach—masking for communication and structural pruning for computation—successfully addresses both bottlenecks simultaneously.
Weight update discrepancies under non-IID data

Key Results

  • Accuracy Improvements: Under highly heterogeneous non-IID data, FedARA outperforms standard FedLoRA and other state-of-the-art baselines by an average of 6.95% to 8.49% across different models.
  • Communication Efficiency: FedARA achieves a $2.40\times$ reduction in total communication overhead compared to fixed-rank baselines, rapidly dropping its per-round communication cost after the initial warm-up phase.
  • On-Device Efficiency: When tested on actual edge hardware (NVIDIA Jetson AGX Orin, Orin Nano, and Raspberry Pi 5), FedARA reduced total training time by up to 48.90% and cut energy consumption by up to 46.95% (measured on the Orin Nano).

Limitations and Future Work

While FedARA demonstrates excellent efficiency gains, the authors note a few areas for expansion:

  • Model Scaling: The current evaluation focuses on compact transformer models (BERT, DistilBERT, and BART). Future work includes scaling the framework to larger, modern LLMs.
  • Quantization Integration: The authors plan to explore combining FedARA with low-bit quantization techniques (such as QLoRA) to further minimize the memory footprint on extremely resource-constrained edge hardware.

Summary updated

BibTeX
@article{wu2025adaptive,
  author = {Fei Wu and Jia Hu and Geyong Min and Shiqiang Wang},
  title = {{Adaptive Rank Allocation for Federated Parameter-Efficient Fine-Tuning of Language Models}},
  journal = {IEEE Transactions on Computers},
  year = {2025},
  doi = {10.1109/tc.2026.3655161},
}
Figure