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

Klaudia Bałazy, Mohammadreza Banaei, Karl Aberer, Jacek Tabor
5/27/2024
cs.LGcs.AIcs.CL

No official code found. Best implementation: MohammadrezaBanaei/LoRA-XS (57 stars, last commit 2025-08-02).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

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

5715Shell, PythonMay 24, 20241 years ago

Similar Papers

Cite this paper

@article{baazy2024loraxs,
  title  = {LoRA-XS: Low-Rank Adaptation with Extremely Small Number of Parameters},
  author = {Klaudia Bałazy and Mohammadreza Banaei and Karl Aberer and Jacek Tabor},
  year   = {2024},
  eprint = {2405.17604},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.17604v3}
}

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

Discussion