Overview of Img2LLM-VQA
mainImg2LLM is a plug-and-play module designed for zero-shot Visual Question Answering (VQA) using frozen Large Language Models (LLMs). It bridges the gap between visual modalities and LLM text processing by converting images into textual prompts. This allows LLMs to perform VQA tasks without requiring end-to-end training.
The workflow consists of four main stages:
- Image-question matching: Computing relevancy scores for image patches relative to a question to filter out noisy captions.
- Image captioning: Generating question-guided captions based on the relevancy scores.
- Question Generation: Creating questions based on synthetic answers and captions.
- Large Language Model: Using a pre-trained LLM (such as OPT or GPT-3) to perform the final VQA task.