Abstract
Real-world videos often have complex dynamics, methods for generating open-domain video descriptions should be sensitive to temporal structure and allow both input (sequence of frames) and output (sequence of words) of variable length. To approach this problem we propose a novel end-to-end sequence-to-sequence model to generate captions for videos. For this we exploit recurrent neural networks, specifically LSTMs, which have demonstrated state-of-the-art performance in image caption generation. Our LSTM model is trained on video-sentence pairs and learns to associate a sequence of video frames to a sequence of words in order to generate a description of the event in the video clip. Our model naturally is able to learn the temporal structure of the sequence of frames as well as the sequence model of the generated sentences, i.e. a language model. We evaluate several variants of our model that exploit different visual features on a standard set of YouTube videos and two movie description datasets (M-VAD and MPII-MD).
Introduction
Generating natural language descriptions for video is a significant challenge in computer vision and linguistics. Unlike static image captioning, video captioning requires understanding temporal dynamics—how objects move and interact over time. Traditional approaches often relied on mean-pooling frame features, which discards chronological information, or rigid template-based systems that lack linguistic flexibility.
This paper introduces S2VT (Sequence-to-Sequence Video-to-Text), an end-to-end deep learning model that translates video directly into natural language sentences. By leveraging a stacked Long Short-Term Memory (LSTM) architecture, S2VT handles variable-length inputs and outputs while capturing the crucial temporal evolution of scenes.
The S2VT Architecture
The core innovation of S2VT is its ability to map a sequence of video frames to a sequence of words using a unified framework. The model utilizes pre-trained Convolutional Neural Networks (CNNs), such as AlexNet or VGG-16, to extract visual features from raw RGB frames. To enhance motion understanding, the authors also incorporate optical flow information, passing "flow images" through a separate action-pretrained CNN.
The visual features are then fed into a stacked LSTM. This architecture allows the model to learn which visual cues are most relevant for description in an end-to-end fashion.
Sequence-to-Sequence Learning
The S2VT model operates in two distinct phases: an encoding stage and a decoding stage. This sequence-to-sequence approach, originally successful in machine translation, is adapted here for cross-modal translation from pixels to text.
- Encoding Stage: The model "watches" the video. During this phase, the first LSTM layer receives visual features frame-by-frame. The second LSTM layer receives "null" padding for text because it is not yet generating words.
- Decoding Stage: Once the video sequence ends, the model begins "writing." The first layer now receives "null" padding, while the second layer generates words one by one, conditioned on the visual "memory" (hidden state) accumulated during the encoding stage.
Weight sharing across both stages helps the language model remain grounded in the visual context. A key finding was that temporal order is vital; shuffling frames during training significantly degrades performance, confirming that the LSTM successfully learns chronological dynamics.
Experimental Results
S2VT was evaluated on three major benchmarks: the Microsoft Video Description (MSVD) corpus, and two movie description datasets, MPII-MD and M-VAD. Movie datasets are particularly challenging due to their stylistic and context-dependent descriptions.
S2VT achieved state-of-the-art results at the time:
- MSVD: Reached a 29.8% METEOR score, surpassing mean-pooling (29.1%) and template-based models (23.9%).
- Movie Datasets: Outperformed contemporaneous models, demonstrating robustness in complex, open-domain environments.
- Feature Fusion: Combining RGB frames with optical flow (shallow fusion) consistently yielded the best performance, as it captures both scene content and action.
Conclusion and Future Work
While S2VT represents a major step forward in end-to-end video captioning, it faces limitations such as occasional "hallucinations" of objects and difficulty distinguishing between subtle activities (e.g., walking vs. running). The authors suggest that incorporating explicit attention mechanisms—allowing the model to focus on specific regions or frames—could further enhance performance. Despite these challenges, S2VT established a powerful baseline for sequence-to-sequence video understanding.
Summary updated