Scaling Federated Learning for Fine-tuning of Large Language Models
Agrin Hilmkil, Sebastian Callh, Matteo Barbieri, Leon Ren\'e, S\"utfeld, Edvin Listo Zec, Olof Mogren

TL;DR
This paper investigates federated learning for large language models, evaluating different BERT variants on text classification tasks, and analyzes how model size and number of clients affect training convergence and robustness.
Contribution
It provides a comprehensive evaluation of federated fine-tuning for large Transformer-based models across multiple tasks and client configurations, highlighting model-specific challenges.
Findings
Large models are generally feasible for federated training.
DistilBERT converges slower with more clients and can collapse to chance performance.
Model handling of federated averaging varies significantly across architectures.
Abstract
Federated learning (FL) is a promising approach to distributed compute, as well as distributed data, and provides a level of privacy and compliance to legal frameworks. This makes FL attractive for both consumer and healthcare applications. While the area is actively being explored, few studies have examined FL in the context of larger language models and there is a lack of comprehensive reviews of robustness across tasks, architectures, numbers of clients, and other relevant factors. In this paper, we explore the fine-tuning of Transformer-based language models in a federated learning setting. We evaluate three popular BERT-variants of different sizes (BERT, ALBERT, and DistilBERT) on a number of text classification tasks such as sentiment analysis and author identification. We perform an extensive sweep over the number of clients, ranging up to 32, to evaluate the impact of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsLinear Layer · Dropout · Attention Dropout · Linear Warmup With Linear Decay · Weight Decay · BERT · Softmax · Attention Is All You Need · Dense Connections · Residual Connection
