Paper commentary
Long-term Recurrent Convolutional Networks for Visual Recognition and Description
Recurrent convolutional networks learn temporal structure for video recognition and description
- Problem Video models either fix the visual features or average simple frame statistics, so they cannot learn how an action unfolds over time. Plain RNNs also struggle to learn long-range dependencies because gradients vanish.
- Method LRCN runs a CNN on each frame and feeds the features into stacked LSTMs. Unlike fixed pipelines, both parts are trained jointly, end to end, so the visual features learn what matters for the sequence task.
- Results On UCF101 with flow input, LRCN-fc6 scored 77.28, compared to 74.37 for the single frame model.
Why frame-based video models stall
Most video models either fix the visual representation or average simple temporal statistics over a clip. That leaves no learned temporal structure, so the model can't follow how an action unfolds over time. Recurrent networks could close that gap, since they are deep in time and build compositional states across steps. Simple RNNs suffer from vanishing gradients, so an error signal rarely travels far back through a long interval.
LSTM units add gates that let state pass through unchanged or be reset, which is why the authors build on them.
The output side has the same mismatch, because describing an image or video needs variable-length text. A fixed-output classifier can't produce a full sentence, so the design has to handle both ends of the sequence.
The LRCN recurrence, step by step
The core idea is to keep a CNN as the per-frame feature extractor and let an LSTM model the order of those features. Both parts are trained together, so the visual parameters can learn what matters for the sequence task.
At each step, a feature transform with parameters V, usually a CNN, maps the input x_t to a fixed-length vector. A recurrent module with parameters W then takes that vector and the previous hidden state h_(t-1) and produces an output z_t and a new state h_t. Inference runs in order, starting from h_1 computed from x_1 and a zero initial state.
A linear layer on z_t followed by a softmax gives a distribution over the label set C at that step. Because W is reused at every step, the parameter count doesn't grow with the sequence length.
Training minimizes the average negative log likelihood of the ground-truth outputs, written as L(V,W,D) over the training set D. Gradients flow through both the CNN and the LSTM stack, which is what makes training end-to-end.
Adapting the recurrence to three task classes
The generic formulation assumes equal input and output lengths, which doesn't fit most of the three task classes. For activity recognition, the per-step predictions are merged late into one label for the whole sequence.
For captioning, the static image is repeated at every time step, so the sequence model gets the same visual input throughout. For video description, an encoder reads the T inputs and a decoder unrolls the T' outputs, which can differ in length. Such a run takes T+T'-1 steps in total, with the decoder idle until the encoder finishes.
Activity recognition on UCF101
Each frame of a 16-frame clip passes through the convnet, and the flow input is turned into a three-channel flow image. At test time the model extracts clips with a stride of 8 frames and averages across clips from each video. The CNN base is pretrained on ILSVRC-2012, which gives a strong start for the small video datasets.
With RGB input, LRCN-fc6 scored 68.20, compared to 67.37 for the single frame model. With flow input, the gap is larger: 77.28 for LRCN-fc6 compared to 74.37 for the single frame model. This suggests the temporal layer adds more on motion input than on appearance alone, within this comparison.
On the validation split, 1024 hidden units beat 256 by 1.7% with flow input. The authors therefore used 1024 units for flow and 256 for RGB. Using fc6 features instead of fc7 raised flow accuracy by 1% on the same validation split.
Averaging RGB and flow scores with weights 1/3 and 2/3 gave 82.34, compared to 78.94 for the single frame model. These are averages across the three UCF101 splits, so they summarize all three test partitions.
Flickr30k and COCO retrieval
Retrieval is scored by recall at K and by Medr, the median rank of the first correct match. The authors tested on Flickr30k and COCO 2014, each with five captions per image.
On Flickr30k, LRCN2f reached an R@1 of 17.5 for caption to image, compared to 11.8 for the ConvNet baseline. For image to caption, LRCN2f reached 23.6, compared to 14.8 for the same ConvNet.
The VGGNet-based ConvNet in [31] outperforms LRCN on this retrieval task. The authors note that VGGNet is a stronger convolutional network than the one they used, so the sequence-model comparison is best made against the ConvNet.
On the COCO subset, LSTM units beat vanilla RNNs, and the two-layer factored model is the one that did best. A fine-tuned VGGNet with factored LSTMs reached an R@1 of 39.3 for caption to image. Without fine-tuning, CaffeNet with the same factored two-layer LSTM reached 25.0.
Caption generation on COCO 2014
CIDEr-D was designed specifically to evaluate image captioning, while BLEU and METEOR come from machine translation. Greedy decoding is beam search with width 1, and a wider beam keeps the N most likely partial captions at each step. Among beam widths, 3 to 5 gave the best numbers, and performance saturated quickly.
The best sampling setting used N=100 samples with temperature T=1.5 on the softmax inputs. Sampling with that setting, LRCN2f scored 0.934 CIDEr-D on the test set, compared to 0.946 for NIC. That ranks fourth on CIDEr-D and third on METEOR, at 0.335 compared to 0.346 for NIC.
Fine-tuning improves CIDEr-D by about 0.04 for CaffeNet and about 0.07 for VGGNet. Switching from fine-tuned CaffeNet to VGGNet adds another 0.13 points.
Video description on TACoS multilevel
A second variant feeds the full visual representation to the decoder at each step, and a third feeds CRF probabilities instead of max labels.
TACoS multilevel has 44,762 video and sentence pairs, and the authors used the two-layer unfactored LRCN. They compared against the max-prediction SMT of [11] and the probability-based variant in [48].
The CRF-probability decoder reached a BLEU-4 of 28.8, compared to 26.9 for the SMT variant with CRF probabilities. The max-prediction decoder with the full visual input scored 27.4, compared to 24.9 for the SMT baseline. The authors attribute the gain of the decoder variants over the encoder-decoder to the input not having to be memorized.
Limitations
The video description pipeline isn't end-to-end trainable, because the CRF produces the semantic inputs before the LSTM runs. The CNN and LSTM weights are optimized jointly only in the recognition and captioning settings.
Video description was tested only on TACoS multilevel, and only with one two-layer unfactored variant. On Flickr30k retrieval, the VGGNet-based ConvNet outperforms LRCN.
Subsampling the frames fed to the LSTM hurt performance, and aggressive dropout of 0.9 was needed in end-to-end training. Hyperparameters were explored on a validation split carved from the first UCF101 training split.
Paper info
- Authors
- Jeff Donahue, Lisa Anne Hendricks, Marcus Rohrbach, Subhashini Venugopalan, Sergio Guadarrama, Kate Saenko, Trevor Darrell
- Venue
- arXiv · Preprint
- First published
- 2014-11-17
- Added
- 2026-11-11
- Updated
- 2016-5-31
- Version
- v4
- arXiv
- 1411.4389
- Category
- cs.CV
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Jeff Donahue, Lisa Anne Hendricks, Marcus Rohrbach, Subhashini Venugopalan, Sergio Guadarrama, Kate Saenko, Trevor Darrell (2014). Long-term Recurrent Convolutional Networks for Visual Recognition and Description. arXiv:1411.4389v4. https://arxiv.org/abs/1411.4389v4
BibTeX
@misc{donahue2014long,
title = {{Long-term Recurrent Convolutional Networks for Visual Recognition and Description}},
author = {Jeff Donahue and Lisa Anne Hendricks and Marcus Rohrbach and Subhashini Venugopalan and Sergio Guadarrama and Kate Saenko and Trevor Darrell},
year = {2014},
eprint = {1411.4389},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1411.4389v4}
}