Learning to Answer Visual Questions from Web Videos

Antoine Yang, Antoine Miech, Josef Sivic, Ivan Laptev, Cordelia Schmid
5/10/2022
cs.CVcs.CLcs.LG
transformer-attention

Official code: antoyang/just-ask (127 stars, Jupyter Notebook, Apache-2.0, last commit 2023-09-29).

Abstract

Recent methods for visual question answering rely on large-scale annotated datasets. Manual annotation of questions and answers for videos, however, is tedious, expensive and prevents scalability.

Show full abstract

In this work, we propose to avoid manual annotation and generate a large-scale training dataset for video question answering making use of automatic cross-modal supervision. We leverage a question generation transformer trained on text data and use it to generate question-answer pairs from transcribed video narrations. Given narrated videos, we then automatically generate the HowToVQA69M dataset with 69M video-question-answer triplets. To handle the open vocabulary of diverse answers in this dataset, we propose a training procedure based on a contrastive loss between a video-question multi-modal transformer and an answer transformer. We introduce the zero-shot VideoQA task and the VideoQA feature probe evaluation setting and show excellent results, in particular for rare answers. Furthermore, our method achieves competitive results on MSRVTT-QA, ActivityNet-QA, MSVD-QA and How2QA datasets. We also show that our VideoQA dataset generation approach generalizes to another source of web video and text data. We use our method to generate the WebVidVQA3M dataset from the WebVid dataset, i.e., videos with alt-text annotations, and show its benefits for training VideoQA models. Finally, for a detailed evaluation we introduce iVQA, a new VideoQA dataset with reduced language bias and high-quality manual annotations. Code, datasets and trained models are available at https://antoyang.github.io/just-ask.html

View on arXivView PDF

Code Implementations(1)

antoyang/just-askOfficial100%
Apache-2.0

[ICCV 2021 Oral + TPAMI] Just Ask: Learning to Answer Questions from Millions of Narrated Videos

12714Jupyter Notebook, PythonMar 22, 20213 years agoApache-2.0
multimodal-learningpre-trainingquestion-generationvideo-question-answeringvideo-understanding+5 more

Similar Papers

Cite this paper

@article{yang2022learning,
  title  = {Learning to Answer Visual Questions from Web Videos},
  author = {Antoine Yang and Antoine Miech and Josef Sivic and Ivan Laptev and Cordelia Schmid},
  year   = {2022},
  eprint = {2205.05019},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.05019}
}

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

Discussion