ASLoRA: Adaptive Sharing Low-Rank Adaptation Across Layers

Junyan Hu, Xue Xiao, Mengqi Zhang, Yao Chen, Zhaochun Ren +2 more
12/13/2024
cs.CL
lora-peft-merging

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

As large language models (LLMs) grow in size, traditional full fine-tuning becomes increasingly impractical due to its high computational and storage costs. Although popular parameter-efficient fine-tuning methods, such as LoRA, have significantly reduced the number of tunable parameters, there is still room for further optimization.

Show full abstract

In this work, we propose ASLoRA, a cross-layer parameter-sharing strategy combining global sharing with partial adaptive sharing. Specifically, we share the low-rank matrix A across all layers and adaptively merge matrix B during training. This sharing mechanism not only mitigates overfitting effectively but also captures inter-layer dependencies, significantly enhancing the model's representational capability. We conduct extensive experiments on various NLP tasks, showing that ASLoRA outperforms LoRA while using less than 25% of the parameters, highlighting its flexibility and superior parameter efficiency. Furthermore, in-depth analyses of the adaptive sharing strategy confirm its significant advantages in enhancing both model flexibility and task adaptability.

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. 1 weaker match is 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{hu2024aslora,
  title  = {ASLoRA: Adaptive Sharing Low-Rank Adaptation Across Layers},
  author = {Junyan Hu and Xue Xiao and Mengqi Zhang and Yao Chen and Zhaochun Ren and Zhumin Chen and Pengjie Ren},
  year   = {2024},
  eprint = {2412.10135},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.10135v2}
}

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

Discussion