Large pre-trained vision-language (VL) models can learn a new task with a handful of examples and generalize to a new task without fine-tuning. However, these VL models are hard to deploy for real-world applications due to their impractically huge sizes and slow inference speed. To solve this limitation, we study prompt-based low-resource learning of VL tasks with our proposed method, FewVLM, relatively smaller than recent few-shot learners. For FewVLM, we pre-train a sequence-to-sequence transformer model with prefix language modeling (PrefixLM) and masked language modeling (MaskedLM). Furthermore, we analyze the effect of diverse prompts for few-shot tasks. Experimental results on VQA show that FewVLM with prompt-based learning outperforms Frozen which is 31x larger than FewVLM by 18.2% point and achieves comparable results to a 246x larger model, PICa. In our analysis, we observe that (1) prompts significantly affect zero-shot performance but marginally affect few-shot performance, (2) models with noisy prompts learn as quickly as hand-crafted prompts given larger training data, and (3) MaskedLM helps VQA tasks while PrefixLM boosts captioning performance. Our code is publicly available at \url{https://github.com/woojeongjin/FewVLM}
Revisiting CroPA: A Reproducibility Study and Enhancements for Cross-Prompt Adversarial Transferability in Vision-Language Models
Mehta Family School of Data Science and Artificial Intelligence(梅hta家族数据科学与人工智能学院);Indian Institute of Technology, Roorkee(印度理工学院罗奥克学院);Department of Civil Engineering(土木工程系);Department of Electronics and Communication(电子与通信系)
School of Computer Science and Engineering, Southeast University, Nanjing, China(1 南京大学计算机科学与工程学院);Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education, China(2 教育部新一代人工智能技术及其跨学科应用关键实验室(东南大学))
SAMIC: Segment Anything with In-Context Spatial Prompt Engineering
Department of Computer Science and Engineering(计算机科学与工程系);Schlumberger-Doll Research(斯伦贝谢-多尔研究中心);Department of Civil and Environmental Engineering(土木与环境工程系);The Pennsylvania State University(宾夕法尼亚州立大学)
SAM-Aware Graph Prompt Reasoning Network for Cross-Domain Few-Shot Segmentation
School of Computer Science and Engineering, Nanjing University of Science and Technology(南京理工大学计算机科学与工程学院);Computer Vision Laboratory, ETH Zurich(苏黎世联邦理工学院计算机视觉实验室);School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院)