LGCLDCFeb 1, 2021

Scaling Federated Learning for Fine-tuning of Large Language Models

arXiv:2102.00875v164 citations
Originality Synthesis-oriented
AI Analysis

This addresses scalability and robustness issues in federated learning for large language models, which is incremental as it extends existing methods to new model types and client counts.

The paper investigates fine-tuning Transformer-based language models (BERT, ALBERT, DistilBERT) in federated learning, finding that model size is not prohibitive but DistilBERT converges slower and can collapse to chance performance with up to 32 clients.

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 distributed compute on task performance in the federated averaging setting. While our findings suggest that the large sizes of the evaluated models are not generally prohibitive to federated training, we found that the different models handle federated averaging to a varying degree. Most notably, DistilBERT converges significantly slower with larger numbers of clients, and under some circumstances, even collapses to chance level performance. Investigating this issue presents an interesting perspective for future research.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes