Few-Shot VQA with Frozen LLMs: A Tale of Two Approaches

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Sterner, Igor, Lin, Weizhe, Chen, Jinghong, Byrne, Bill
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911800466866176
author Sterner, Igor
Lin, Weizhe
Chen, Jinghong
Byrne, Bill
author_facet Sterner, Igor
Lin, Weizhe
Chen, Jinghong
Byrne, Bill
contents Two approaches have emerged to input images into large language models (LLMs). The first is to caption images into natural language. The second is to map image feature embeddings into the domain of the LLM and pass the mapped embeddings directly to the LLM. The majority of recent few-shot multimodal work reports performance using architectures that employ variations of one of these two approaches. But they overlook an important comparison between them. We design a controlled and focused experiment to compare these two approaches to few-shot visual question answering (VQA) with LLMs. Our findings indicate that for Flan-T5 XL, a 3B parameter LLM, connecting visual embeddings directly to the LLM embedding space does not guarantee improved performance over using image captions. In the zero-shot regime, we find using textual image captions is better. In the few-shot regimes, how the in-context examples are selected determines which is better.
format Preprint
id arxiv_https___arxiv_org_abs_2403_11317
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Few-Shot VQA with Frozen LLMs: A Tale of Two Approaches
Sterner, Igor
Lin, Weizhe
Chen, Jinghong
Byrne, Bill
Computation and Language
Computer Vision and Pattern Recognition
Two approaches have emerged to input images into large language models (LLMs). The first is to caption images into natural language. The second is to map image feature embeddings into the domain of the LLM and pass the mapped embeddings directly to the LLM. The majority of recent few-shot multimodal work reports performance using architectures that employ variations of one of these two approaches. But they overlook an important comparison between them. We design a controlled and focused experiment to compare these two approaches to few-shot visual question answering (VQA) with LLMs. Our findings indicate that for Flan-T5 XL, a 3B parameter LLM, connecting visual embeddings directly to the LLM embedding space does not guarantee improved performance over using image captions. In the zero-shot regime, we find using textual image captions is better. In the few-shot regimes, how the in-context examples are selected determines which is better.
title Few-Shot VQA with Frozen LLMs: A Tale of Two Approaches
topic Computation and Language
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.11317