arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.15155cs.CVcs.AIcs.MM
收藏

蒸馏视觉-语言基础模型:通过提示多样化的无数据方法

Distilling Vision-Language Foundation Models: A Data-Free Approach via Prompt Diversification

Hikvision Research Institute(海康威视研究院);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Fuzhou University(福州大学)

Yunyi Xuan, Weijie Chen, Shicai Yang, Di Xie, Luojun Lin, Yueting Zhuang

AI总结:

本文提出通过提示多样化方法,在无数据条件下将视觉-语言基础模型蒸馏为紧凑学生模型,以继承分布外泛化能力,其中对比提示效果最佳。

摘要:

无数据知识蒸馏(DFKD)在创建紧凑的学生模型方面展现出巨大潜力,同时通过合成替代数据减轻了对真实训练数据的依赖。然而,先前的方法很少在分布偏移下进行讨论,这在实际应用中可能较为脆弱。最近的视觉-语言基础模型,例如CLIP,在零样本分布外泛化方面表现出卓越性能,但消耗大量计算资源。在本文中,我们探讨了在无法访问数十亿级图像-文本数据集的情况下,将DFKD扩展到视觉-语言基础模型的问题。目标是针对给定的类别概念,为与分布无关的下游任务定制学生模型,继承预训练基础模型的分布外泛化能力。为了避免泛化退化,该任务的主要挑战在于由文本提示驱动合成多样化的替代图像。由于文本提示不仅编码了类别概念,还编码了风格信息,我们提出了三种新颖的提示多样化方法以鼓励具有多样风格的图像合成,即混合提示、随机提示和对比提示。在分布外泛化数据集上的实验证明了所提出方法的有效性,其中对比提示表现最佳。

英文摘要:

Data-Free Knowledge Distillation (DFKD) has shown great potential in creating a compact student model while alleviating the dependency on real training data by synthesizing surrogate data. However, prior arts are seldom discussed under distribution shifts, which may be vulnerable in real-world applications. Recent Vision-Language Foundation Models, e.g., CLIP, have demonstrated remarkable performance in zero-shot out-of-distribution generalization, yet consuming heavy computation resources. In this paper, we discuss the extension of DFKD to Vision-Language Foundation Models without access to the billion-level image-text datasets. The objective is to customize a student model for distribution-agnostic downstream tasks with given category concepts, inheriting the out-of-distribution generalization capability from the pre-trained foundation models. In order to avoid generalization degradation, the primary challenge of this task lies in synthesizing diverse surrogate images driven by text prompts. Since not only category concepts but also style information are encoded in text prompts, we propose three novel Prompt Diversification methods to encourage image synthesis with diverse styles, namely Mix-Prompt, Random-Prompt, and Contrastive-Prompt. Experiments on out-of-distribution generalization datasets demonstrate the effectiveness of the proposed methods, with Contrastive-Prompt performing the best.

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

↑