Zero-shot Visual Question Answering with Language Model Feedback

Yifan Du, Junyi Li, Tianyi Tang, Wayne Xin Zhao, Ji-Rong Wen
5/26/2023
33 citations
cs.CVcs.CL

Official code: RUCAIBox/LAMOC (3 stars, Python, last commit 2023-05-24). Most starred: Richar-Du/LAMOC, a community implementation (6 stars, Python, last commit 2023-11-23, 2.0× the official stars). 1 more implementation below.

Abstract

In this paper, we propose a novel language model guided captioning approach, LAMOC, for knowledge-based visual question answering (VQA). Our approach employs the generated captions by a captioning model as the context of an answer prediction model, which is a Pre-trained Language model (PLM).

Show full abstract

As the major contribution, we leverage the guidance and feedback of the prediction model to improve the capability of the captioning model. In this way, the captioning model can become aware of the task goal and information need from the PLM. To develop our approach, we design two specific training stages, where the first stage adapts the captioning model to the prediction model (selecting more suitable caption propositions for training) and the second stage tunes the captioning model according to the task goal (learning from feedback of the PLM). Extensive experiments demonstrate the effectiveness of the proposed approach on the knowledge-based VQA task. Specifically, on the challenging A-OKVQA dataset, LAMOC outperforms several competitive zero-shot methods and even achieves comparable results to a fine-tuned VLP model. Our code is publicly available at https://github.com/RUCAIBox/LAMOC.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
RUCAIBox/LAMOCOfficial3Python–2023-05-24
Richar-Du/LAMOCCommunity6Python–2023-11-23
RUCAIBox/LAMOCOfficial100%

The official repository our ACL 2023 paper: Zero-shot Visual Question Answering with Language Model Feedback

32Python, Jupyter NotebookMay 26, 20233 years ago
Richar-Du/LAMOCCommunity62%

The official repository our ACL 2023 paper: Zero-shot Visual Question Answering with Language Model Feedback

63Python, Jupyter NotebookMay 24, 20233 years ago

Similar Papers

Cite this paper

@article{du2023zeroshot,
  title  = {Zero-shot Visual Question Answering with Language Model Feedback},
  author = {Yifan Du and Junyi Li and Tianyi Tang and Wayne Xin Zhao and Ji-Rong Wen},
  year   = {2023},
  eprint = {2305.17006},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.17006v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.17006.svg)](https://codeofpaper.com/paper/2305.17006)

Discussion