提示工程在大语言模型中已显示出显著的成功,但其在计算机视觉中的系统性探索仍然有限。在语义分割中,文本提示和视觉提示都提供了独特的优势:文本提示通过开放词汇方法允许对任意类别进行分割,而视觉参考提示则提供了直观的参考示例。然而,现有的基准在隔离条件下评估这些模态,没有在相同条件下进行直接比较。我们提出了Show or Tell(SoT),一个专门设计用于评估语义分割中视觉和文本提示的新基准,涵盖7个不同领域(常见场景、城市、食品、废弃物、部件、工具和土地覆盖)的14个数据集。我们评估了5种开放词汇方法和4种视觉参考提示方法,后者通过基于置信度的掩膜合并策略适应多类分割。我们的大量实验表明,开放词汇方法在易于用文本描述的常见概念上表现出色,但在工具等复杂领域上表现不佳,而视觉参考提示方法取得了良好的平均结果,但根据输入提示表现出高变异性。通过全面的定量和定性分析,我们识别了两种提示模态的优势和劣势,为未来视觉基础模型在分割任务中的研究提供了宝贵的见解。
英文摘要:
Prompt engineering has shown remarkable success with large language models, yet its systematic exploration in computer vision remains limited. In semantic segmentation, both textual and visual prompts offer distinct advantages: textual prompts through open-vocabulary methods allow segmentation of arbitrary categories, while visual reference prompts provide intuitive reference examples. However, existing benchmarks evaluate these modalities in isolation, without direct comparison under identical conditions. We present Show or Tell (SoT), a novel benchmark specifically designed to evaluate both visual and textual prompts for semantic segmentation across 14 datasets spanning 7 diverse domains (common scenes, urban, food, waste, parts, tools, and land-cover). We evaluate 5 open-vocabulary methods and 4 visual reference prompt approaches, adapting the latter to handle multi-class segmentation through a confidence-based mask merging strategy. Our extensive experiments reveal that open-vocabulary methods excel with common concepts easily described by text but struggle with complex domains like tools, while visual reference prompt methods achieve good average results but exhibit high variability depending on the input prompt. Through comprehensive quantitative and qualitative analysis, we identify the strengths and weaknesses of both prompting modalities, providing valuable insights to guide future research in vision foundation models for segmentation tasks.
STPNet: Scale-aware Text Prompt Network for Medical Image Segmentation
Xiamen University(厦门大学);University of Washington(华盛顿大学);UT Southwestern Medical Center(西南大学医学中心);University of Hull(赫尔大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
TCP:Textual-based Class-aware Prompt tuning for Visual-Language Model
Institute of Automation, CAS(中国科学院自动化研究所);State Key Laboratory of Multimodal Artificial Intelligence Systems(多模态人工智能系统国家重点实验室);State Key Lab of Processors(处理器国家重点实验室);Institute of Computing Technology, CAS(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学)
Continual Learning on CLIP via Incremental Prompt Tuning with Intrinsic Textual Anchors
School of Computer Science and Engineering, University of New South Wales(新南威尔士大学计算机科学与工程学院);Data61, CSIRO(CSIRO数据61研究中心);School of Computer Science, University of Auckland(奥克兰大学计算机科学学院);Australian Institute for Machine Learning (AIML), The University of Adelaide(阿德莱德大学澳大利亚机器学习研究所)
Dynamic Textual Prompt For Rehearsal-free Lifelong Person Re-identification
National Engineering Laboratory for Integrated Aero-Space-Ground-Ocean Big Data Application Technology(空天地海一体化大数据应用技术国家工程实验室);School of Computer Science, Northwestern Polytechnical University(西北工业大学计算机学院)
Prompt-driven Transferable Adversarial Attack on Person Re-Identification with Attribute-aware Textual Inversion
School of Artificial Intelligence and Robotics, Hunan University(湖南大学人工智能与机器人学院);National Engineering Research Center of Robot Visual Perception and Control Technology(机器人视觉感知与控制技术国家工程研究中心);College of Information Science and Engineering, Hunan Normal University(湖南师范大学信息科学与工程学院)
Jiangxi Normal University(江西师范大学);University of Science and Technology of China(中国科学技术大学);East China Normal University(华东师范大学);Beijing Jiaotong University(北京交通大学)
Contrastive Language-Image Learning with Augmented Textual Prompts for 3D/4D FER Using Vision-Language Model
Information & Computer Science Department, King Fahd University of Petroleum & Minerals(国王法赫德石油与矿物大学信息与计算机科学系);Center for Machine Vision and Signal Analysis, University of Oulu(奥卢大学机器视觉与信号分析中心)
Tell2Adapt: A Unified Framework for Source Free Unsupervised Domain Adaptation via Vision Foundation Model
Northeastern University(东北大学);Engineering Research Center of Medical Imaging and Intelligent Analysis, Ministry of Education(教育部医学影像与智能分析工程研究中心);Key Laboratory of Medical Image Computing, Ministry of Education(教育部医学影像计算重点实验室)
FedMVP: Federated Multimodal Visual Prompt Tuning for Vision-Language Models
University of Trento(特伦托大学);University of Bergamo(贝拉姆奥大学);Indian Institute of Technology Bombay(印度班加罗尔理工学院);LNMIIT Jaipur(斋普尔LNMIIT);The University of Queensland(昆士兰大学);Fondazione Bruno Kessler(布鲁诺·凯塞勒基金会)
Medal S: Spatio-Textual Prompt Model for Medical Segmentation
Medical Image Insights, Shanghai, China(医学影像洞察,上海,中国);University of Washington, Seattle, WA, USA(华盛顿大学,西雅图,华盛顿州,美国);University of Waterloo, Waterloo, ON, Canada(滑铁卢大学,滑铁卢,安大略省,加拿大);Xi'an Jiaotong University, Xi'an, China(西安交通大学,西安,中国)
Visual and Textual Prompts in VLLMs for Enhancing Emotion Recognition
School of Computing, Australian National University (ANU)(澳大利亚国立大学计算机学院);Quriosity Pty Ltd;Human-Centric Advancements Chair in AI, Curtin University and Australian National University(Curtin大学人工智能人本发展主席职位,澳大利亚国立大学)
A Similarity Paradigm Through Textual Regularization Without Forgetting
Shanghai Jiao Tong University(上海交通大学);Hong Kong Baptist University(香港浸会大学);Northeastern University(东北大学);University of Science and Technology of China(中国科学技术大学);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳))
A-TPT: Angular Diversity Calibration Properties for Test-Time Prompt Tuning of Vision-Language Models
Dept. of Electronic and Telecommunication Engineering, University of Moratuwa(摩图瓦大学电子与电信工程系);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
TokenCLIP: Token-wise Prompt Learning for Zero-shot Anomaly Detection
Zhejiang University(浙江大学);Tencent YouTu Lab(腾讯YouTu实验室);Singapore Management University(新加坡管理学院);Qilu University of Technology (Shandong Academy of Sciences)(青岛科技大学(山东科学院))
EDITOR: Effective and Interpretable Prompt Inversion for Text-to-Image Diffusion Models
University of Massachusetts, Amherst(马萨诸塞大学阿姆赫斯特分校);Georgia Institute of Technology(佐治亚理工学院);Rutgers University(罗格斯大学);University of Utah(犹他大学);Dolby Laboratories(杜比实验室)
VP-Hype: A Hybrid Mamba-Transformer Framework with Visual-Textual Prompting for Hyperspectral Image Classification
Institute of Applied Sciences and Intelligent Systems (ISASI), CNR(应用科学与智能系统研究所(ISASI),CNR);Dept. of Engineering for Innovation, University of Salento(创新工程系,萨勒诺大学);VSC Laboratory, Department of Electronics and Automation, University of Biskra(VSC实验室,电子与自动化系,比斯克拉大学);Dept. of Computer Science and AI, University of the Basque Country (UPV/EHU)(计算机科学与人工智能系,巴斯克国家大学(UPV/EHU));Sorbonne Center for Artificial Intelligence, Sorbonne University Abu Dhabi(索邦大学阿布扎克人工智能中心)