Sparse Low-rank Adaptation of Pre-trained Language Models

计算机科学 秩(图论) 初始化 推论 过程(计算) 一般化 适应(眼睛) 代表(政治) 机器学习 人工智能 理论计算机科学 数学 数学分析 物理 光学 组合数学 操作系统 程序设计语言 法学 政治 政治学
作者
Ning Ding,Xue-Chuan Lv,Qiaosen Wang,Yulin Chen,Ligang Wu,Zhiyuan Liu,Maosong Sun
标识
DOI:10.18653/v1/2023.emnlp-main.252
摘要

Fine-tuning pre-trained large language models in a parameter-efficient manner is widely studied for its effectiveness and efficiency. The popular method of low-rank adaptation (LoRA) offers a notable approach, hypothesizing that the adaptation process is intrinsically low-dimensional. Although LoRA has demonstrated commendable performance, it is implemented with a fixed and unalterable intrinsic rank that might not always be the ideal choice. Recognizing the need for more flexible adaptation, we extend the methodology of LoRA to an innovative approach we call sparse low-rank adaptation (SoRA) that enables dynamic adjustments to the intrinsic rank during the adaptation process. We achieve this through the incorporation of a gate unit optimized with proximal gradient method in the training stage, controlling the cardinality of rank under the sparsity of the gate. In the subsequent inference stage, we eliminate the parameter blocks corresponding to the zeroed-out ranks, to reduce each SoRA module back to a concise yet rank-optimal LoRA. Our approach strengthens the representation power of LoRA by initializing it with a higher rank, while efficiently taming a temporarily increased number of parameters via updating in a sparse way. We further introduce a sparsifying scheduler for SoRA, aiming to examine the impact of the number of non-zero parameters on the model’s memorization and generalization. Our experimental results demonstrate that SoRA can outperform other baselines even with 70% retained parameters and 70% training time.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
小葵完成签到,获得积分10
刚刚
所所应助ZXC采纳,获得10
刚刚
Criminology34应助xhxh5946采纳,获得10
刚刚
1秒前
陈年人少熬夜完成签到 ,获得积分10
1秒前
尊敬的惠发布了新的文献求助30
1秒前
2秒前
2秒前
Yianyan完成签到 ,获得积分20
2秒前
aac完成签到,获得积分10
2秒前
sss关注了科研通微信公众号
2秒前
雪松发布了新的文献求助10
2秒前
linkman发布了新的文献求助50
3秒前
Mic应助FyD采纳,获得10
3秒前
3秒前
脑洞疼应助文右三采纳,获得10
4秒前
醒醒应助懒羊羊采纳,获得10
4秒前
4秒前
4秒前
sdh7941发布了新的文献求助10
5秒前
Tobiuo发布了新的文献求助10
6秒前
tgg发布了新的文献求助10
6秒前
共享精神应助宝宝采纳,获得10
7秒前
7秒前
7秒前
文献一搜就出完成签到,获得积分10
8秒前
DQY发布了新的文献求助10
8秒前
元谷雪发布了新的文献求助10
8秒前
寻道图强应助苹果采纳,获得50
8秒前
8秒前
RA000发布了新的文献求助10
8秒前
8秒前
二狗发布了新的文献求助10
8秒前
wawoo完成签到,获得积分10
9秒前
哈哈完成签到 ,获得积分10
9秒前
11秒前
小二发布了新的文献求助10
11秒前
shiyue应助lj采纳,获得10
12秒前
啊哦发布了新的文献求助10
12秒前
嘴嘴发布了新的文献求助10
13秒前
高分求助中
2025-2031全球及中国金刚石触媒粉行业研究及十五五规划分析报告 12000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Cambridge History of China: Volume 4, Sui and T'ang China, 589–906 AD, Part Two 1000
The Composition and Relative Chronology of Dynasties 16 and 17 in Egypt 1000
Russian Foreign Policy: Change and Continuity 800
Qualitative Data Analysis with NVivo By Jenine Beekhuyzen, Pat Bazeley · 2024 800
Translanguaging in Action in English-Medium Classrooms: A Resource Book for Teachers 700
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5695408
求助须知:如何正确求助?哪些是违规求助? 5101761
关于积分的说明 15216105
捐赠科研通 4851704
什么是DOI,文献DOI怎么找? 2602676
邀请新用户注册赠送积分活动 1554320
关于科研通互助平台的介绍 1512360