We revisit and advance visual prompting (VP), an input prompting technique for vision tasks. VP can reprogram a fixed, pre-trained source model to accomplish downstream tasks in the target domain by simply incorporating universal prompts (in terms of input perturbation patterns) into downstream data points. Yet, it remains elusive why VP stays effective even given a ruleless label mapping (LM) between the source classes and the target classes. Inspired by the above, we ask: How is LM interrelated with VP? And how to exploit such a relationship to improve its accuracy on target tasks? We peer into the influence of LM on VP and provide an affirmative answer that a better 'quality' of LM (assessed by mapping precision and explanation) can consistently improve the effectiveness of VP. This is in contrast to the prior art where the factor of LM was missing. To optimize LM, we propose a new VP framework, termed ILM-VP (iterative label mapping-based visual prompting), which automatically re-maps the source labels to the target labels and progressively improves the target task accuracy of VP. Further, when using a contrastive language-image pretrained (CLIP) model, we propose to integrate an LM process to assist the text prompt selection of CLIP and to improve the target task accuracy. Extensive experiments demonstrate that our proposal significantly outperforms state-of-the-art VP methods. As highlighted below, we show that when reprogramming an ImageNet-pretrained ResNet-18 to 13 target tasks, our method outperforms baselines by a substantial margin, e.g., 7.9% and 6.7% accuracy improvements in transfer learning to the target Flowers102 and CIFAR100 datasets. Besides, our proposal on CLIP-based VP provides 13.7% and 7.1% accuracy improvements on Flowers102 and DTD respectively. Our code is available at https://github.com/OPTML-Group/ILM-VP.
DeCLIP: Decoupled Prompting for Multi-Label Class-Incremental Learning with CLIP
School of Automation, Southeast University, China(东南大学自动化学院);University of the Chinese Academy of Sciences, China(中国科学院大学);Suzhou University of Science and Technology, China(苏州科技大学);Computer Vision Center, Spain(西班牙计算机视觉中心)
SSPA: Split-and-Synthesize Prompting with Gated Alignments for Multi-Label Image Recognition
School of Artificial Intelligence, University of Chinese Academy of Sciences (UCAS)(中国科学院大学人工智能学院);School of Computer Science and Engineering, Macau University of Science and Technology(澳门科技大学计算机科学与工程学院);Centre for Artificial Intelligence and Robotics, Hong Kong Institute of Science & Innovation, Chinese Academy of Sciences(中国科学院香港创新研究院人工智能与机器人中心);Sangfor Technologies Inc.(深信服科技股份有限公司);Shenzhen Institute of Advanced Technology (SIAT), Chinese Academy of Sciences(中国科学院深圳先进技术研究院);Westlake University(西湖大学)
PVLR: Prompt-driven Visual-Linguistic Representation Learning for Multi-Label Image Recognition
MAIS, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所MAIS);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Baidu Inc.(百度公司);CAIR, HKISI, Chinese Academy of Sciences(中国科学院香港中文大学深圳先进集成技术研究所CAIR)
Auto-Prompting SAM for Weakly Supervised Landslide Extraction
School of Information Science and Engineering, Wuhan University of Science and Technology(武汉科技大学信息科学与工程学院);School of Science and Engineering, The Chinese University of Hong Kong(香港中文大学(深圳)理学院);Chair of Data Science in Earth Observation, Technical University of Munich (TUM)(慕尼黑技术大学地球观测数据科学教授职位);Helmholtz-Zentrum Dresden-Rossendorf(德累斯顿-罗斯托克亥姆霍兹研究中心);Lancaster Environment Centre, Lancaster University(兰卡斯特大学环境研究中心)
Improving Visual Object Tracking through Visual Prompting
Department of Computer Science, National Yang Ming Chiao Tung University(国立阳明交通大学计算机科学系);Research Center for Information Technology Innovation, Academia Sinica, Taiwan(学术院资讯科技创新研究中心);Microsoft, Seattle, Washington, United States(微软公司)
FVP: Fourier Visual Prompting for Source-Free Unsupervised Domain Adaptation of Medical Image Segmentation
Beihang University(北京航空航天大学);Zhejiang Lab(之江实验室);Singapore University of Technology and Design(新加坡科技设计大学);BioMind Technology Center(BioMind技术中心);Zhongguancun Laboratory(中关村实验室)
Improving Multi-Label Contrastive Learning by Leveraging Label Distribution
College of Computer Science and Software Engineering, Hohai University(河海大学计算机与软件学院);State Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室)