Decentralized Low-Rank Fine-Tuning of Large Language Models
While parameter-efficient fine-tuning (PEFT) techniques like Low-Rank Adaptation (LoRA) offer computationally efficient adaptations of Large Language Models (LLMs), their practical deployment often assumes centralized data and training environments.However, realworld scenarios frequently involve distributed, privacy-sensitive datasets that require decentralized solutions.Federated learning (FL) addresses data privacy by coordinating model updates across clients without sharing raw data.While most federated fine-tuning methods adopt centralized FL, which relies on a parameter server for aggregating model updates-introducing potential bottlenecks and communication constraints-decentralized FL enables direct peer-to-peer communication among clients, bypassing the need for a server as an intermediary.Despite its advantages, decentralized fine-tuning for LLMs remains largely unexplored in the literature.To address this gap, we introduce Dec-LoRA, a decentralized fine-tuning algorithm based on LoRA.We conduct extensive experiments using BERT and LLaMA-2 models to benchmark Dec-LoRA against centralized LoRA and several other popular PEFT approaches in decentralized settings.Our results demonstrate that Dec-LoRA consistently achieves performance on par with centralized LoRA under various conditions, including data heterogeneity and quantization constraints.These findings highlight the potential of Dec-LoRA for scalable LLM fine-tuning in decentralized environments.
Authors
- Ramtin Pedarsani (ORCID: https://orcid.org/0000-0002-1126-0292)
- Mahnoosh Alizadeh (ORCID: https://orcid.org/0000-0003-3369-3846)
- Sajjad Ghiasvand (ORCID: https://orcid.org/0009-0005-3834-7418)
Institutions
- Santa Barbara City College (US)
- University of California, Santa Barbara (US)
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18653/v1/2025.realm-1.24
- Citations
- 4
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 9.92