Efficient Federated Finetuning of Tiny Transformers with Resource-Constrained Devices

Kilian Pfeiffer, Mohamed Aboelenien Ahmed, Ramin Khalili, Jörg Henkel
11/12/2024
cs.LGcs.AIcs.DC

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

In recent years, Large Language Models (LLMs) through Transformer structures have dominated many machine learning tasks, especially text processing. However, these models require massive amounts of data for training and induce high resource requirements, particularly in terms of the large number of Floating Point Operations (FLOPs) and the high amounts of memory needed. To fine-tune such a model in a parameter-efficient way, techniques like Adapter or LoRA have been developed. However, we observe that the application of LoRA, when used in federated learning (FL), while still being parameter-efficient, is memory and FLOP inefficient. Based on that observation, we develop a novel layer finetuning scheme that allows devices in cross-device FL to make use of pretrained neural networks (NNs) while adhering to given resource constraints. We show that our presented scheme outperforms the current state of the art when dealing with homogeneous or heterogeneous computation and memory constraints and is on par with LoRA regarding limited communication, thereby achieving significantly higher accuracies in FL training.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pfeiffer2024efficient,
  title  = {Efficient Federated Finetuning of Tiny Transformers with Resource-Constrained Devices},
  author = {Kilian Pfeiffer and Mohamed Aboelenien Ahmed and Ramin Khalili and Jörg Henkel},
  year   = {2024},
  eprint = {2411.07826},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.07826v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.07826.svg)](https://codeofpaper.com/paper/2411.07826)

Discussion