paper-with-me

Papers

LoRA Learns Less and Forgets Less

2024-05-15 · Dan Biderman, Jacob Portes, Jose Javier Gonzalez Ortiz, Mansheej Paul, Philip Greengard, Connor Jennings, Daniel King, Sam Havens, Vitaliy Chiley, Jonathan Frankle, Cody Blakeney, John P. Cunningham

Low-Rank Adaptation (LoRA) is a widely-used parameter-efficient finetuning method for large language models. LoRA saves memory by training only low rank perturbations to selected weight matrices. In this work, we compare the performance of LoRA and full finetuning on two target domains, programming and mathematics. We consider both the instruction finetuning (approximately 100K prompt-response pairs) and continued pretraining (20B unstructured tokens) data regimes. Our results show that, in the standard low-rank settings, LoRA substantially underperforms full finetuning. Nevertheless, LoRA better maintains the base model's performance on tasks outside the target domain. We show that LoRA mitigates forgetting more than common regularization techniques such as weight decay and dropout; it also helps maintain more diverse generations. Finally, we show that full finetuning learns perturbations with a rank that is 10-100X greater than typical LoRA configurations, possibly explaining some of the reported gaps. We conclude by proposing best practices for finetuning with LoRA.

📄 PDF Abstract BibTeX arXiv:2405.09673

Code (1)

danbider/lora-tradeoffs 공식 구현

Methods 이 논문이 사용한 방법론

BASE 설명 없음
Weight Decay 설명 없음

Similar Papers 제목 키워드 기반

Improving Gender Fairness of Pre-Trained Language Models without Catastrophic Forgetting

2021-10-11 · Zahra Fatemi, Chen Xing, Wenhao Liu, Caiming Xiong

Existing studies addressing gender bias of pre-trained language models, usually build a small gender-neutral data set and conduct a second phase pre-training on the model with such data. However, given the limited size a…

coreference-resolutionCoreference ResolutionFairness

Optimizer-Model Consistency: Full Finetuning with the Same Optimizer as Pretraining Forgets Less

2026-05-07 · Yuxing Liu, Jianyu Wang, Tong Zhang arxiv

Optimizers play an important role in both pretraining and finetuning stages when training large language models (LLMs). In this paper, we present an observation that full finetuning with the same optimizer as in pretrain…

Continual Learning through Human-Robot Interaction: Human Perceptions of a Continual Learning Robot in Repeated Interactions

2023-05-22 · Ali Ayub, Zachary De Francesco, Patrick Holthaus, Chrystopher L. Nehaniv 외

For long-term deployment in dynamic real-world environments, assistive robots must continue to learn and adapt to their environments. Researchers have developed various computational models for continual learning (CL) th…

Continual LearningObject Recognition

LESSON: Learning to Integrate Exploration Strategies for Reinforcement Learning via an Option Framework

2023-10-05 · Woojun Kim, Jeonghye Kim, Youngchul Sung

In this paper, a unified framework for exploration in reinforcement learning (RL) is proposed based on an option-critic model. The proposed framework learns to integrate a set of diverse exploration strategies so that th…

reinforcement-learningReinforcement LearningReinforcement Learning (RL)

ServerlessLoRA: Minimizing Latency and Cost in Serverless Inference for LoRA-Based LLMs

2025-05-20 · Yifan Sui, Hanfei Yu, Yitao Hu, Jianxun Li 외

Serverless computing has grown rapidly for serving Large Language Model (LLM) inference due to its pay-as-you-go pricing, fine-grained GPU usage, and rapid scaling. However, our analysis reveals that current serverless c…

GPULarge Language Model