MatryoshkaLoRA: Learning Accurate Hierarchical Low-Rank Representations for LLM Fine-Tuning

作者
Ionuț-Vlad Modoranu,Mher Safaryan,Dan Alistarh
出处
期刊:Cornell University - arXiv [Cornell University]
标识
DOI:10.48550/arxiv.2605.07850
摘要

With the rise in scale for deep learning models to billions of parameters, the computational cost of fine-tuning remains a significant barrier to deployment. While Low-Rank Adaptation (LoRA) has become the standard for parameter-efficient fine-tuning, the need to set a predefined, static rank $r$ requires exhaustive grid searches to balance efficiency and performance. Existing rank-adaptive solutions such as DyLoRA mitigate this by sampling ranks during the training from a predefined distribution. However, they often yield sub-optimal results at higher ranks due to lack of consistent gradient signals across the full hierarchy of ranks, thus making these methods data-inefficient. In this paper, we propose MatryoshkaLoRA, a general, Matryoshka-inspired training framework for LoRA that learns accurate hierarchical low-rank representations by inserting a fixed, carefully crafted diagonal matrix $P$ between the existing LoRA adapters to scale their sub-ranks accordingly. By introducing this simple modification, our general framework recovers LoRA and DyLoRA only by changing $P$ and ensures all sub-ranks embed the available gradient information efficiently. Our MatryoshkaLoRA supports dynamic rank selection with minimal degradation in accuracy. We further propose Area Under the Rank Accuracy Curve (AURAC), a metric that consistently evaluates the performance of hierarchical low-rank adapters. Our results demonstrate that MatryoshkaLoRA learns more accurate hierarchical low-rank representations than prior rank-adaptive approaches and achieves superior accuracy-performance trade-offs across ranks on the evaluated datasets. Our code is available at https://github.com/IST-DASLab/MatryoshkaLoRA.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
awen完成签到,获得积分10
刚刚
1秒前
看到我请叫我去学习完成签到,获得积分10
1秒前
1秒前
努力变得幸运完成签到,获得积分10
1秒前
1秒前
小萌新完成签到,获得积分10
1秒前
2秒前
nidiedeer关注了科研通微信公众号
2秒前
枫叶人生完成签到,获得积分10
2秒前
2秒前
3秒前
玛雅太阳神完成签到,获得积分10
3秒前
执着的一兰完成签到,获得积分10
5秒前
5秒前
5秒前
5秒前
甜橙完成签到 ,获得积分10
5秒前
无殇完成签到,获得积分10
5秒前
6秒前
6秒前
黃偉倫完成签到,获得积分10
6秒前
7秒前
猕猴香精桃完成签到,获得积分10
7秒前
蜜蜂完成签到,获得积分10
7秒前
馒头发布了新的文献求助10
7秒前
7秒前
8秒前
雨中的纸飞机完成签到 ,获得积分10
8秒前
9秒前
咖灰元元发布了新的文献求助10
9秒前
9秒前
9秒前
有机小鸟完成签到,获得积分10
9秒前
RainsClear发布了新的文献求助10
10秒前
不解释发布了新的文献求助10
10秒前
10秒前
Cecilia1006发布了新的文献求助10
10秒前
123发布了新的文献求助10
10秒前
赘婿的应助被zzzzzzzzz采纳,获得10
10秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
IRTSD: Open-Source Data and Toolset for Electromagnetic Transient Analysis of Disturbances and IBR Control Malfunctions in Transmission Systems 1000
Les Mots du discours 600
A Consideration on Use of Material Grades for Hull Structural Members Based on Fracture Toughness(Second Report) 500
AI Disclosure in Annual Reports: Evolution, Determinants, and Capital Market Participants’ Perceptions 500
5th World Conference on Detergents: Reinventing the Industry : Opportunities and Challenges 500
Erzählte Gnade 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8110608
求助须知:如何正确求助?哪些是违规求助? 9517942
关于积分的说明 21516169
捐赠科研通 7688222
什么是DOI,文献DOI怎么找? 3411877
关于科研通互助平台的介绍 2538772
邀请新用户注册赠送积分活动 2451560