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

Coeff-Tuning:一种用于调优基于注意力的大模型的图滤波器子空间视角

Coeff-Tuning: A Graph Filter Subspace View for Tuning Attention-Based Large Models

Purdue University(普渡大学)

Zichen Miao, Wei Chen, Qiang Qiu

AI总结:

本研究从图卷积子空间视角出发,提出Coeff-Tuning参数高效微调方法,通过学习少量组合系数优化多头注意力滤波器子空间,结合残差参数化与系数dropout,以极少量参数实现了优于现有PEFT基线的性能。

摘要:

基于Transformer的大型预训练模型已展现出卓越的泛化能力,研究人员已提出多种参数高效微调(PEFT)方法,以最小的计算和内存开销在下游任务上定制这些模型。以往的PEFT方法主要从张量分解视角设计,试图通过找到最小的待训练参数子集来有效调优线性变换。本研究采用一种正交视角,将注意力操作表示为图卷积,并将多头注意力图构建为卷积滤波器子空间,其中每个注意力图对应一个子空间元素。本文提出通过学习少量组合系数来调优大型预训练Transformer,这些系数可从原始多头注意力图构建出表达能力更强的滤波器子空间。我们通过理论分析和实验证明,调优后的滤波器子空间能有效扩展多头注意力的特征空间,进一步提升Transformer的容量。我们还通过对可调子空间系数采用残差参数化来稳定微调过程,并在训练时直接对可调系数施加dropout,通过正则化设计增强模型泛化能力。这些可调系数仅占极少参数,且能以即插即用的方式与现有PEFT方法结合。大量实验表明,我们的方法在仅增加可忽略不计的额外参数的情况下,性能优于现有PEFT基线方法。

英文摘要:

Transformer-based large pre-trained models have shown remarkable generalization ability, and various parameter-efficient fine-tuning (PEFT) methods have been proposed to customize these models on downstream tasks with minimal computational and memory budgets. Previous PEFT methods are primarily designed from a tensor-decomposition perspective that tries to effectively tune the linear transformation by finding the smallest subset of parameters to train. Our study adopts an orthogonal view by representing the attention operation as a graph convolution and formulating the multi-head attention maps as a convolutional filter subspace, with each attention map as a subspace element. In this paper, we propose to tune the large pre-trained transformers by learning a small set of combination coefficients that construct a more expressive filter subspace from the original multi-head attention maps. We show analytically and experimentally that the tuned filter subspace can effectively expand the feature space of the multi-head attention and further enhance the capacity of transformers. We further stabilize the fine-tuning with a residual parameterization of the tunable subspace coefficients, and enhance the generalization with a regularization design by directly applying dropout on the tunable coefficient during training. The tunable coefficients take a tiny number of parameters and can be combined with previous PEFT methods in a plug-and-play manner. Extensive experiments show that our approach achieves superior performances than PEFT baselines with neglectable additional parameters.

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

↑