paper-with-me

홈 › Papers

OwLore: Outlier-weighed Layerwise Sampled Low-Rank Projection for Memory-Efficient LLM Fine-tuning

2024-05-28 · Pengxiang Li, Lu Yin, Xiaowei Gao, Shiwei Liu

The rapid advancements in Large Language Models (LLMs) have revolutionized various natural language processing tasks. However, the substantial size of LLMs presents significant challenges in training or fine-tuning. While parameter-efficient approaches such as low-rank adaptation (LoRA) have gained popularity, they often compromise performance compared to full-rank fine-tuning. In this paper, we propose Outlier-weighed Layerwise Sampled Low-Rank Projection (OwLore), a new memory-efficient fine-tuning approach, inspired by the layerwise outlier distribution of LLMs. Unlike LoRA, which adds extra adapters to all layers, OwLore strategically assigns higher sampling probabilities to layers with more outliers, selectively sampling only a few layers and fine-tuning their pre-trained weights. To further increase the number of fine-tuned layers without a proportional rise in memory costs, we incorporate gradient low-rank projection, further boosting the approach's performance. Our extensive experiments across various architectures, including LLaMa2, LLaMa3, and Mistral, demonstrate that OwLore consistently outperforms baseline approaches, including full fine-tuning. Specifically, it achieves up to a 1.1% average accuracy gain on the Commonsense Reasoning benchmark, a 3.0% improvement on MMLU, and a notable 10% boost on MT-Bench, while being more memory efficient. OwLore allows us to fine-tune LLaMa2-7B with only 21GB of memory. Code is available at https://github.com/pixeli99/OwLore.

📄 PDF Abstract BibTeX arXiv:2405.18380

Code (2)

pixeli99/owlore 공식 구현 pytorch
qiaoxiao7282/seft pytorch

Tasks

MMLU

Similar Papers 제목 키워드 기반

Outlier Weighed Layerwise Sparsity (OWL): A Missing Secret Sauce for Pruning LLMs to High Sparsity

2023-10-08 · Lu Yin, You Wu, Zhenyu Zhang, Cheng-Yu Hsieh 외

Large Language Models (LLMs), renowned for their remarkable performance across diverse domains, present a challenge when it comes to practical deployment due to their colossal model size. In response to this challenge, e…

Network Pruning

OWLed: Outlier-weighed Layerwise Pruning for Efficient Autonomous Driving Framework

2024-11-12 · Jiaxi Li, Lu Yin, Xilu Wang

The integration of Large Language Models (LLMs) into autonomous driving systems offers promising enhancements in environmental understanding and decision-making. However, the substantial computational demands of deployin…

Autonomous DrivingDecision MakingModel Compression

LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuning

2024-03-26 · Rui Pan, Xiang Liu, Shizhe Diao, Renjie Pi 외

The machine learning community has witnessed impressive advancements since large language models (LLMs) first appeared. Yet, their massive memory consumption has become a significant roadblock to large-scale training. Fo…

GPUGSM8KLanguage ModelingLanguage Modelling+4

Maximum Redundancy Pruning: A Principle-Driven Layerwise Sparsity Allocation for LLMs

2025-03-24 · Chang Gao, Kang Zhao, Jianfei Chen, Liping Jing

Large language models (LLMs) have demonstrated impressive capabilities, but their enormous size poses significant challenges for deployment in real-world applications. To address this issue, researchers have sought to ap…

Network Pruning

Bi-level Unbalanced Optimal Transport for Partial Domain Adaptation

2025-05-19 · Zi-Ying Chen, Chuan-Xian Ren, Hong Yan

Partial domain adaptation (PDA) problem requires aligning cross-domain samples while distinguishing the outlier classes for accurate knowledge transfer. The widely used weighting framework tries to address the outlier cl…

Domain AdaptationPartial Domain AdaptationTransfer Learning