LoRA-XS: Low-Rank Adaptation with Extremely Small Number of Parameters

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Bałazy, Klaudia, Banaei, Mohammadreza, Aberer, Karl, Tabor, Jacek
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915451919925248
author Bałazy, Klaudia
Banaei, Mohammadreza
Aberer, Karl
Tabor, Jacek
author_facet Bałazy, Klaudia
Banaei, Mohammadreza
Aberer, Karl
Tabor, Jacek
contents The growth of large language models underscores the need for parameter-efficient fine-tuning. Despite its popularity, LoRA encounters storage and computational challenges when deploying multiple task- or user-specific modules. To address this, we introduce LoRA-XS, a novel fine-tuning method backed by a theoretical derivation. LoRA-XS drastically reduces trainable parameters by incorporating a small, trainable weight matrix between frozen low-rank matrices derived from the Singular Value Decomposition of pre-trained weights. This design enables LoRA-XS to reduce storage requirements by over 100x in 7B models compared to LoRA. Additionally, unlike other methods, LoRA-XS imposes no lower bound on trainable parameters - it can scale from a single parameter per module to arbitrarily large values, adapting to any storage or computational constraint. Evaluations on GLUE, GSM8K, MATH, and commonsense reasoning benchmarks across different model scales reveal that LoRA-XS consistently outperforms or matches LoRA and VeRA in accuracy, offering unmatched parameter efficiency. Our ablation studies highlight the significance of singular vectors in transformer weights, establishing LoRA-XS as a powerful, storage-efficient solution for scaling and personalizing large language models.
format Preprint
id arxiv_https___arxiv_org_abs_2405_17604
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LoRA-XS: Low-Rank Adaptation with Extremely Small Number of Parameters
Bałazy, Klaudia
Banaei, Mohammadreza
Aberer, Karl
Tabor, Jacek
Machine Learning
Artificial Intelligence
Computation and Language
The growth of large language models underscores the need for parameter-efficient fine-tuning. Despite its popularity, LoRA encounters storage and computational challenges when deploying multiple task- or user-specific modules. To address this, we introduce LoRA-XS, a novel fine-tuning method backed by a theoretical derivation. LoRA-XS drastically reduces trainable parameters by incorporating a small, trainable weight matrix between frozen low-rank matrices derived from the Singular Value Decomposition of pre-trained weights. This design enables LoRA-XS to reduce storage requirements by over 100x in 7B models compared to LoRA. Additionally, unlike other methods, LoRA-XS imposes no lower bound on trainable parameters - it can scale from a single parameter per module to arbitrarily large values, adapting to any storage or computational constraint. Evaluations on GLUE, GSM8K, MATH, and commonsense reasoning benchmarks across different model scales reveal that LoRA-XS consistently outperforms or matches LoRA and VeRA in accuracy, offering unmatched parameter efficiency. Our ablation studies highlight the significance of singular vectors in transformer weights, establishing LoRA-XS as a powerful, storage-efficient solution for scaling and personalizing large language models.
title LoRA-XS: Low-Rank Adaptation with Extremely Small Number of Parameters
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2405.17604