Skip2-LoRA: A Lightweight On-device DNN Fine-tuning Method for Low-cost Edge Devices

Hiroki Matsutani, Masaaki Kondo, Kazuki Sunaga, Radu Marculescu
10/28/2024
cs.LGcs.AI

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

This paper proposes Skip2-LoRA as a lightweight fine-tuning method for deep neural networks to address the gap between pre-trained and deployed models. In our approach, trainable LoRA (low-rank adaptation) adapters are inserted between the last layer and every other layer to enhance the network expressive power while keeping the backward computation cost low. This architecture is well-suited to cache intermediate computation results of the forward pass and then can skip the forward computation of seen samples as training epochs progress. We implemented the combination of the proposed architecture and cache, denoted as Skip2-LoRA, and tested it on a $15 single board computer. Our results show that Skip2-LoRA reduces the fine-tuning time by 90.0% on average compared to the counterpart that has the same number of trainable parameters while preserving the accuracy, while taking only a few seconds on the microcontroller board.

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. 5 weaker matches are 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{matsutani2024skiplora,
  title  = {Skip2-LoRA: A Lightweight On-device DNN Fine-tuning Method for Low-cost Edge Devices},
  author = {Hiroki Matsutani and Masaaki Kondo and Kazuki Sunaga and Radu Marculescu},
  year   = {2024},
  eprint = {2410.21073},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.21073v1}
}

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/2410.21073.svg)](https://codeofpaper.com/paper/2410.21073)

Discussion