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

通过提示集成保留并增强视觉-语言模型中的预训练知识

Retaining and Enhancing Pre-trained Knowledge in Vision-Language Models with Prompt Ensembling

Graduate School of Data Science, Seoul National University(首尔国立大学数据科学研究生院);Nota Inc.(Nota公司)

Donggeun Kim, Yujin Jo, Myungjoo Lee, Taesup Kim

AI总结:

针对 CLIP 融入领域知识时易丧失零样本能力的问题,提出 GPE 提示集成方法,通过掩码注意力分组、辅助提示和知识融合提升适应性、鲁棒性与迁移性能。

摘要:

视觉-语言模型的发展,尤其是 Contrastive Language-Image Pre-training(CLIP)模型,已经通过提供强大的零样本学习能力而革新了机器学习领域。这些能力使模型能够在不进行特定任务训练的情况下理解并响应此前未见过的数据。然而,在调整 CLIP 以整合来自各个领域的专业知识,同时保留其零样本能力方面,仍然存在重大挑战。为解决这一问题,我们提出了一种名为 Group-wise Prompt Ensemble(GPE)的新型提示集成学习方法。该方法旨在通过纳入新的领域知识来增强 CLIP 的零样本能力,同时提高其适应性和对数据分布偏移的鲁棒性。我们的方法依赖于三项主要策略:采用带掩码注意力的提示分组,以在保护 CLIP 零样本能力的同时优化其适应性;引入辅助提示,以便在不干扰原始模型表示的情况下无缝整合新的领域洞见;以及采用集成学习策略,有效融合原始知识与新知识。通过严格实验,包括更具挑战性的跨数据集迁移评估,我们的 GPE 方法重新定义了视觉-语言模型在适应性和效率方面的基准,并在多种场景中超越了现有模型。

英文摘要:

The advancement of vision-language models, particularly the Contrastive Language-Image Pre-training (CLIP) model, has revolutionized the field of machine learning by enabling robust zero-shot learning capabilities. These capabilities allow models to understand and respond to previously unseen data without task-specific training. However, adapting CLIP to integrate specialized knowledge from various domains while retaining its zero-shot capabilities remains a significant challenge. To address this, we introduce a novel prompt ensemble learning approach called Group-wise Prompt Ensemble (GPE). This method aims to enhance CLIP's zero-shot capabilities by incorporating new domain knowledge while improving its adaptability and robustness against data distribution shifts. Our approach hinges on three main strategies: prompt grouping with masked attention to optimize CLIP's adaptability while safeguarding its zero-shot capabilities; the incorporation of auxiliary prompts for the seamless integration of new domain insights without disrupting the original model's representation; and an ensemble learning strategy that effectively merges original and new knowledge. Through rigorous experimentation, including more challenging cross-dataset transfer evaluations, our GPE method redefines the benchmarks for the adaptability and efficiency of vision-language models, surpassing existing models across various scenarios.

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

↑