Long-term recurrent convolutional networks for visual recognition and description

Jeff Donahue, Lisa Anne Hendricks, Sergio Guadarrama, Marcus Rohrbach, Subhashini Venugopalan, Trevor Darrell, Kate Saenko

Abstract

Models based on deep convolutional networks have dominated recent image interpretation tasks; we investigate whether models which are also recurrent, or “temporally deep”, are effective for tasks involving sequences, visual and otherwise. We develop a novel recurrent convolutional architecture suitable for large-scale visual learning which is end-to-end trainable, and demonstrate the value of these models on benchmark video recognition tasks, image description and retrieval problems, and video narration challenges. In contrast to current models which assume a fixed spatio-temporal receptive field or simple temporal averaging for sequential processing, recurrent convolutional models are “doubly deep” in that they can be compositional in spatial and temporal “layers”. Such models may have advantages when target concepts are complex and/or training data are limited. Learning long-term dependencies is possible when nonlinearities are incorporated into the network state updates. Long-term RNN models are appealing in that they directly can map variable-length inputs (e.g., video frames) to variable length outputs (e.g., natural language text) and can model complex temporal dynamics; yet they can be optimized with backpropagation. Our recurrent long-term models are directly connected to modern visual convnet models and can be jointly trained to simultaneously learn temporal dynamics and convolutional perceptual representations. Our results show such models have distinct advantages over state-of-the-art models for recognition or generation which are separately defined and/or optimized.

Introduction

In the landscape of 2015 computer vision, Convolutional Neural Networks (CNNs) had already established dominance in static image recognition. However, the field faced significant hurdles when dealing with "temporally deep" data—sequences such as video or natural language. Traditional approaches often relied on fixed-length temporal windows or simple averaging of frame-level features, which failed to capture the complex, long-term dynamics inherent in video. Furthermore, bridging the gap between static pixels and variable-length natural language (as required for captioning) remained a challenge. This paper introduces the LRCN (Long-term Recurrent Convolutional Network), a unified architecture designed to handle variable-length inputs and outputs by learning spatial and temporal representations simultaneously.

The LRCN Architecture

The core innovation of LRCN is its "doubly deep" structure, which is compositional in both space (via CNN layers) and time (via LSTM layers). The pipeline operates in three primary stages:

  1. Spatial Perception: Each frame of a video or a static image is passed through a CNN to produce a fixed-length feature vector.
  2. Temporal Learning: These vectors are fed into a stack of Long Short-Term Memory (LSTM) units. Unlike standard RNNs, LSTMs utilize specialized "gates" to manage memory, enabling the model to learn long-term dependencies without the vanishing gradient problem.
  3. End-to-End Training: Crucially, the entire model is end-to-end trainable. Loss is backpropagated through the LSTMs and directly into the CNN, allowing visual features to be fine-tuned specifically for sequential tasks.
The LRCN architecture: CNNs extract spatial features from input frames, which are then processed by LSTM layers to model temporal dynamics and generate predictions.

Versatile Task Configurations

One of the primary strengths of the LRCN framework is its flexibility. The authors demonstrate three specific configurations based on the nature of the input and output sequences:

  • Sequential Input, Fixed Output: Used for tasks like Activity Recognition, where a sequence of video frames is mapped to a single activity label.
  • Fixed Input, Sequential Output: Used for Image Description, where a single static image generates a sequence of words forming a sentence.
  • Sequential Input, Sequential Output: Used for Video Description, where a sequence of frames is mapped to a sequence of words (narration).
LRCN is a flexible framework that can be adapted for activity recognition (many-to-one), image description (one-to-many), and video description (many-to-many).

Experimental Results

The LRCN model was evaluated across several rigorous benchmarks, demonstrating significant improvements over contemporary methods:

  • Activity Recognition (UCF-101): The model achieved an accuracy of 82.9% when combining RGB and optical flow data, improving upon single-frame baselines by approximately 5%.
  • Image Captioning (Flickr30k & COCO2014): LRCN outperformed the then-state-of-the-art m-RNN model in BLEU scores, particularly showing superior performance in generating fluent, natural language sentences.
  • Video Description (TACoS): On cooking video narrations, LRCN achieved a BLEU-4 score of 28.8%, notably surpassing traditional Statistical Machine Translation (SMT) approaches that relied on hand-designed templates.

Conclusion

LRCN represents a landmark shift toward integrated spatio-temporal modeling. By allowing the sequential task to influence the visual representation through end-to-end training, the authors proved that "doubly deep" architectures are superior to models that treat vision and sequence modeling as separate, decoupled stages. While the model still benefits significantly from pre-computed optical flow, it sets the stage for future systems capable of complex storytelling and real-world interaction through natural language.

Summary updated

BibTeX
@inproceedings{donahue2015long,
  author = {Jeff Donahue and Lisa Anne Hendricks and Sergio Guadarrama and Marcus Rohrbach and Subhashini Venugopalan and Trevor Darrell and Kate Saenko},
  title = {{Long-term recurrent convolutional networks for visual recognition and description}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  url = {https://openreview.net/forum?id=r1-njyfOZB},
}
Figure