Saved in:
Bibliographic Details
Main Authors: Kowsher, Md, Esmaeilbeig, Tara, Yu, Chun-Nam, Chen, Chen, Soltanalian, Mojtaba, Yousefi, Niloofar
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.10075
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913869137444864
author Kowsher, Md
Esmaeilbeig, Tara
Yu, Chun-Nam
Chen, Chen
Soltanalian, Mojtaba
Yousefi, Niloofar
author_facet Kowsher, Md
Esmaeilbeig, Tara
Yu, Chun-Nam
Chen, Chen
Soltanalian, Mojtaba
Yousefi, Niloofar
contents We propose RoCoFT, a parameter-efficient fine-tuning method for large-scale language models (LMs) based on updating only a few rows and columns of the weight matrices in transformers. Through extensive experiments with medium-size LMs like BERT and RoBERTa, and larger LMs like Bloom-7B, Llama2-7B, and Llama2-13B, we show that our method gives comparable or better accuracies than state-of-art PEFT methods while also being more memory and computation-efficient. We also study the reason behind the effectiveness of our method with tools from neural tangent kernel theory. We empirically demonstrate that our kernel, constructed using a restricted set of row and column parameters, are numerically close to the full-parameter kernel and gives comparable classification performance. Ablation studies are conducted to investigate the impact of different algorithmic choices, including the selection strategy for rows and columns as well as the optimal rank for effective implementation of our method.
format Preprint
id arxiv_https___arxiv_org_abs_2410_10075
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle RoCoFT: Efficient Finetuning of Large Language Models with Row-Column Updates
Kowsher, Md
Esmaeilbeig, Tara
Yu, Chun-Nam
Chen, Chen
Soltanalian, Mojtaba
Yousefi, Niloofar
Computation and Language
We propose RoCoFT, a parameter-efficient fine-tuning method for large-scale language models (LMs) based on updating only a few rows and columns of the weight matrices in transformers. Through extensive experiments with medium-size LMs like BERT and RoBERTa, and larger LMs like Bloom-7B, Llama2-7B, and Llama2-13B, we show that our method gives comparable or better accuracies than state-of-art PEFT methods while also being more memory and computation-efficient. We also study the reason behind the effectiveness of our method with tools from neural tangent kernel theory. We empirically demonstrate that our kernel, constructed using a restricted set of row and column parameters, are numerically close to the full-parameter kernel and gives comparable classification performance. Ablation studies are conducted to investigate the impact of different algorithmic choices, including the selection strategy for rows and columns as well as the optimal rank for effective implementation of our method.
title RoCoFT: Efficient Finetuning of Large Language Models with Row-Column Updates
topic Computation and Language
url https://arxiv.org/abs/2410.10075