Image Captioning for Effective Use of Language Models in Knowledge-Based Visual Question Answering

Ander Salaberria, Gorka Azkune, Oier Lopez de Lacalle, Aitor Soroa, Eneko Agirre
9/15/2021
cs.CVcs.AI

Official code: salanueva/CBM (6 stars, Python, last commit 2023-06-05).

Abstract

Integrating outside knowledge for reasoning in visio-linguistic tasks such as visual question answering (VQA) is an open problem. Given that pretrained language models have been shown to include world knowledge, we propose to use a unimodal (text-only) train and inference procedure based on automatic off-the-shelf captioning of images and pretrained language models.

Show full abstract

Our results on a visual question answering task which requires external knowledge (OK-VQA) show that our text-only model outperforms pretrained multimodal (image-text) models of comparable number of parameters. In contrast, our model is less effective in a standard VQA task (VQA 2.0) confirming that our text-only method is specially effective for tasks requiring external knowledge. In addition, we show that increasing the language model's size improves notably its performance, yielding results comparable to the state-of-the-art with our largest model, significantly outperforming current multimodal systems, even though augmented with external knowledge. Our qualitative analysis on OK-VQA reveals that automatic captions often fail to capture relevant information in the images, which seems to be balanced by the better inference ability of the text-only language models. Our work opens up possibilities to further improve inference in visio-linguistic tasks

View on arXivView PDF

Code Implementations(1)

salanueva/CBMOfficial100%
60Python, ShellMar 24, 20223 years ago

Similar Papers

Cite this paper

@article{salaberria2021image,
  title  = {Image Captioning for Effective Use of Language Models in Knowledge-Based Visual Question Answering},
  author = {Ander Salaberria and Gorka Azkune and Oier Lopez de Lacalle and Aitor Soroa and Eneko Agirre},
  year   = {2021},
  eprint = {2109.08029},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.08029}
}

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/2109.08029.svg)](https://codeofpaper.com/paper/2109.08029)

Discussion