Coeff-Tuning: A Graph Filter Subspace View for Tuning Attention-Based Large Models
Zichen Miao, Wei Chen, Qiang Qiu
TL;DR
Coeff-Tuning reframes multi-head attention as a graph-filter subspace and learns a compact coefficient matrix $\boldsymbol{\alpha} \in \mathbb{R}^{H\times H}$ to linearly combine head filters $\mathbf{F}^i(\mathbf{X})$, expanding the expressive capacity beyond the convex hull of value embeddings. The method employs a residual parameterization $\boldsymbol{\alpha}'=\boldsymbol{\alpha}+\mathbf{I}$ and regularizes training with dropout on $\boldsymbol{\alpha}$, enabling stable, plug-and-play integration with existing PEFT approaches like LoRA. The authors provide theoretical insights that the original filter subspace yields bounded outputs, while the learned subspace enlarges the reachable output set, supported by toy demonstrations and complexity analyses. Empirically, Coeff-Tuning yields superior performance across few-shot ViT classification, personalized text-to-image generation, and multi-task image-text understanding, with minimal parameter overhead and strong compatibility with other PEFT methods.
Abstract
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.
