arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.16916cs.CV
收藏

Res-Attn:一种带有轻量级注意力机制的增强型Res-Tuning方法

Res-Attn : An Enhanced Res-Tuning Approach with Lightweight Attention Mechanism

Alibaba Group(阿里巴巴集团)

Chaojie Mao, Zeyinzi Jiang

AI总结:

Res-Attn提出一种带低秩注意力的轻量级调优器,遵循Res-Tuning框架,通过并行多头注意力与低秩投影实现高效适应,在判别与生成任务上优于现有方法。

摘要:

Res-Tuning引入了一种灵活且高效的模型调优范式,表明从骨干网络中解耦出来的调优器(tuner)能够达到与传统方法相当的性能。现有方法通常将调优器构建为一组可训练的低秩分解矩阵,认为低秩子空间足以使预训练的基础模型适应新场景。在本工作中,我们提出了一种先进的、高效的、带有低秩注意力的调优器,称为Res-Attn,它也遵循Res-Tuning框架。Res-Attn利用一个并行的多头注意力模块,该模块配备了对查询(query)、键(key)和值(value)的低秩投影,以执行精简的注意力操作。通过训练这个轻量级注意力模块,Res-Attn促进了对新场景的适应。我们在广泛的判别性和生成性任务上进行了大量实验,展示了我们的方法相较于现有替代方案的优越性能。

英文摘要:

Res-Tuning introduces a flexible and efficient paradigm for model tuning, showing that tuners decoupled from the backbone network can achieve performance comparable to traditional methods. Existing methods commonly construct the tuner as a set of trainable low-rank decomposition matrices, positing that a low-rank subspace suffices for adapting pre-trained foundational models to new scenarios. In this work, we present an advanced, efficient tuner augmented with low-rank attention, termed Res-Attn , which also adheres to the Res-Tuning framework. Res-Attn utilizes a parallel multi-head attention module equipped with low-rank projections for query, key, and value to execute streamlined attention operations. Through training this lightweight attention module, Res-Attn facilitates adaptation to new scenarios. Our extensive experiments across a range of discriminative and generative tasks showcase the superior performance of our method when compared to existing alternatives

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

↑