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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Trager, Matthew, Perera, Pramuditha, Zancato, Luca, Achille, Alessandro, Bhatia, Parminder, Soatto, Stefano
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911754983833600
author Trager, Matthew
Perera, Pramuditha
Zancato, Luca
Achille, Alessandro
Bhatia, Parminder
Soatto, Stefano
author_facet Trager, Matthew
Perera, Pramuditha
Zancato, Luca
Achille, Alessandro
Bhatia, Parminder
Soatto, Stefano
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2302_14383
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Linear Spaces of Meanings: Compositional Structures in Vision-Language Models
Trager, Matthew
Perera, Pramuditha
Zancato, Luca
Achille, Alessandro
Bhatia, Parminder
Soatto, Stefano
Machine Learning
Artificial Intelligence
Computation and Language
Computer Vision and Pattern Recognition
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.
title Linear Spaces of Meanings: Compositional Structures in Vision-Language Models
topic Machine Learning
Artificial Intelligence
Computation and Language
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2302.14383