Linearly Mapping from Image to Text Space
Jack Merullo, Louis Castricato, Carsten Eickhoff, Ellie Pavlick

TL;DR
This paper demonstrates that frozen text-only language models can effectively interpret visual information through a linear mapping from vision model representations, enabling competitive image captioning and question answering without retraining the language model.
Contribution
It introduces a linear projection method to transfer visual features into language models, showing that conceptual representations are similar across vision and language models, and compares different image encoders' effectiveness.
Findings
Linear mapping enables competitive captioning performance.
Linguistically supervised encoders encode more category information.
All tested encoders transfer visual properties effectively.
Abstract
The extent to which text-only language models (LMs) learn to represent features of the non-linguistic world is an open question. Prior work has shown that pretrained LMs can be taught to caption images when a vision model's parameters are optimized to encode images in the language space. We test a stronger hypothesis: that the conceptual representations learned by frozen text-only models and vision-only models are similar enough that this can be achieved with a linear map. We show that the image representations from vision models can be transferred as continuous prompts to frozen LMs by training only a single linear projection. Using these to prompt the LM achieves competitive performance on captioning and visual question answering tasks compared to models that tune both the image encoder and text decoder (such as the MAGMA model). We compare three image encoders with increasing amounts…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsMultimodal Machine Learning Applications · Natural Language Processing Techniques · Topic Modeling
MethodsTest · Contrastive Language-Image Pre-training
