Harnessing Federated Learning for LLM Fine-Tuning: A Distributed Approach
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesis
Abstract [en]
Large Language Models (LLMs) have emerged as a game-changing force in computerizedlanguage processing. These models have an astonishing ability to understand complex linguisticpatterns and generate responses that are both coherent and contextually appropriate. LLMs, asubset of Artificial Intelligence (AI), are used for a variety of tasks, including Natural LanguageProcessing (NLP), machine translation, and question answering. While they excel at simulatinghuman-like text, these models face significant challenges.
To learn effectively, these models require significant computational resources and large amountsof data. Unfortunately, many organizations struggle to gain access to such computing power.Furthermore, privacy laws can constrain the acquisition of sensitive data, limiting the growth ofthese technologies. This paper suggests fine-tuning techniques that reduce computationaldemands by adjusting pre-trained models to specific tasks. We used the Low-Rank Adaptation(LoRA) technique, which modifies only a small fraction of model parameters while maintaininghigh performance.
In addition, we integrate federated learning approaches using the Fedn framework to addressprivacy concerns, distributing the training process across multiple devices while keeping datalocalized.
Finally, We conducted a series of experiments on the T5 model, applying these methods to asummarization task in both centralized and federated settings.
Our findings reveal that our methods achieve two critical goals,reducing computational costs andensuring data privacy. These results have significant implications for the future development ofLLMs. By adopting our approaches, LLMs training can become more efficient and privacyconscious.
Place, publisher, year, edition, pages
2024.
Series
IT ; mDA 24 027
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:uu:diva-538461OAI: oai:DiVA.org:uu-538461DiVA, id: diva2:1898039
Educational program
Master's Programme in Data Science
Supervisors
Examiners
2024-09-172024-09-162024-09-17Bibliographically approved