Source-linked AI summary

TGIF: A New Dataset and Benchmark on Animated GIF Description

Yuncheng Li, Yale Song, Liangliang Cao, Joel Tetreault, Larry Goldberg, Alejandro Jaimes, Jiebo Luo

arXiv:1604.02748v2cs.CV

TL;DR

The paper addresses the need for large-scale animated-GIF datasets and scalable validation of noisy, crowdsourced descriptions. It introduces TGIF with automatic filtering and validation, benchmarks description methods, and reports stronger sequence-learning results alongside limits in semantic validation.

  • Problem

    Animated-GIF description requires large-scale data covering diverse online interests and automatic validation to control noisy content and annotations.

  • Method

    The paper constructs TGIF using automatic content filtering plus syntactic and semantic validation, then benchmarks nearest-neighbor, statistical machine translation, and recurrent-neural-network methods.

  • Results

    Sequence-learning LSTM methods significantly outperform nearest-neighbor and statistical-machine-translation baselines, while performance increases with more training data before plateauing after 80%.

  • Takeaways & Limitations

    TGIF provides a constrained bridge for advancing video-understanding research and shows promise for improving automatic movie description.

  • Takeaways & Limitations

    The syntactic validation pipeline does not guarantee that a sentence semantically describes its corresponding GIF.

Abstract

from arXiv · show

With the recent popularity of animated GIFs on social media, there is need for ways to index them with rich metadata. To advance research on animated GIF understanding, we collected a new dataset, Tumblr GIF (TGIF), with 100K animated GIFs from Tumblr and 120K natural language descriptions obtained via crowdsourcing. The motivation for this work is to develop a testbed for image sequence description systems, where the task is to generate natural language descriptions for animated GIFs or video clips. To ensure a high quality dataset, we developed a series of novel quality controls to validate free-form text input from crowdworkers. We show that there is unambiguous association between visual content and natural language descriptions in our dataset, making it an ideal benchmark for the visual content captioning task. We perform extensive statistical analyses to compare our dataset to existing image and video description datasets. Next, we provide baseline results on the animated GIF description task, using three representative techniques: nearest neighbor, statistical machine translation, and recurrent neural networks. Finally, we show that models fine-tuned from our animated GIF description dataset can be helpful for automatic movie description.

1. Introduction

Animated GIFs are popular, short, user-generated visual stories, yet remain understudied in computer vision. TGIF addresses this gap with a large dataset, quality-controlled annotations, dataset analysis, and baseline description results.

  • Animated GIFs are spontaneous, short, silent, user-generated media with a visual storytelling nature, but scholarly work on them remains scarce.
  • The dataset addresses the challenges of capturing diverse online-user interests and validating noisy user-generated content and annotations at scale.
  • TGIF contains 100K animated GIFs from Tumblr and 120K crowdsourced natural-language sentences.
  • TGIF uses filtering and quality-control methods to ensure strong, unambiguous associations between GIFs and descriptions.
  • The paper compares TGIF with existing image and video datasets, benchmarks nearest-neighbor, statistical-machine-translation, and recurrent-neural-network methods, and tests transfer to movie description.

2. Related Work

Related datasets and methods frame animated GIF description as image-sequence-to-language generation. Compared with movie-derived datasets, TGIF uses user-generated GIFs and crowdsourced descriptions that are more directly tied to visible, self-contained content.

  • Techniques: Image and video description methods include nearest-neighbor retrieval, semantic-role-based statistical machine translation, and recurrent neural networks.
  • Comparison with LSMDC: TGIF differs from LSMDC because its GIFs are created by online users and its descriptions are crowdsourced rather than professionally produced through descriptive video services.
  • Language complexity: TGIF descriptions favor direct descriptions of major visual content, whereas movie descriptions use more expressive and complex language.
  • Visual/textual association: Movie descriptions may require context from elsewhere in a film, while TGIF presents each GIF without surrounding context.
  • Visual/textual association: 20.7% of LSMDC sentences contain at least two pronouns, compared with 7% in TGIF.
  • Scene segmentation: LSMDC segmentation relies on speech alignment and can include irrelevant frames, whereas online curation makes TGIF GIFs well segmented.

3. Animated GIF Description Dataset

TGIF combines automated filtering, manual review, crowdsourced annotation, and syntactic and semantic validation to construct a clean animated-GIF description corpus. Its workflow targets both media quality and the correctness of free-form descriptions.

  • GIF collection: The collection pipeline applies cartoon, static-content, and textual-content filters, followed by manual review, producing 100K clean animated GIFs.
  • Data annotation: CrowdFlower workers described each GIF in one sentence under task, geographic, payment, and workload constraints.
  • Syntactic validation: Syntactic validation checks sentence length, character set, profanity, copying, verbs, and named entities before submission.
  • Semantic validation: Because syntactic checks do not guarantee semantic correctness, the authors add a semantic-validation pipeline based on worker performance and blacklisting.
  • Semantic validation: A validation set of 100 GIFs with 10 sentences each supports worker evaluation and reference-based semantic screening.
  • Semantic validation: Sentences are accepted when their METEOR score against reference sentences exceeds an empirically set threshold of 20%.
  • Semantic validation: During the main task, workers are blacklisted when their validation-question approval rate falls below 80%.
  • Quality control: The authors continuously reviewed failed sentences and introduced validation during the main task as a novel quality-control strategy.

4. Dataset Analysis

TGIF is compared with established image and video-description datasets across dataset scale, language statistics, verb usage, and perceived segmentation and description quality. The analysis finds TGIF has frequent, visually grounded language and cohesive GIF segments, supporting its use for animated-sequence description.

  • Descriptive statistics: TGIF contains about 120K sentences for 100K GIFs, using one sentence per training GIF and three per test GIF.The dataset is divided into 90K training and 10K test GIFs.
  • Descriptive statistics: TGIF has higher average term frequency than other datasets, indicating less polymorphism and stronger recurring visual-textual associations.The reported average term frequency is 3 to 4 times higher than in other datasets.
  • Language generality-specificity: TGIF receives higher average language-model scores than the compared datasets, including for longer sentences.Scores are averaged by sentence length to reduce the effect of longer sentences receiving lower scores.
  • Verb characteristics: Compared with image descriptions, TGIF contains more picturable body-related verbs and fewer abstract perception verbs than LSMDC.The analysis contrasts static contact verbs in MS-COCO with more dynamic motion verbs in video datasets.
  • Quality of segmentation and description: User polling identifies two TGIF advantages over LSMDC: carefully segmented GIFs convey cohesive stories, and sentences associate well with the main visual story.The comparison used mixed samples rated by 10 people with majority voting.

5. Benchmark Evaluation

The benchmark compares nearest-neighbor, statistical machine translation, and LSTM approaches for animated GIF description, finding that sequence-aware LSTM models perform best and reveal several dataset and evaluation patterns.

  • Baseline comparison: NN performs significantly worse than all other methods because it copies sentences from the training set without explicitly modeling sequence structure.
  • SMT analysis: SMT-FrameNet outperforms SMT-WordNet overall, but ground-truth semantic roles reverse the machine-translation result: METEOR is 21.9% for FrameNet and 29.3% for WordNet.The authors attribute part of the baseline difference to visual-classification difficulty and label-vocabulary size.
  • Baseline comparison: LSTM methods significantly outperform nearest-neighbor and SMT baselines across evaluation metrics, even with simple CNN features.The comparison supports end-to-end sequence learning over traditional retrieval and semantic-role translation pipelines.
  • LSTM analysis: Among LSTM variants, Single performs worst, cropping variants perform similarly, and Finetune performs best.These comparisons suggest that sequence structure, shift-invariant cropping, and task-dependent CNN representations matter for the LSTM baseline.
  • Data and evaluation analysis: METEOR performance increases with more training data but plateaus after 80% of the training set, indicating that TGIF already challenges current state-of-the-art models.
  • Data and evaluation analysis: Using more reference sentences increases METEOR, reflecting the absence of a single definitive description and motivating multi-reference evaluation.
  • Cross-dataset adaptation: TGIF-pretrained and movie-fine-tuned models improve performance on M-VAD and MPII-MD and perform comparably to models trained on LSMDC.

6. Conclusions

TGIF combines content filtering and novel syntactic and semantic validation to support high-quality crowdsourced descriptions, then benchmarks video-description techniques. The dataset also shows promise for improving movie description and for advancing video understanding through constrained animated content.

  • Animated GIFs provide a constrained bridge toward video understanding because they contain limited still-frame sequences, often without narrative or context, and always without audio.
  • The paper suggests that recognizing animated-GIF content can precede adding audio, context, storytelling archetypes, and other components needed for video understanding.

Supplementary Material for TGIF: A New Dataset and Benchmark on Animated GIF Description

The supplementary material documents annotation instructions, task presentation, syntactic validation, generated-description examples, and qualitative comparisons with LSMDC captions. It also notes that single still frames inadequately represent animated GIF dynamics and points readers to online examples.

  • Single still frames are inadequate for showing animated GIF dynamics, so the supplementary material provides websites with additional animated examples.
  • Figure 1 presents the full instructions shown to crowd workers.
  • Each task page displayed five animated GIFs and asked workers to describe each with one sentence.
  • Syntactic validation displayed an error type and explanation when a worker’s free-form sentence contained a detected syntactic error.
  • Figure 4 compares generated descriptions from nearest neighbor, SMT-FrameNet, and LSTM-Finetune, with parenthesized METEOR scores.
  • Figure 5 compares crowdsourced descriptions for LSMDC movie clips with their original professionally annotated DVS captions.
Loading 1604.02748v2…