paper-with-me

홈 › Papers

LoRA-Pro: Are Low-Rank Adapters Properly Optimized?

2024-07-25 · Zhengbo Wang, Jian Liang, Ran He, Zilei Wang, Tieniu Tan

Low-rank adaptation, also known as LoRA, has emerged as a prominent method for parameter-efficient fine-tuning of foundation models. Despite its computational efficiency, LoRA still yields inferior performance compared to full fine-tuning. In this paper, we first uncover a fundamental connection between the optimization processes of LoRA and full fine-tuning: using LoRA for optimization is mathematically equivalent to full fine-tuning using a low-rank gradient for parameter updates. And this low-rank gradient can be expressed in terms of the gradients of the two low-rank matrices in LoRA. Leveraging this insight, we introduce LoRA-Pro, a method that enhances LoRA's performance by strategically adjusting the gradients of these low-rank matrices. This adjustment allows the low-rank gradient to more accurately approximate the full fine-tuning gradient, thereby narrowing the performance gap between LoRA and full fine-tuning. Furthermore, we theoretically derive the optimal solutions for adjusting the gradients of the low-rank matrices, applying them during fine-tuning in LoRA-Pro. We conduct extensive experiments across natural language understanding, dialogue generation, mathematical reasoning, code generation, and image classification tasks, demonstrating that LoRA-Pro substantially improves LoRA's performance, effectively narrowing the gap with full fine-tuning. Code is publicly available at https://github.com/mrflogs/LoRA-Pro.

📄 PDF Abstract BibTeX arXiv:2407.18242

Code (1)

mrflogs/LoRA-Pro 공식 구현 pytorch

Tasks

Code GenerationComputational EfficiencyDialogue Generationimage-classificationImage ClassificationMathematical ReasoningNatural Language Understandingparameter-efficient fine-tuning

Similar Papers 제목 키워드 기반

S-LoRA: Serving Thousands of Concurrent LoRA Adapters

2023-11-06 · Ying Sheng, Shiyi Cao, Dacheng Li, Coleman Hooper 외

The "pretrain-then-finetune" paradigm is commonly adopted in the deployment of large language models. Low-Rank Adaptation (LoRA), a parameter-efficient fine-tuning method, is often employed to adapt a base model to a mul…

GPUparameter-efficient fine-tuning

LoRA-Switch: Boosting the Efficiency of Dynamic LLM Adapters via System-Algorithm Co-design

2024-05-28 · Rui Kong, Qiyang Li, Xinyu Fang, Qingtian Feng 외

Recent literature has found that an effective method to customize or further improve large language models (LLMs) is to add dynamic adapters, such as low-rank adapters (LoRA) with Mixture-of-Experts (MoE) structures. Tho…

Mixture-of-Experts

LoRAverse: A Submodular Framework to Retrieve Diverse Adapters for Diffusion Models

2025-10-16 · Mert Sonmezer, Matthew Zheng, Pinar Yanardag arxiv

Low-rank Adaptation (LoRA) models have revolutionized the personalization of pre-trained diffusion models by enabling fine-tuning through low-rank, factorized weight matrices specifically optimized for attention layers. …

A Rank Stabilization Scaling Factor for Fine-Tuning with LoRA

2023-11-28 · Damjan Kalajdzievski

As large language models (LLMs) have become increasingly compute and memory intensive, parameter-efficient fine-tuning (PEFT) methods are now a common strategy to fine-tune LLMs. A popular PEFT method is Low-Rank Adapter…

parameter-efficient fine-tuning

EulerLoRA: Rank-Driven Jump Dynamics for Calibrated Parameter-Efficient Fine-Tuning

2026-08-02 · Srinivas Anumasa, Dianbo Liu arxiv

Low-Rank Adaptation (LoRA) enables parameter-efficient fine-tuning, but standard LoRA produces a single deterministic model and does not directly support predictive uncertainty estimation. We introduce EulerLoRA, a stoch…

parameter-efficient fine-tuningOut-of-Distribution Detection