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

LoTR:低张量秩权重自适应

LoTR: Low Tensor Rank Weight Adaptation

AI Center, Skoltech(斯科尔科沃科学技术学院人工智能中心);AIRI(人工智能研究所)

Daniel Bershatsky, Daria Cherniuk, Talgat Daulbaev, Aleksandr Mikhalev, Ivan Oseledets

AI总结:

本文提出LoTR方法,通过张量分解表示梯度更新并跨层共享乘数,实现比LoRA更优的参数效率,尤其适用于深层模型,且核心张量可任意小,支持低成本快速微调。

摘要:

本文我们推广并扩展了基于Transformer架构的大语言模型(LLMs)低秩自适应(LoRA)的思想。广泛使用的类似LoRA的LLM微调方法基于梯度更新的矩阵分解。我们引入LoTR,一种用于LLM参数高效微调的新方法,该方法将参数梯度更新表示为张量分解的形式。每层的低秩适配器由三个矩阵的乘积构成,张量结构源于在各层之间共享该乘积的左、右乘数。通过低秩张量表示对一系列层进行同时压缩,LoTR能够实现比LoRA更好的参数效率,尤其是对于深层模型。此外,核心张量不依赖于原始权重维度,可以任意小,这使得下游微调极其廉价且快速。

英文摘要:

In this paper we generalize and extend an idea of low-rank adaptation (LoRA) of large language models (LLMs) based on Transformer architecture. Widely used LoRA-like methods of fine-tuning LLMs are based on matrix factorization of gradient update. We introduce LoTR, a novel approach for parameter-efficient fine-tuning of LLMs which represents a gradient update to parameters in a form of tensor decomposition. Low-rank adapter for each layer is constructed as a product of three matrices, and tensor structure arises from sharing left and right multipliers of this product among layers. Simultaneous compression of a sequence of layers with low-rank tensor representation allows LoTR to archive even better parameter efficiency then LoRA especially for deep models. Moreover, the core tensor does not depend on original weight dimension and can be made arbitrary small, which allows for extremely cheap and fast downstream fine-tuning.

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

↑