ShareLoRA: Parameter Efficient and Robust Large Language Model Fine-tuning via Shared Low-Rank Adaptation

Yurun Song, Junchen Zhao, Ian G. Harris, Sangeetha Abdu Jyothi
6/16/2024
cs.CLcs.AI

No official code found. Best implementation: Rain9876/ShareLoRA (1 star, last commit 2025-05-18).

Abstract

In this paper, we introduce \textbf{Share}d \textbf{Lo}w \textbf{R}ank \textbf{A}daptation (ShareLoRA), a Large Language Model (LLM) fine-tuning technique that balances parameter efficiency, adaptability, and robustness without compromising performance. By strategically sharing the low-rank weight matrices across different layers, ShareLoRA achieves 44\% to 96\% reduction in trainable parameters compared to standard LoRA, alongside a substantial decrease in memory overhead. This efficiency gain scales with model size, making ShareLoRA particularly advantageous for resource-constrained environments. Importantly, ShareLoRA not only maintains model performance but also exhibits robustness in both classification and generation tasks across diverse models, including RoBERTa, GPT-2, and LLaMA series (1, 2, and 3). It consistently outperforms LoRA in zero-shot, few-shot, and continual fine-tuning scenarios, achieving up to 1.2\% average accuracy improvement, and enhanced generalization across domains. In continual learning settings, ShareLoRA achieves 1.2\% higher accuracy on GSM8K, 0.6\% on HumanEval, and 0.5\% on both MMLU and MMLU-Pro. Our results demonstrate that ShareLoRA supports high-quality fine-tuning while offering strong generalization and continual adaptation across various model scales and diverse tasks.

View on arXivView PDF

Code Implementations(1)

Rain9876/ShareLoRACommunity100%

ShareLoRA is a lightweight adaptation method that shares low-rank parameters across layers to effectively balance training efficiency, robust performance, and continual adaptation.

10C++, CudaMay 18, 20251 years ago

Similar Papers

Cite this paper

@article{song2024sharelora,
  title  = {ShareLoRA: Parameter Efficient and Robust Large Language Model Fine-tuning via Shared Low-Rank Adaptation},
  author = {Yurun Song and Junchen Zhao and Ian G. Harris and Sangeetha Abdu Jyothi},
  year   = {2024},
  eprint = {2406.10785},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.10785v2}
}

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

Discussion