基于矩阵变换的低秩适配(MTLoRA):一种受脑启发的参数高效微调方法
Matrix-Transformation Based Low-Rank Adaptation (MTLoRA): A Brain-Inspired Method for Parameter-Efficient Fine-Tuning
AI总结:
本文受大脑几何结构塑造功能的启发,提出基于矩阵变换的低秩适配方法MTLoRA,通过变换矩阵T对参数矩阵进行旋转、缩放和平移,在GLUE、DART和WebNLG等任务上取得稳定性能提升。
摘要:
基于大型预训练语言模型(LPLMs)的微调技术已被证明能够显著提升模型在多种下游任务上的性能,并有效控制LPLMs的输出行为。近期研究提出了许多基于开源LPLMs的少量参数微调方法,降低了对计算和存储资源的需求。其中,以LoRA(Low-Rank Adaptation,低秩适配)为代表的重新参数化微调方法获得了广泛关注。我们发现,尽管这些方法在许多方面表现良好,但在复杂任务适应性、性能、稳定性和算法复杂度方面仍有相当大的改进空间。针对这一问题,受大脑功能由其几何结构塑造这一思想的启发,本文将这一思想融入LoRA技术,提出了一种新的基于矩阵变换的重新参数化高效微调方法,命名为基于矩阵变换的低秩适配(Matrix-Transformation based Low-Rank Adaptation,MTLoRA)。MTLoRA旨在通过应用变换矩阵T对任务特定参数矩阵执行旋转、缩放和平移等线性变换,动态改变其空间几何结构,生成新的矩阵特征模式(特征向量),以模拟大脑中复杂几何结构特征模式对功能的基础性影响,从而提升模型在下游任务中的性能。在自然语言理解(NLU)任务中,使用GLUE基准测试进行评估,结果表明MTLoRA在八个任务上实现了约1.0%的整体性能提升;在自然语言生成(NLG)任务中,MTLoRA在DART和WebNLG任务上分别将性能平均提高了0.95%和0.56%。
英文摘要:
Fine-tuning techniques based on Large Pretrained Language Models (LPLMs) have been proven to significantly enhance model performance on a variety of downstream tasks and effectively control the output behaviors of LPLMs. Recent studies have proposed numerous methods for fine-tuning a small number of parameters based on open-source LPLMs, reducing the demand for computational and storage resources. Among these, reparameterization fine-tuning methods represented by LoRA (Low-Rank Adaptation) have gained popularity. We find that although these methods perform well in many aspects, there is still considerable room for improvement in terms of complex task adaptability, performance, stability, and algorithm complexity. In response to this, inspired by the idea that the functions of the brain are shaped by its geometric structure, this paper integrates this idea into LoRA technology and proposes a new matrix transformation-based reparameterization method for efficient fine-tuning, named Matrix-Transformation based Low-Rank Adaptation (MTLoRA). MTLoRA aims to dynamically alter its spatial geometric structure by applying a transformation-matrix T to perform linear transformations, such as rotation, scaling, and translation, on the task-specific parameter matrix, generating new matrix feature patterns (eigenvectors) to mimic the fundamental influence of complex geometric structure feature patterns in the brain on functions, thereby enhancing the model's performance in downstream tasks. In Natural Language Understanding (NLU) tasks, it is evaluated using the GLUE benchmark test, and the results reveal that MTLoRA achieves an overall performance increase of about 1.0% across eight tasks; in Natural Language Generation (NLG) tasks, MTLoRA improves performance by an average of 0.95% and 0.56% in the DART and WebNLG tasks, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。