Saved in:
Bibliographic Details
Main Authors: Zhang, Yicheng, Qin, Zhen, Wu, Zhaomin, Hou, Jian, Deng, Shuiguang
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.19128
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914081976352768
author Zhang, Yicheng
Qin, Zhen
Wu, Zhaomin
Hou, Jian
Deng, Shuiguang
author_facet Zhang, Yicheng
Qin, Zhen
Wu, Zhaomin
Hou, Jian
Deng, Shuiguang
contents Large language models (LLMs) are increasingly powering web-based applications, whose effectiveness relies on fine-tuning with large-scale instruction data. However, such data often contains valuable or sensitive information that limits its public sharing among business organizations. Federated learning (FL) enables collaborative fine-tuning of LLMs without accessing raw data. Existing approaches to federated LLM fine-tuning usually adopt a uniform model architecture, making it challenging to fit highly heterogeneous client-side data in varying domains and tasks, e.g., hospitals and financial institutions conducting federated fine-tuning may require different LLM architectures due to the distinct nature of their domains and tasks. To address this, we propose FedAMoLE, a lightweight personalized FL framework that enables data-driven heterogeneous model architectures. It features a heterogeneous mixture of low-rank adaptation (LoRA) experts module to aggregate architecturally heterogeneous models and a reverse selection-based expert assignment strategy to tailor model architectures for each client based on data distributions. Experiments across seven scenarios demonstrate that FedAMoLE improves client-side performance by an average of 5.97% over existing approaches while maintaining practical memory, communication, and computation overhead.
format Preprint
id arxiv_https___arxiv_org_abs_2411_19128
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Personalized Federated Fine-Tuning for LLMs via Data-Driven Heterogeneous Model Architectures
Zhang, Yicheng
Qin, Zhen
Wu, Zhaomin
Hou, Jian
Deng, Shuiguang
Machine Learning
Large language models (LLMs) are increasingly powering web-based applications, whose effectiveness relies on fine-tuning with large-scale instruction data. However, such data often contains valuable or sensitive information that limits its public sharing among business organizations. Federated learning (FL) enables collaborative fine-tuning of LLMs without accessing raw data. Existing approaches to federated LLM fine-tuning usually adopt a uniform model architecture, making it challenging to fit highly heterogeneous client-side data in varying domains and tasks, e.g., hospitals and financial institutions conducting federated fine-tuning may require different LLM architectures due to the distinct nature of their domains and tasks. To address this, we propose FedAMoLE, a lightweight personalized FL framework that enables data-driven heterogeneous model architectures. It features a heterogeneous mixture of low-rank adaptation (LoRA) experts module to aggregate architecturally heterogeneous models and a reverse selection-based expert assignment strategy to tailor model architectures for each client based on data distributions. Experiments across seven scenarios demonstrate that FedAMoLE improves client-side performance by an average of 5.97% over existing approaches while maintaining practical memory, communication, and computation overhead.
title Personalized Federated Fine-Tuning for LLMs via Data-Driven Heterogeneous Model Architectures
topic Machine Learning
url https://arxiv.org/abs/2411.19128