Adaptive Rank Allocation for Federated Parameter-Efficient Fine-Tuning of Language Models
Fei Wu, Jia Hu, Geyong Min, Shiqiang Wang
TL;DR
FedARA introduces an adaptive rank allocation framework for Federated Parameter-Efficient Fine-Tuning of language models to address non-IID data and fixed-parameter configurations. It combines truncated SVD adaptation, dynamic rank masks with server arbitration, and rank-based module pruning to reduce communication and local computation on edge devices. Empirical results across multiple datasets, models, and edge platforms show average accuracy gains of around 7–9% under non-IID data, and communication reductions of about 2.4x, alongside substantial improvements in training time and energy consumption. These findings demonstrate the practical viability of FedPEFT for efficient federated fine-tuning in resource-constrained settings and set a path for scaling the approach to larger models and tasks.
Abstract
Pre-trained Language Models (PLMs) have demonstrated their superiority and versatility in modern Natural Language Processing (NLP), effectively adapting to various downstream tasks through further fine-tuning. Federated Parameter-Efficient Fine-Tuning (FedPEFT) has emerged as a promising solution to address privacy and efficiency challenges in distributed training for PLMs on resource-constrained local devices. However, our measurements reveal two key limitations of FedPEFT: heterogeneous data across devices exacerbates performance degradation of low-rank adaptation, and a fixed parameter configuration results in communication inefficiency. To overcome these limitations, we propose FedARA, a novel adaptive rank allocation framework for federated parameter-efficient fine-tuning of language models. Specifically, FedARA employs truncated Singular Value Decomposition (SVD) adaptation to enhance similar feature representation across clients, significantly mitigating the adverse effects of data heterogeneity. Subsequently, it utilizes dynamic rank allocation to progressively identify critical ranks, effectively improving communication efficiency. Lastly, it leverages rank-based module pruning to automatically remove inactive modules, steadily reducing local computational cost and memory usage in each federated learning round. Extensive experiments show that FedARA consistently outperforms baselines by an average of 6.95% to 8.49% across various datasets and models under heterogeneous data while significantly improving communication efficiency by 2.40$ \times$. Moreover, experiments on various edge devices demonstrate substantial decreases in total training time and energy consumption by up to 48.90% and 46.95%, respectively.
