Exploring Effective Factors for Improving Visual In-Context Learning
Yanpeng Sun Affiliation: Baidu VIS Affiliation: School of Computer Science and Engineering, Nanjing University of Science and Technology Qiang Chen Affiliation: Baidu VIS Xiaofan Li Affiliation: Baidu VIS Jian Wang Affiliation: Baidu VIS Jingdong Wang Affiliation: Baidu VIS Zechao Li Thanks: Corresponding author. Affiliation: School of Computer Science and Engineering, Nanjing University of Science and Technology
Abstract
The In-Context Learning (ICL) is to understand a new task via a few demonstrations (aka. prompt) and predict new inputs without tuning the models. While it has been widely studied in NLP, it is still a relatively new area of research in computer vision. To reveal the factors influencing the performance of visual in-context learning, this paper shows that prompt selection and prompt fusion are two major factors that have a direct impact on the inference performance of visual context learning. Prompt selection is the process of identifying the most appropriate prompt or example to help the model understand new tasks. This is important because providing the model with relevant prompts can help it learn more effectively and efficiently. Prompt fusion involves combining knowledge from different positions within the large-scale visual model. By doing this, the model can leverage the diverse knowledge stored in different parts of the model to improve its performance on new tasks. Based these findings, we propose a simple framework prompt-SelF for visual in-context learning. Specifically, we first use the pixel-level retrieval method to select a suitable prompt, and then use different prom
原文 arXiv:2304.04748;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2304.04748v2