Revisiting Federated Fine-Tuning: A Single Communication Round is Enough for Foundation Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Ziyao, Tian, Bowei, He, Yexiao, Shen, Zheyu, Sun, Guoheng, Liu, Yuhan, Liu, Luyang, Liu, Meng, Li, Ang
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912690815893504
author Wang, Ziyao
Tian, Bowei
He, Yexiao
Shen, Zheyu
Sun, Guoheng
Liu, Yuhan
Liu, Luyang
Liu, Meng
Li, Ang
author_facet Wang, Ziyao
Tian, Bowei
He, Yexiao
Shen, Zheyu
Sun, Guoheng
Liu, Yuhan
Liu, Luyang
Liu, Meng
Li, Ang
contents The recent advancement of foundation models (FMs) has increased the demand for fine-tuning these models on large-scale cross-domain datasets. To address this, federated fine-tuning has emerged, allowing FMs to be fine-tuned on distributed datasets across multiple devices while ensuring data privacy. However, the substantial parameter size and the multi-round communication in federated learning algorithms result in prohibitively high communication costs, challenging the practicality of federated fine-tuning. In this paper, we identify and analyze, both theoretically and empirically, that the traditional multi-round aggregation algorithms may not be necessary for federated fine-tuning large FMs. Our experiments reveal that a single round of aggregation (i.e., one-shot federated fine-tuning) yields a global model performance comparable to that achieved through multiple rounds of aggregation. Through rigorous mathematical and empirical analyses, we demonstrate that large FMs, due to their extensive parameter sizes and pre-training on general tasks, achieve significantly lower training loss in one-shot federated fine-tuning compared to smaller models. Our extensive experiments show that one-shot federated fine-tuning significantly reduces communication costs. It also has the potential to enable asynchronous aggregation, enhances privacy, and maintains performance consistency with multi-round federated fine-tuning on both text generation and text-to-image generation tasks. Our findings provide insights to revolutionize federated fine-tuning in practice, enhancing efficiency, reducing costs, and expanding accessibility for FMs.
format Preprint
id arxiv_https___arxiv_org_abs_2412_04650
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Revisiting Federated Fine-Tuning: A Single Communication Round is Enough for Foundation Models
Wang, Ziyao
Tian, Bowei
He, Yexiao
Shen, Zheyu
Sun, Guoheng
Liu, Yuhan
Liu, Luyang
Liu, Meng
Li, Ang
Machine Learning
Distributed, Parallel, and Cluster Computing
The recent advancement of foundation models (FMs) has increased the demand for fine-tuning these models on large-scale cross-domain datasets. To address this, federated fine-tuning has emerged, allowing FMs to be fine-tuned on distributed datasets across multiple devices while ensuring data privacy. However, the substantial parameter size and the multi-round communication in federated learning algorithms result in prohibitively high communication costs, challenging the practicality of federated fine-tuning. In this paper, we identify and analyze, both theoretically and empirically, that the traditional multi-round aggregation algorithms may not be necessary for federated fine-tuning large FMs. Our experiments reveal that a single round of aggregation (i.e., one-shot federated fine-tuning) yields a global model performance comparable to that achieved through multiple rounds of aggregation. Through rigorous mathematical and empirical analyses, we demonstrate that large FMs, due to their extensive parameter sizes and pre-training on general tasks, achieve significantly lower training loss in one-shot federated fine-tuning compared to smaller models. Our extensive experiments show that one-shot federated fine-tuning significantly reduces communication costs. It also has the potential to enable asynchronous aggregation, enhances privacy, and maintains performance consistency with multi-round federated fine-tuning on both text generation and text-to-image generation tasks. Our findings provide insights to revolutionize federated fine-tuning in practice, enhancing efficiency, reducing costs, and expanding accessibility for FMs.
title Revisiting Federated Fine-Tuning: A Single Communication Round is Enough for Foundation Models
topic Machine Learning
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2412.04650