arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.22952cs.CVcs.AI
收藏

基于Householder变换的预训练视觉Transformer高效适配

Efficient Adaptation of Pre-trained Vision Transformer via Householder Transformation

College of Information and Control Engineering, Xi’an University of Architecture and Technology(西安建筑科技大学信息与控制工程学院);School of Computer Science, Northwestern Polytechnical University(西北工业大学计算机学院);School of Computer Science and Engineering, University of Electronic Science and Technology of China(电子科技大学计算机科学与工程学院);School of Computer Science and Technology, Tongji University(同济大学计算机科学与技术学院)

Wei Dong, Yuan Sun, Yiting Yang, Xing Zhang, Zhijun Lin, Qingsen Yan, Haokui Zhang, Peng Wang, Yang Yang, Hengtao Shen

AI总结:

针对现有低秩参数高效微调方法固定瓶颈维度、灵活性不足的问题,提出基于Householder变换的新型PEFT方法,可逐层学习适配矩阵对角值、实现不同层变秩适配,在标准视觉下游任务上取得可观微调性能。

摘要:

预训练视觉Transformer(ViTs)的参数高效微调(PEFT)常用策略是通过学习低秩适配矩阵使模型适配下游任务。该矩阵被分解为下投影矩阵与上投影矩阵的乘积,瓶颈维度对减少可学习参数数量至关重要,主流方法如LoRA和Adapter便是例证。然而,这些低秩策略通常采用固定的瓶颈维度,限制了其处理层间差异的灵活性。为解决这一局限,我们受奇异值分解(SVD)启发提出一种新型PEFT方法来表示适配矩阵。SVD将矩阵分解为左酉矩阵、缩放值对角矩阵和右酉矩阵的乘积。我们利用Householder变换构造正交矩阵,仅需一个向量即可高效模拟酉矩阵。对角值以逐层方式学习,使其能够灵活捕捉每一层的独特属性。该方法可生成不同层间秩数各异的适配矩阵,为预训练模型适配提供了更大灵活性。在标准下游视觉任务上的实验表明,我们的方法取得了可观的微调性能。

英文摘要:

A common strategy for Parameter-Efficient Fine-Tuning (PEFT) of pre-trained Vision Transformers (ViTs) involves adapting the model to downstream tasks by learning a low-rank adaptation matrix. This matrix is decomposed into a product of down-projection and up-projection matrices, with the bottleneck dimensionality being crucial for reducing the number of learnable parameters, as exemplified by prevalent methods like LoRA and Adapter. However, these low-rank strategies typically employ a fixed bottleneck dimensionality, which limits their flexibility in handling layer-wise variations. To address this limitation, we propose a novel PEFT approach inspired by Singular Value Decomposition (SVD) for representing the adaptation matrix. SVD decomposes a matrix into the product of a left unitary matrix, a diagonal matrix of scaling values, and a right unitary matrix. We utilize Householder transformations to construct orthogonal matrices that efficiently mimic the unitary matrices, requiring only a vector. The diagonal values are learned in a layer-wise manner, allowing them to flexibly capture the unique properties of each layer. This approach enables the generation of adaptation matrices with varying ranks across different layers, providing greater flexibility in adapting pre-trained models. Experiments on standard downstream vision tasks demonstrate that our method achieves promising fine-tuning performance.

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

↑