Adaptive Parameter-Efficient Federated Fine-Tuning on Heterogeneous Devices

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Jun, Liao, Yunming, Xu, Hongli, Xu, Yang, Liu, Jianchun, Qian, Chen
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916544970227712
author Liu, Jun
Liao, Yunming
Xu, Hongli
Xu, Yang
Liu, Jianchun
Qian, Chen
author_facet Liu, Jun
Liao, Yunming
Xu, Hongli
Xu, Yang
Liu, Jianchun
Qian, Chen
contents Federated fine-tuning (FedFT) has been proposed to fine-tune the pre-trained language models in a distributed manner. However, there are two critical challenges for efficient FedFT in practical applications, i.e., resource constraints and system heterogeneity. Existing works rely on parameter-efficient fine-tuning methods, e.g., low-rank adaptation (LoRA), but with major limitations. Herein, based on the inherent characteristics of FedFT, we observe that LoRA layers with higher ranks added close to the output help to save resource consumption while achieving comparable fine-tuning performance. Then we propose a novel LoRA-based FedFT framework, termed LEGEND, which faces the difficulty of determining the number of LoRA layers (called, LoRA depth) and the rank of each LoRA layer (called, rank distribution). We analyze the coupled relationship between LoRA depth and rank distribution, and design an efficient LoRA configuration algorithm for heterogeneous devices, thereby promoting fine-tuning efficiency. Extensive experiments are conducted on a physical platform with 80 commercial devices. The results show that LEGEND can achieve a speedup of 1.5-2.8$\times$ and save communication costs by about 42.3% when achieving the target accuracy, compared to the advanced solutions.
format Preprint
id arxiv_https___arxiv_org_abs_2412_20004
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Adaptive Parameter-Efficient Federated Fine-Tuning on Heterogeneous Devices
Liu, Jun
Liao, Yunming
Xu, Hongli
Xu, Yang
Liu, Jianchun
Qian, Chen
Distributed, Parallel, and Cluster Computing
Artificial Intelligence
Networking and Internet Architecture
Federated fine-tuning (FedFT) has been proposed to fine-tune the pre-trained language models in a distributed manner. However, there are two critical challenges for efficient FedFT in practical applications, i.e., resource constraints and system heterogeneity. Existing works rely on parameter-efficient fine-tuning methods, e.g., low-rank adaptation (LoRA), but with major limitations. Herein, based on the inherent characteristics of FedFT, we observe that LoRA layers with higher ranks added close to the output help to save resource consumption while achieving comparable fine-tuning performance. Then we propose a novel LoRA-based FedFT framework, termed LEGEND, which faces the difficulty of determining the number of LoRA layers (called, LoRA depth) and the rank of each LoRA layer (called, rank distribution). We analyze the coupled relationship between LoRA depth and rank distribution, and design an efficient LoRA configuration algorithm for heterogeneous devices, thereby promoting fine-tuning efficiency. Extensive experiments are conducted on a physical platform with 80 commercial devices. The results show that LEGEND can achieve a speedup of 1.5-2.8$\times$ and save communication costs by about 42.3% when achieving the target accuracy, compared to the advanced solutions.
title Adaptive Parameter-Efficient Federated Fine-Tuning on Heterogeneous Devices
topic Distributed, Parallel, and Cluster Computing
Artificial Intelligence
Networking and Internet Architecture
url https://arxiv.org/abs/2412.20004