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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Jiangmeng, Mo, Wenyi, Qiang, Wenwen, Su, Bing, Zheng, Changwen, Xiong, Hui, Wen, Ji-Rong
Format: Preprint
Published: 2022
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916172504498176
author Li, Jiangmeng
Mo, Wenyi
Qiang, Wenwen
Su, Bing
Zheng, Changwen
Xiong, Hui
Wen, Ji-Rong
author_facet Li, Jiangmeng
Mo, Wenyi
Qiang, Wenwen
Su, Bing
Zheng, Changwen
Xiong, Hui
Wen, Ji-Rong
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2205_11100
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Supporting Vision-Language Model Inference with Confounder-pruning Knowledge Prompt
Li, Jiangmeng
Mo, Wenyi
Qiang, Wenwen
Su, Bing
Zheng, Changwen
Xiong, Hui
Wen, Ji-Rong
Computer Vision and Pattern Recognition
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.
title Supporting Vision-Language Model Inference with Confounder-pruning Knowledge Prompt
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2205.11100