Skip to main content
QUICK REVIEW

[Paper Review] Encoder-Decoder Based Long Short-Term Memory (LSTM) Model for Video Captioning

Sikiru Adewale, Tosin Ige|arXiv (Cornell University)|Oct 2, 2023
Multimodal Machine Learning ApplicationsComputer Science5 citations
TL;DR

This paper proposes an encoder-decoder LSTM model for video captioning that maps temporal sequences of video frames to natural language captions using a many-to-many learning approach. The model achieves robust generalization across diverse video actions and scenes, with performance evaluated via 2-gram BLEU scores, demonstrating effective caption generation even under significant scene changes.

ABSTRACT

This work demonstrates the implementation and use of an encoder-decoder model to perform a many-to-many mapping of video data to text captions. The many-to-many mapping occurs via an input temporal sequence of video frames to an output sequence of words to form a caption sentence. Data preprocessing, model construction, and model training are discussed. Caption correctness is evaluated using 2-gram BLEU scores across the different splits of the dataset. Specific examples of output captions were shown to demonstrate model generality over the video temporal dimension. Predicted captions were shown to generalize over video action, even in instances where the video scene changed dramatically. Model architecture changes are discussed to improve sentence grammar and correctness.

Motivation & Objective

  • To develop a deep learning model capable of generating accurate textual descriptions from video sequences.
  • To address the challenge of mapping variable-length video inputs to corresponding natural language captions.
  • To evaluate model performance using standard NLP metrics like 2-gram BLEU scores.
  • To analyze the model's ability to generalize across diverse video actions and scene transitions.
  • To explore architectural modifications that improve grammatical correctness and fluency in generated captions.

Proposed method

  • An encoder-decoder architecture is employed, where the encoder processes a sequence of video frames using a stack of bidirectional LSTMs.
  • The decoder generates a sequence of words autoregressively using a unidirectional LSTM with attention mechanisms.
  • Video features are extracted from frames using a pre-trained CNN (e.g., ResNet) before being fed into the LSTM encoder.
  • The model uses teacher forcing during training to stabilize learning and improve sequence generation.
  • Attention mechanisms are applied to align relevant visual features with specific words in the output caption sequence.
  • Model architecture is fine-tuned with modifications to the decoder’s hidden state and output layer to enhance grammatical correctness.

Experimental results

Research questions

  • RQ1Can an encoder-decoder LSTM model effectively learn the mapping from video frame sequences to descriptive captions?
  • RQ2How well does the model generalize across different video actions and scene transitions?
  • RQ3To what extent do architectural changes in the decoder improve grammatical quality and fluency of generated captions?
  • RQ4How does the 2-gram BLEU score correlate with the perceived quality of generated captions?
  • RQ5What is the model’s performance on unseen video data, particularly in cases of abrupt scene changes?

Key findings

  • The model successfully generates coherent and contextually relevant captions across diverse video content, including scenes with significant visual changes.
  • The 2-gram BLEU score was used as the primary metric to evaluate caption correctness across dataset splits.
  • Specific examples showed that the model generalizes well over the temporal dimension of videos, maintaining relevance through action transitions.
  • Architectural modifications to the decoder improved sentence grammar and fluency, indicating the importance of decoder design in caption quality.
  • The model demonstrated robustness in generating accurate descriptions even when video scenes changed dramatically.
  • The encoder-decoder LSTM framework proved effective for many-to-many video-to-text sequence mapping in video captioning tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.