arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.17740cs.LGcs.AIcs.CV
收藏

结构化无限制秩矩阵用于参数高效微调

Structured Unrestricted-Rank Matrices for Parameter Efficient Fine-tuning

Google DeepMind(谷歌DeepMind);UNC Chapel Hill(北卡罗来纳大学教堂山分校);Google Research(谷歌研究院);Columbia University(哥伦比亚大学)

Arijit Sehanobish, Avinava Dubey, Krzysztof Choromanski, Somnath Basu Roy Chowdhury, Deepali Jain, Vikas Sindhwani, Snigdha Chaturvedi

AI总结:

提出基于结构化无限制秩矩阵(SURM)的通用参数高效微调框架,替代LoRA和Adapters,在图像分类上提升5-7%准确率,并在GLUE上减少12倍参数。

摘要:

近期扩展Transformer模型的努力已在广泛任务中展现出快速进展(Wei等人,2022)。然而,由于这些模型参数数量庞大,针对下游任务的微调成本高昂。参数高效微调(PEFT)方法通过仅更新少量参数来微调模型,已成为一种可行的替代方案。在这项工作中,我们提出了一种基于结构化无限制秩矩阵(SURM)的参数高效微调(PEFT)通用框架,该框架可作为Adapters和LoRA等流行方法的即插即用替代品。与其他方法(如LoRA)不同,SURM在寻找紧凑性与表达性之间的恰当平衡方面提供了更大的灵活性。这是通过使用低位移秩矩阵(LDRMs)实现的,而此类矩阵此前尚未在此场景中使用。SURM与基线方法相比保持竞争力,通常在使用更小参数预算的情况下带来显著的质量提升。在多种图像分类任务中,SURM在替换LoRA中的低秩矩阵时实现了5-7%的准确率提升。此外,在GLUE基准上,SURM使Adapters的参数数量减少了多达12倍(且质量几乎无损)。

英文摘要:

Recent efforts to scale Transformer models have demonstrated rapid progress across a wide range of tasks (Wei et al., 2022). However, fine-tuning these models for downstream tasks is expensive due to their large parameter counts. Parameter-efficient fine-tuning (PEFT) approaches have emerged as a viable alternative by allowing us to fine-tune models by updating only a small number of parameters. In this work, we propose a general framework for parameter efficient fine-tuning (PEFT), based on structured unrestricted-rank matrices (SURM) which can serve as a drop-in replacement for popular approaches such as Adapters and LoRA. Unlike other methods like LoRA, SURMs provides more flexibility in finding the right balance between compactness and expressiveness. This is achieved by using low displacement rank matrices (LDRMs), which hasn't been used in this context before. SURMs remain competitive with baselines, often providing significant quality improvements while using a smaller parameter budget. SURMs achieve 5-7% accuracy gains on various image classification tasks while replacing low-rank matrices in LoRA. It also results in up to 12x reduction of the number of parameters in adapters (with virtually no loss in quality) on the GLUE benchmark.

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

↑