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.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
隐形的凝梦完成签到,获得积分10
刚刚
刚刚
JY'关闭了JY'文献求助
刚刚
shuangma完成签到,获得积分10
刚刚
电脑桌发布了新的文献求助10
刚刚
暴龙战士完成签到,获得积分10
1秒前
ayayaya发布了新的文献求助10
2秒前
aaaa完成签到,获得积分10
2秒前
Yatsennnn发布了新的文献求助10
3秒前
平生发布了新的文献求助10
3秒前
欲目发布了新的文献求助10
3秒前
3秒前
yang_keai完成签到,获得积分10
4秒前
lin驳回了wendy应助
4秒前
李婉辰完成签到 ,获得积分10
4秒前
4秒前
4秒前
希望天下0贩的0应助H哈采纳,获得10
5秒前
所所应助ydoyate采纳,获得10
5秒前
5秒前
5秒前
三生石发布了新的文献求助30
5秒前
Yzz完成签到,获得积分10
5秒前
stt完成签到 ,获得积分10
5秒前
记录者完成签到,获得积分10
6秒前
6秒前
LI电池发布了新的文献求助10
6秒前
咖宁宁完成签到,获得积分10
6秒前
rongyiming完成签到,获得积分10
7秒前
给好评发布了新的文献求助10
7秒前
123完成签到,获得积分10
7秒前
敏感的莆完成签到,获得积分10
8秒前
Yatsennnn完成签到,获得积分10
8秒前
9秒前
話膤发布了新的文献求助10
9秒前
电脑桌完成签到,获得积分10
9秒前
小马甲应助yang_keai采纳,获得10
9秒前
梦月完成签到,获得积分10
9秒前
10秒前
10秒前
高分求助中
【提示信息,请勿应助】关于scihub 10000
The Mother of All Tableaux: Order, Equivalence, and Geometry in the Large-scale Structure of Optimality Theory 3000
Social Research Methods (4th Edition) by Maggie Walter (2019) 2390
A new approach to the extrapolation of accelerated life test data 1000
北师大毕业论文 基于可调谐半导体激光吸收光谱技术泄漏气体检测系统的研究 390
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 370
Robot-supported joining of reinforcement textiles with one-sided sewing heads 360
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 4009167
求助须知:如何正确求助?哪些是违规求助? 3549013
关于积分的说明 11300491
捐赠科研通 3283494
什么是DOI,文献DOI怎么找? 1810370
邀请新用户注册赠送积分活动 886146
科研通“疑难数据库(出版商)”最低求助积分说明 811259