arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.14383cs.LGcs.AIcs.CLcs.CV
收藏

意义的线性空间:视觉-语言模型中的组合结构

Linear Spaces of Meanings: Compositional Structures in Vision-Language Models

AWS AI Labs(AWS人工智能实验室)

Matthew Trager, Pramuditha Perera, Luca Zancato, Alessandro Achille, Parminder Bhatia, Stefano Soatto

AI总结:

本文从几何和概率视角研究视觉-语言模型嵌入中的组合结构,将表示近似为少量“理想词语”向量的组合,并在CLIP上验证其可用于分类、去偏和检索等任务。

摘要:

我们研究了预训练视觉-语言模型(VLMs)数据嵌入中的组合结构。传统上,组合性一直与对预先存在词汇表中词语嵌入的代数运算相关联。相比之下,我们试图将编码器的表示近似为嵌入空间中一组更小向量的组合。这些向量可以被视为直接在模型嵌入空间内生成概念的“理想词语”。我们首先提出一个从几何视角理解组合结构的框架。然后,我们解释在VLM嵌入的情况下,这些组合结构在概率上意味着什么,并为它们在实践中出现的原因提供直觉。最后,我们实证探索了CLIP嵌入中的这些结构,并评估了它们在解决不同视觉-语言任务(如分类、去偏和检索)中的有用性。我们的结果表明,对嵌入向量进行简单的线性代数运算,可以作为调节VLM行为的组合性和可解释性方法。

英文摘要:

We investigate compositional structures in data embeddings from pre-trained vision-language models (VLMs). Traditionally, compositionality has been associated with algebraic operations on embeddings of words from a pre-existing vocabulary. In contrast, we seek to approximate representations from an encoder as combinations of a smaller set of vectors in the embedding space. These vectors can be seen as "ideal words" for generating concepts directly within the embedding space of the model. We first present a framework for understanding compositional structures from a geometric perspective. We then explain what these compositional structures entail probabilistically in the case of VLM embeddings, providing intuitions for why they arise in practice. Finally, we empirically explore these structures in CLIP's embeddings and we evaluate their usefulness for solving different vision-language tasks such as classification, debiasing, and retrieval. Our results show that simple linear algebraic operations on embedding vectors can be used as compositional and interpretable methods for regulating the behavior of VLMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑