Few-Shot VQA with Frozen LLMs: A Tale of Two Approaches
<|reference_start|>Few-Shot VQA with Frozen LLMs: A Tale of Two Approaches: 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.<|reference_end|>
@article{sterner2024few-shot,
    title={Few-Shot VQA with Frozen LLMs: A Tale of Two Approaches},
    author={Igor Sterner, Weizhe Lin, Jinghong Chen, Bill Byrne},
    journal={arXiv preprint arXiv:2403.11317},
    year={2024},
    archivePrefix={arXiv},
    eprint={2403.11317},
    primaryClass={cs.CL cs.CV}
}