Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Harnessing Federated Learning for LLM Fine-Tuning: A Distributed Approach
Uppsala University, Disciplinary Domain of Science and Technology, Mathematics and Computer Science, Department of Information Technology.
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent 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
Available from: 2024-09-17 Created: 2024-09-16 Last updated: 2024-09-17Bibliographically approved

Open Access in DiVA

fulltext(2109 kB)1201 downloads
File information
File name FULLTEXT01.pdfFile size 2109 kBChecksum SHA-512
c91fec949997f7be0156d50fbc7c5269ce565807a339447dd73c55380d24ff276a35a557e04631ad6062602f4d89bc4257711c89d14a991b0b6e6cc595003f19
Type fulltextMimetype application/pdf

By organisation
Department of Information Technology
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 1206 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 1509 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf