用预生成描述知识提升视觉语言模型少样本适应能力
Auxiliary Descriptive Knowledge for Few-Shot Adaptation of Vision-Language Model
- 用大模型离线生成每类的丰富描述,避免推理时计算开销
- 结合整体语义表示和动态选择描述,显著提升分类准确率
- 无需参数修改,可无缝接入现有少样本微调方法
尽管视觉语言模型(VLM)具备出色的零样本能力,但在下游任务中面对预训练数据分布偏移时表现不佳。少样本适应(FSA-VLM)通过参数高效微调(PEFT)在少量数据下进行适配,但受限于固定的人工提示词,难以充分理解类别语义。部分研究尝试使用图像生成提示提供额外线索,但带来高昂的推理开销。为此,我们提出辅助描述知识(ADK),一种高效增强文本表征的新框架。ADK首先利用大语言模型离线为每类生成丰富描述,再以两种方式部署:(1) 组合知识,即平均表示,提供丰富语义,尤其适用于模型不熟悉或名称模糊的类别;(2) 实例特定知识,通过轻量级非参数注意力机制动态选择最相关描述。该方法在不增加参数的前提下,为模型提供两类新知识,显著提升跨领域类别区分能力。实验表明,ADK可稳定提升多个PEFT基线性能,达成多种场景下的新最优结果。
原文摘要 · Abstract (English)
Despite the impressive zero-shot capabilities of Vision-Language Models (VLMs), they often struggle in downstream tasks with distribution shifts from the pre-training data. Few-Shot Adaptation (FSA-VLM) has emerged as a key solution, typically using Parameter-Efficient Fine-Tuning (PEFT) to adapt models with minimal data. However, these PEFT methods are constrained by their reliance on fixed, handcrafted prompts, which are often insufficient to understand the semantics of classes. While some studies have proposed leveraging image-induced prompts to provide additional clues for classification, they introduce prohibitive computational overhead at inference. Therefore, we introduce Auxiliary Descriptive Knowledge (ADK), a novel framework that efficiently enriches text representations without compromising efficiency. ADK first leverages a Large Language Model to generate a rich set of descriptive prompts for each class offline. These pre-computed features are then deployed in two ways: (1) as Compositional Knowledge, an averaged representation that provides rich semantics, especially beneficial when class names are ambiguous or unfamiliar to the VLM; and (2) as Instance-Specific Knowledge, where a lightweight, non-parametric attention mechanism dynamically selects the most relevant descriptions for a given image. This approach provides two additional types of knowledge alongside the handcrafted prompt, thereby facilitating category distinction across various domains. Also, ADK acts as a parameter-free, plug-and-play component that enhances existing PEFT methods. Extensive experiments demonstrate that ADK consistently boosts the performance of multiple PEFT baselines, setting a new state-of-the-art across various scenarios.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。