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

利用混淆因子修剪知识提示支持视觉-语言模型推理

Supporting Vision-Language Model Inference with Confounder-pruning Knowledge Prompt

University of Chinese Academy of Sciences(中国科学院大学);Institute of Software Chinese Academy of Sciences(中国科学院软件研究所);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Jiangmeng Li, Wenyi Mo, Wenwen Qiang, Bing Su, Changwen Zheng, Hui Xiong, Ji-Rong Wen

AI总结:

本文提出语义感知提示学习方法CPKP,通过检索知识图谱提取语义信息并利用双层混淆因子修剪机制精炼信息,有效提升了视觉-语言模型在少样本设置和域泛化上的推理性能。

摘要:

视觉-语言模型通过在公共空间中对齐图文对进行预训练,以处理开放集视觉概念。为提升预训练模型的迁移性,近期研究采用固定或可学习的提示,即从描述任务相关类别的自然语言中合成分类权重,以缩小训练与测试阶段任务间的差距。然而,提示如何及为何能提升推理性能仍不清晰。本文明确阐明了在提示中包含语义信息的重要性,而现有提示方法在生成提示时并未探索文本标签的语义信息。手动构建具有丰富语义的提示需要领域专业知识且极其耗时。为解决此问题,我们提出一种语义感知的提示学习方法,即CPKP,该方法将文本标签视为查询来检索本体知识图谱,以提取与任务相关的语义信息。CPKP进一步引入双层混淆因子修剪过程来精炼提取的语义信息。受Granger因果性原则启发,图谱层混淆因子被逐步识别并剔除。遵循信息论中的最大熵原理,特征层混淆因子被消除。实验验证了CPKP的有效性,例如,在两次样本设置下,CPKP平均比手动提示方法高4.64%,比可学习提示方法高1.09%,且在域泛化上优于基准方法。代码见 https://github.com/Mowenyii/CPKP。

英文摘要:

Vision-language models are pre-trained by aligning image-text pairs in a common space to deal with open-set visual concepts. To boost the transferability of the pre-trained models, recent works adopt fixed or learnable prompts, i.e., classification weights are synthesized from natural language describing task-relevant categories, to reduce the gap between tasks in the training and test phases. However, how and what prompts can improve inference performance remains unclear. In this paper, we explicitly clarify the importance of including semantic information in prompts, while existing prompting methods generate prompts without exploring the semantic information of textual labels. Manually constructing prompts with rich semantics requires domain expertise and is extremely time-consuming. To cope with this issue, we propose a semantic-aware prompt learning method, namely CPKP, which retrieves an ontological knowledge graph by treating the textual label as a query to extract task-relevant semantic information. CPKP further introduces a double-tier confounder-pruning procedure to refine the derived semantic information. The graph-tier confounders are gradually identified and phased out, inspired by the principle of Granger causality. The feature-tier confounders are demolished by following the maximum entropy principle in information theory. Empirically, the evaluations demonstrate the effectiveness of CPKP, e.g., with two shots, CPKP outperforms the manual-prompt method by 4.64% and the learnable-prompt method by 1.09% on average, and the superiority of CPKP in domain generalization compared to benchmark approaches. Our implementation is available at https://github.com/Mowenyii/CPKP.

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

↑