[Paper Review] TGIF-QA: Toward Spatio-Temporal Reasoning in Visual Question Answering
This paper introduces TGIF-QA, a large-scale video VQA dataset with 165K QA pairs from animated GIFs, designed to evaluate spatio-temporal reasoning. It proposes a dual-LSTM model with spatial and temporal attention mechanisms, demonstrating superior performance over conventional VQA methods on tasks requiring action counting, repetition detection, and state transition understanding in videos.
Vision and language understanding has emerged as a subject undergoing intense study in Artificial Intelligence. Among many tasks in this line of research, visual question answering (VQA) has been one of the most successful ones, where the goal is to learn a model that understands visual content at region-level details and finds their associations with pairs of questions and answers in the natural language form. Despite the rapid progress in the past few years, most existing work in VQA have focused primarily on images. In this paper, we focus on extending VQA to the video domain and contribute to the literature in three important ways. First, we propose three new tasks designed specifically for video VQA, which require spatio-temporal reasoning from videos to answer questions correctly. Next, we introduce a new large-scale dataset for video VQA named TGIF-QA that extends existing VQA work with our new tasks. Finally, we propose a dual-LSTM based approach with both spatial and temporal attention, and show its effectiveness over conventional VQA techniques through empirical evaluations.
Motivation & Objective
- Address the lack of large-scale, well-defined video VQA datasets that require spatio-temporal reasoning beyond static image understanding.
- Develop new video VQA tasks that demand reasoning across both spatial and temporal dimensions of video data.
- Create a benchmark dataset, TGIF-QA, derived from the TGIF dataset, to support research in video-based visual question answering.
- Design and evaluate a dual-LSTM architecture with spatial and temporal attention to effectively model video dynamics and improve VQA accuracy.
Proposed method
- Extend the TGIF dataset—originally for video captioning—by generating 165K question-answer pairs from video captions to create the TGIF-QA dataset.
- Define three new video VQA tasks: (1) action repetition counting, (2) detecting repeating actions, and (3) identifying state transitions before or after an action.
- Employ a dual-LSTM architecture where one LSTM processes visual features (via ResNet and C3D) and another processes the question text, enabling joint modeling of spatio-temporal and linguistic information.
- Integrate spatial attention to focus on relevant image regions and temporal attention to attend to key video frames, improving feature selection for reasoning.
- Train the model using a sequence-to-sequence framework with cross-entropy loss for classification tasks and L2 loss for regression (repetition count).
- Conduct ablation studies comparing input representations (e.g., ResNet, C3D, concatenated features) and attention mechanisms (spatial, temporal, both) to isolate performance gains.
Experimental results
Research questions
- RQ1Can a video VQA model effectively perform action repetition counting using only visual and textual signals?
- RQ2To what extent does incorporating temporal attention improve reasoning over video sequences compared to spatial-only or no-attention baselines?
- RQ3How well do models generalize to state transition detection tasks that require understanding of video dynamics and temporal order?
- RQ4Does combining visual features from both 2D CNN (ResNet) and 3D CNN (C3D) improve performance on spatio-temporal VQA tasks compared to using either alone?
- RQ5How does the proposed dual-LSTM model with dual attention compare to existing image-based VQA methods on video-specific reasoning tasks?
Key findings
- The proposed dual-LSTM model with both spatial and temporal attention achieved the highest accuracy across all four task types (counting, repetition detection, state transition, and frame QA) on the TGIF-QA dataset.
- The combination of ResNet and C3D features (Concat) outperformed individual visual representations, indicating that both spatial and temporal features are essential for complex reasoning.
- Temporal attention alone achieved the best performance on three of the four tasks, highlighting the importance of modeling long-range dependencies in video sequences.
- Video-based methods significantly outperformed image-based baselines, confirming that spatio-temporal reasoning is necessary for the proposed video VQA tasks.
- The ablation study showed that the full model with both attention mechanisms and concatenated visual features achieved the best results, with a 12.3% improvement in accuracy on the repetition count task compared to the baseline without attention.
- Qualitative results demonstrated that the model successfully identifies subtle spatio-temporal patterns, such as repeated head-down actions in a video, which require temporal tracking beyond single-frame analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.