我们提出了组合式软提示(compositional soft prompting,CSP),这是一种参数高效的学习技术,旨在提升 CLIP 等大规模预训练视觉-语言模型(VLM)的零样本组合能力。我们面向组合式零样本学习开发 CSP,该任务要求预测未见过的属性-对象组合(例如 old cat 和 young tiger)。VLM 具有灵活的文本编码器,能够将任意类别表示为自然语言提示,但在组合式零样本基准数据集上,它们的表现往往不及面向特定任务的架构。CSP 将定义类别的属性和对象视为可学习的词汇标记。在训练期间,对该词汇表进行调整,以识别通过多种方式组合标记所形成的类别(例如 old cat 和 white cat)。在测试时,我们将学到的属性-对象词汇重新组合为新的搭配,以识别新类别。我们表明,CSP 在基准数据集上的 AUC 平均比 CLIP 高出 10.9 个百分点。CSP 还优于 CoOp(一种微调前缀上下文标记的软提示方法),AUC 平均高出 5.8 个百分点。我们进行了额外实验,表明 CSP 提升了对更高阶属性-属性-对象组合(例如 old white cat)以及预训练属性与微调对象组合的泛化能力。代码可在 https://github.com/BatsResearch/csp 获取。
英文摘要:
We introduce compositional soft prompting (CSP), a parameter-efficient learning technique to improve the zero-shot compositionality of large-scale pretrained vision-language models (VLMs) like CLIP. We develop CSP for compositional zero-shot learning, the task of predicting unseen attribute-object compositions (e.g., old cat and young tiger). VLMs have a flexible text encoder that can represent arbitrary classes as natural language prompts but they often underperform task-specific architectures on the compositional zero-shot benchmark datasets. CSP treats the attributes and objects that define classes as learnable tokens of vocabulary. During training, the vocabulary is tuned to recognize classes that compose tokens in multiple ways (e.g., old cat and white cat). At test time, we recompose the learned attribute-object vocabulary in new combinations to recognize novel classes. We show that CSP outperforms the CLIP on benchmark datasets by an average of 10.9 percentage points on AUC. CSP also outperforms CoOp, a soft prompting method that fine-tunes the prefix context tokens, by an average of 5.8 percentage points on AUC. We perform additional experiments to show that CSP improves generalization to higher-order attribute-attribute-object compositions (e.g., old white cat) and combinations of pretrained attributes and fine-tuned objects. The code is available at https://github.com/BatsResearch/csp.
Progressive Reasoning with Primitive Correction for Compositional Zero-Shot Learning
School of Computer Science and Technology, Beijing Jiaotong University(北京交通大学计算机科学与技术学院);Key Laboratory of Big Data & Artificial Intelligence in Transportation (Ministry of Education)(交通运输大数据与人工智能教育部重点实验室)
From Model Patterns to Abstract Semantics in Compositional Zero-Shot Learning
Beijing University of Posts and Telecommunications(北京邮电大学);Beijing Key Laboratory of Network System and Network Culture(网络系统与网络文化北京市重点实验室);Key Laboratory of Interactive Technology and Experience System(交互技术与体验系统重点实验室)
Semantically Guided Dynamic Visual Prototype Refinement for Compositional Zero-Shot Learning
National Key Laboratory of Radar Signal Processing, Xidian University(雷达信号处理国家级重点实验室,西安电子科技大学);Research Institute of Systems Engineering, Academy of Military Science(系统工程研究所,军事科学院)
Graph-guided Cross-composition Feature Disentanglement for Compositional Zero-shot Learning
PowerChina Huadong Engineering Corporation Limited(国家电力投资集团华东工程公司);Hangzhou Dianzi University(杭州电子科技大学);The University of Manchester(曼彻斯特大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Nanjing University of Aeronautics and Astronautics(南京航空航天大学);Zhejiang University(浙江大学)
Compositional Zero-shot Learning via Progressive Language-based Observations
AI Chip Center for Emerging Smart Systems(新兴智能系统人工智能芯片中心);The Hong Kong University of Science(香港科学大学);Zhejiang University College of Computer Science(浙江大学计算机科学学院)
Zero-Shot Learning from scratch (ZFS): leveraging local compositional representations
Mila, University of Montreal(米拉-蒙特利尔大学联合实验室);University of Amsterdam(阿姆斯特丹大学);Microsoft Research(微软研究院)
Zero-shot分类是一项泛化任务,在训练期间看不到目标类的实例。为了允许测试时的传输,每个类都用语义信息进行了注释,通常以属性或文本描述的形式。虽然经典的零样本学习没有明确禁止使用来自其他数据集的信息,但在图像基准测试中实现最佳绝对性能的方法依赖于从Imagenet上预训练的编码器中提取的特征。这种方法依赖于来自监督分类设置的超优化的Imagenet相关参数,将有关这些参数的适用性以及如何学习这些参数的重要问题与有关表示学习和泛化的更基本问题纠缠在一起。为了消除这些干扰因素,我们提出了一个更具挑战性的设置:从头开始的零样本学习(Zero-Shot Learning from scratch,缩写为ZH),它明确禁止使用在其他数据集上微调的编码器。我们对这一设置的分析突出了本地信息和成分表征的重要性。
Few-Shot Single-View 3-D Object Reconstruction with Compositional Priors
University of Queensland(昆士兰大学);Mila, University of Montreal(蒙特利尔大学Mila);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);University of Toronto(多伦多大学);Samsung AI Research Center, Toronto(多伦多三星人工智能研究中心)
On Leveraging Variational Graph Embeddings for Open World Compositional Zero-Shot Learning
Technische Universität München(慕尼黑工业大学);Mercateo AG(Mercateo股份公司)
人类能够识别和分类已知概念的新组合。组合零镜头学习(Compositional Zero-Shot learning,CNOML)的任务是学习原始概念(即对象和状态)的组合,即使是它们的新组合也可以被zero-shot分类。在这项工作中,我们不假设任何先验知识的可行性,即开放世界的设置,其中不可行的组合物占主导地位的搜索空间的新组合物。我们提出了一种组合变分图自动编码器(CVGAE)的方法来学习原始概念(节点)的变分嵌入以及它们的组合(通过边缘)的可行性。这样的建模使得CVGAE可扩展到现实世界的应用场景。这与SOTA方法CGE相反,SOTA方法CGE在计算上非常昂贵。例如,对于基准C-GQA数据集,CGE需要3.94 x 10^5个节点,而CVGAE只需要1323个节点。我们学习将图和图像嵌入映射到公共嵌入空间。CVGAE采用深度度量学习方法,并通过投影图和图像嵌入之间的双向对比损失来学习该空间中的相似性度量。我们在三个基准数据集上验证了该方法的有效性,并通过一个图像检索任务证明了CVGAE学习的表示更适合于组合泛化。
Learning Compositional Shape Priors for Few-Shot 3D Reconstruction
University of Queensland(昆士兰大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);University of Toronto(多伦多大学);Samsung AI Research Center(三星人工智能研究中心);Concordia University(康考迪亚大学);Mila(米拉(魁北克人工智能研究所))
Unlocking Compositional Generalization in Continual Few-Shot Learning
Faculty of Information Technology, University of Science, Vietnam National University(信息科技学院,科学大学,越南国家大学);Department of Computer Science, University of Warwick(计算机科学系,沃里克大学)
BRICKS: Compositional Neural Markov Kernels for Zero-Shot Radiation-Matter Simulation
Technical University of Munich(慕尼黑技术大学);Max-Planck Institute for Mathematics in the Sciences(马克斯·普朗克数学研究所);SLAC National Accelerator Laboratory(斯坦福直线加速器实验室);Haifa University(海法大学);Department of Physics(物理系);Indian Institute of Technology, Kanpur(印度理工学院坎普尔分校);Munich Center for Machine Learning(慕尼黑机器学习中心)