arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.02630cs.LGcs.CL
收藏

HyperAdaLoRA: 通过超网络在训练过程中加速LoRA秩分配而不牺牲性能

HyperAdaLoRA: Accelerating LoRA Rank Allocation During Training via Hypernetworks without Sacrificing Performance

Harvard University(哈佛大学);University of Chinese Academy of Sciences(中国科学院大学);Fudan University(复旦大学);University of Chicago(芝加哥大学);University of Alabama at Birmingham(阿拉巴马大学伯明翰分校);South China Normal University(华南师范大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Shanghai University of Engineering Science(上海工程技术大学)

Hao Zhang, Zhenjia Li, Runfeng Bao, Yifan Gao, Xi Xiao, Heng Zhang, Shuyang Zhang, Bo Huang, Yuhang Wu, Tianyang Wang, Hao Xu

AI总结:

HyperAdaLoRA通过超网络实现训练过程中LoRA秩分配的加速,提升收敛速度同时保持性能

摘要:

参数高效微调(PEFT),特别是低秩适应(LoRA),已成为一种有前景的方法,用于在减少计算和内存开销的同时微调大型语言模型(LLMs)。然而,LoRA假设每个增量矩阵都有一个统一的秩r,没有考虑到不同模块和层中权重矩阵的重要性变化。AdaLoRA利用奇异值分解(SVD)来参数化更新,并利用奇异值的剪枝来引入动态秩分配,从而提高适应性。然而,在训练过程中,它常常遇到收敛速度慢和计算开销大的问题。为了解决这个问题,我们提出了HyperAdaLoRA,这是一个新的框架,通过利用超网络来加速AdaLoRA的收敛。HyperAdaLoRA基于注意力机制构建超网络,动态生成这些参数,而不是直接优化奇异值分解(P,Λ,Q)的组件。通过剪枝生成奇异值的超网络输出,实现了动态秩分配。在各种数据集和模型上的全面实验表明,我们的方法在不牺牲性能的情况下实现了更快的收敛。此外,对其他LoRA基于方法的进一步扩展实验验证了我们方法的广泛适用性。

英文摘要:

Parameter-Efficient Fine-Tuning (PEFT), especially Low-Rank Adaptation (LoRA), has emerged as a promising approach to fine-tuning large language models(LLMs) while reducing computational and memory overhead. However, LoRA assumes a uniform rank \textit{r} for each incremental matrix, not accounting for the varying significance of weight matrices across different modules and layers. AdaLoRA leverages Singular Value Decomposition (SVD) to parameterize updates and employs pruning of singular values to introduce dynamic rank allocation, thereby enhancing adaptability. However, during the training process, it often encounters issues of slow convergence speed and high computational overhead. To address this issue, we propose HyperAdaLoRA, a novel framework that accelerates the convergence of AdaLoRA by leveraging a hypernetwork. Instead of directly optimizing the components of Singular Value Decomposition $(P, Λ, Q)$, HyperAdaLoRA employs a hypernetwork based on attention mechanisms to dynamically generate these parameters. By pruning the outputs of the hypernetwork that generates the singular values, dynamic rank allocation is achieved. Comprehensive experiments on various datasets and models demonstrate that our method achieves faster convergence without sacrificing performance. Additionally, further extension experiments on other LoRA-based approaches validate the broad applicability of our method.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑