Giter VIP home page Giter VIP logo

tgif-qa's Introduction

The TGIF-QA dataset contains 165K QA pairs for the animated GIFs from the TGIF dataset [Li et al. CVPR 2016]. The question & answer pairs are collected via crowdsourcing, with a carefully designed interface to ensure quality. The dataset can be used to evaluate video/animated GIF based Visual Question Answering techniques.

In this repository, you can find the code and the dataset for our CVPR 2017 paper.

  • Yunseok Jang, Yale Song, Youngjae Yu, Youngjin Kim and Gunhee Kim. TGIF-QA: Toward Spatio-Temporal Reasoning in Visual Question Answering. In CVPR, 2017. (Spotlight) [arxiv]

The code and the dataset are free to use for academic purposes only. If you use any of the material in this repository as part of your work, we ask you to cite:

@inproceedings{jang-CVPR-2017,
    author    = {Yunseok Jang and Yale Song and Youngjae Yu and Youngjin Kim and Gunhee Kim},
    title     = "{TGIF-QA: Toward Spatio-Temporal Reasoning in Visual Question Answering}"
    booktitle = {CVPR},
    year      = 2017
}

Note: Since our CVPR 2017 paper, we extended our dataset by collecting more question and answer pairs (the total count has increased from 104K to 165K) and re-ran experiments with the new dataset. The archive paper is the most update one.

Have any question? Please contact:

Yunseok Jang ([email protected]) and Yale Song ([email protected])

Q&A Types and Examples

Q&A Type Repetition Count Repeating Action State Transition Frame QA
Visual Input (GIF)
Question How many times does the cat lick? What does the cat do 3 times? What does the model do after lower coat? What is the color of the bulldog?
Answer 7 times Put head down Pivot around Brown

# Q&A Pairs

Task Train Test Total
Repetition Count 26,843 3,554 30,397
Repeating Action 20,475 2,274 22,749
State Transition 52,704 6,232 58,936
Frame QA 39,392 13,691 53,083
Total 139,414 25,751 165,165

Quantitative Results

Model Repetition Count (L2 loss) Repeating Action (Accuracy) State Transition (Accuracy) Frame QA (Accuracy)
Random Chance 6.9229 20.00 20.00 0.06
VIS+LSTM (aggr) [NIPS 2015] 5.0921 46.84 56.85 34.59
VIS+LSTM (avg) [NIPS 2015] 4.8095 48.77 34.82 34.97
VQA-MCB (aggr) [EMNLP 2016] 5.1738 58.85 24.27 25.70
VQA-MCB (avg) [EMNLP 2016] 5.5428 29.13 32.96 15.49
Yu et al. [CVPR 2017] 5.1387 56.14 63.95 39.64
ST-VQA-Text 5.0056 47.91 56.93 39.26
ST-VQA-ResNet 4.5539 59.04 65.56 45.60
ST-VQA-C3D 4.4478 59.26 64.90 45.18
ST-VQA-Concat 4.3759 60.13 65.70 48.20
ST-VQA-Sp. 4.2825 57.33 63.72 45.45
ST-VQA-Tp. 4.3981 60.77 67.06 49.27
ST-VQA-Sp.Tp. 4.5614 56.99 59.59 47.79

Qualitative Results

Spatial Attention

Temporal Attention

The red dotted boxes over heatmaps indicate segments in a video that include the ground-truth answers.

Attentions Visualized in Time

The yellow bar indicates the strength of temporal attention at the visualized time.

Q&A Type Repetition Count Repeating Action State Transition Frame QA
Lively Visual (GIF)
Question How many times does the man shave chest ? What does the boy do 3 times ? What does the man do before kiss toy ? What are the group of boys singing , dancing , and playing ?
Answer 2 times Wave hands Pet toy Instruments
Lively Visual (GIF)
Question How many times does the man flip circle ? What does the behind do 3 times ? What does the woman do after raise leg ? What is the color of the shirt ?
Answer 2 times Shake butt Kick a mug White

Notes

Last Edit: January 08, 2019

tgif-qa's People

Contributors

yunseokjang avatar cdjkim avatar floretcat avatar bryant1410 avatar yalesong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.