HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Just Ask: Learning to Answer Questions from Millions of Narrated Videos

Antoine Yang Antoine Miech Josef Sivic Ivan Laptev Cordelia Schmid

Just Ask: Learning to Answer Questions from Millions of Narrated Videos

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. 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 show excellent results, in particular for rare answers. Furthermore, we demonstrate our method to significantly outperform the state of the art on MSRVTT-QA, MSVD-QA, ActivityNet-QA and How2QA. Finally, for a detailed evaluation we introduce iVQA, a new VideoQA dataset with reduced language biases and high-quality redundant manual annotations. Our code, datasets and trained models are available at https://antoyang.github.io/just-ask.html.

Code Repositories

antoyang/just-ask
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
video-question-answering-on-activitynet-qaJust Ask (fine-tune)
Accuracy: 38.9
video-question-answering-on-activitynet-qaJust Ask (0-shot)
Accuracy: 12.2
video-question-answering-on-how2qaJust Ask
Accuracy: 84.4
video-question-answering-on-how2qaJust Ask (0-shot)
Accuracy: 51.1
video-question-answering-on-ivqaJust Ask (0-shot)
Accuracy: 12.2
video-question-answering-on-ivqaJust Ask (fine-tune)
Accuracy: 35.4
video-question-answering-on-videoqaJust Ask (fine-tune)
Accuracy: 15.6
visual-question-answering-on-msrvtt-qa-2Just Ask
Accuracy: 0.415
visual-question-answering-on-msvd-qa-2Just Ask
Accuracy: 0.463

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Just Ask: Learning to Answer Questions from Millions of Narrated Videos | Papers | HyperAI