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

视觉-语言模型的动态秩自适应

Dynamic Rank Adaptation for Vision-Language Models

Anhui University(安徽大学)

Jiahui Wang, Qin Xu, Bo Jiang, Bin Luo

AI总结:

针对视觉-语言模型微调中泛化能力下降的问题,提出动态秩自适应方法,根据特征重要性动态分配适配秩并设计通道响应机制,显著提升新类别泛化性能。

摘要:

预训练的大规模视觉-语言模型(如CLIP)展现出令人印象深刻的泛化能力。现有的基于提示和基于适配器的工作在微调视觉-语言模型方面取得了显著进展,但仍面临保持强大泛化能力的挑战,尤其是在面对未见的新类别时。这一局限性部分源于这些方法平等地对待图像和文本编码器的所有令牌,这可能导致对信息量较少的特征(如背景噪声、模板词)过拟合,并损害对新颖概念识别至关重要的通用表示。为解决这一问题,我们提出了动态秩自适应(DRA),一种新颖的适配器变体方法,专门用于增强新类别的泛化能力。DRA在训练过程中根据特征的重要性动态分配自适应秩,以保留通用知识。DRA首先采用令牌重要性分组,利用序列注意力评估令牌并按重要性对其进行分组。然后,我们根据每个令牌组的重要性动态地采用秩自适应,通过为更重要的令牌分配更高的特征秩。此外,我们设计了一种新的通道响应机制,以优先保留和自适应每个实例中识别为最具信息量的特征通道。同时,引入L1正则化项以稳定训练过程。大量实验证明了我们提出的DRA相对于现有工作的有效性和优越性,尤其是在各种基准上提升新类别的性能,包括基-新类别、跨数据集评估和领域泛化。源代码将在论文接收后发布。

英文摘要:

Pre-trained large vision-language models (VLMs) like CLIP demonstrate impressive generalization ability. Existing prompt-based and adapter-based works have made significant progress in fine-tuning VLMs but still face the challenges of maintaining strong generalization abilities, particularly towards unseen new classes. This limitation partly arises from these methods treating all tokens of the image and text encoder equally, which can lead to overfitting on less informative features (e.g., background noise, template words) and degrade the general representations that are crucial for novel concept recognition. To address this issue, we propose Dynamic Rank Adaptation (DRA), a novel adapter variant method, designed specifically to enhance new class generalization. DRA dynamically allocates adaptation ranks based on the importance of features during training to preserve general knowledge. DRA first employs token importance grouping, using sequence attention to evaluate and group tokens by their importance. Then, we adopt rank adaptation according to the importance of each token group dynamically by assigning higher feature ranks to the more important tokens. Also, we design a new channel response mechanism to prioritize the preservation and adaptation of feature channels identified as the most informative for each instance. In addition, a L1 regularization term is introduced to stabilize the training. Extensive experiments demonstrate the effectiveness and superiority of our proposed DRA over existing works, especially on enhancing the performance of new classes on various benchmarks, including base-new classes, cross-datasets evaluation and domain generalization. The source code will be published after the paper is received.

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

↑