DenseLoRA: Dense Low-Rank Adaptation of Large Language Models

Lin Mu, Xiaoyu Wang, Li Ni, Yang Li, Zhize Wu +2 more
5/27/2025
7 citations
cs.CLcs.AI
lora-peft-merging

Official code: mulin-ahu/DenseLoRA (7 stars, Python, last commit 2025-09-02).

Abstract

Low-rank adaptation (LoRA) has been developed as an efficient approach for adapting large language models (LLMs) by fine-tuning two low-rank matrices, thereby reducing the number of trainable parameters. However, prior research indicates that many of the weights in these matrices are redundant, leading to inefficiencies in parameter utilization.

Show full abstract

To address this limitation, we introduce Dense Low-Rank Adaptation (DenseLoRA), a novel approach that enhances parameter efficiency while achieving superior performance compared to LoRA. DenseLoRA builds upon the concept of representation fine-tuning, incorporating a single Encoder-Decoder to refine and compress hidden representations across all adaptation layers before applying adaptation. Instead of relying on two redundant low-rank matrices as in LoRA, DenseLoRA adapts LLMs through a dense low-rank matrix, improving parameter utilization and adaptation efficiency. We evaluate DenseLoRA on various benchmarks, showing that it achieves 83.8% accuracy with only 0.01% of trainable parameters, compared to LoRA's 80.8% accuracy with 0.70% of trainable parameters on LLaMA3-8B. Additionally, we conduct extensive experiments to systematically assess the impact of DenseLoRA's components on overall model performance. Code is available at https://github.com/mulin-ahu/DenseLoRA.

View on arXivView PDF

Code Implementations(1)

72Python, Jupyter NotebookMay 22, 20251 years agoNOASSERTION

Similar Papers

Cite this paper

@article{mu2025denselora,
  title  = {DenseLoRA: Dense Low-Rank Adaptation of Large Language Models},
  author = {Lin Mu and Xiaoyu Wang and Li Ni and Yang Li and Zhize Wu and Peiquan Jin and Yiwen Zhang},
  year   = {2025},
  eprint = {2505.23808},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.23808v1}
}

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

Discussion