Paper commentary
Two-Stream Convolutional Networks for Action Recognition in Videos
Two separate ConvNets for appearance and motion beat earlier deep video models
- Problem Deep ConvNets fed stacked video frames fell well short of the best hand-crafted video representations. The network had to discover motion from raw frames by itself, and it mostly failed to do so.
- Method The Two-Stream ConvNet gives appearance and motion their own networks. The spatial net sees single frames, the temporal net sees stacked optical flow, and their softmax scores are fused with an SVM.
- Results The two-stream model with SVM fusion scored 88.0% on UCF-101, averaged over three splits. That is compared to 85.9% for improved dense trajectories.
Why stacked frames stalled
Deep ConvNets struggle with video because the network has to discover motion from raw frames by itself. Most earlier deep video models fed a stack of consecutive frames to the network and hoped the early layers would learn motion-dependent filters. That route did poorly in practice, and the stacked-frame model from prior work was clearly worse than the best hand-crafted shallow representations.
A network that looked at single frames performed about as well as one that saw a stack, and the authors read this as a hint that the learnt features miss motion. The learnt representation, fine-tuned on UCF-101, was 20% less accurate than the hand-crafted trajectory-based representation it was compared against.
Splitting appearance and motion into two streams
The key idea is to give appearance and motion their own ConvNets and combine their verdicts at the end. A single frame carries scene and object cues, which help when an action is tied to particular objects. Motion needs a different input, so the authors feed the second network optical flow, which states the movement between frames explicitly.
The spatial stream is an ordinary image classifier on single frames, so it can be pre-trained on large still-image data before it sees video. The temporal stream instead receives stacked flow fields and is trained on video frames. Because the two streams are decoupled, each can be trained on its own, and they meet only at the level of their softmax scores.
The authors fuse those scores either by averaging them or by a multi-class linear SVM applied to stacked L2-normalised softmax scores.
How the motion input is built
Each optical flow field has a horizontal component dx and a vertical component dy, and the authors treat each one as an image channel. For a window of L consecutive frame pairs, they stack the two components of every flow, which gives 2L channels at each position. \[ I_\tau(u,v,2k-1)=dx_{\tau+k-1}(u,v),\qquad I_\tau(u,v,2k)=dy_{\tau+k-1}(u,v) \] Here \(I_\tau\) has size \(w\times h\times 2L\), and odd channels hold dx while even channels hold dy for each flow in the window.
Trajectory stacking changes where the values are read from. Instead of reading each flow at the same (u,v) in every frame, the authors follow the point along its motion. \[ p_1=(u,v),\qquad p_k=p_{k-1}+d_{\tau+k-2}(p_{k-1}),\quad k>1 \] The flow values sampled at those points, rather than at fixed locations, fill the channels, which borrows the idea of trajectory-based hand-crafted descriptors.
Bi-directional flow keeps the channel count at 2L by using L/2 forward flows and L/2 backward flows. Mean flow subtraction addresses a different problem, because a single camera pan can dominate a whole flow field. The authors subtract the mean vector from each displacement field, which they describe as simpler than estimating and removing a global motion term.
Since the network needs a fixed input size, a 224\times 224\times 2L sub-volume is cropped from the full volume.
Architecture, training and test-time scoring
Both streams use the CNN-M-2048 layout from prior work, with ReLU activations and 3\times 3 max pooling at stride 2. The temporal net drops the second normalisation layer to reduce memory use. Weights are learnt with mini-batch stochastic gradient descent with momentum set to 0.9.
Each batch holds 256 videos drawn uniformly across classes, and one random frame is taken from each video. For the spatial net, a 224\times 224 crop is sampled from the whole frame rather than only its centre, and it is flipped and colour-jittered.
Pre-training the spatial net on ILSVRC-2012 with this augmentation gives 13.5% top-5 error on the validation set, compared to 16.0% for a similar network in prior work. The authors attribute most of that gain to sampling inputs from the whole image instead of just its centre. At test time, 25 frames are sampled with equal spacing, and each gives 10 ConvNet inputs from four corner crops, a centre crop and their flips.
Class scores are averaged over all sampled frames and crops.
Flow is precomputed because the GPU implementation takes about 0.06s per frame pair, which would bottleneck training if computed on the fly. Rescaling the flow to a [0, 255] range and compressing it with JPEG cut the UCF-101 flow storage from 1.5TB to 27GB. Splitting each batch across 4 NVIDIA Titan cards makes one temporal ConvNet take 1 day, a 3.2 times speed-up over single-GPU training.
Multi-task learning across the two datasets
UCF-101 has 9.5K training videos per split and HMDB-51 has 3.7K, which is small for training a deep temporal net. Merging the two datasets is hard because their class sets intersect, and borrowing only non-overlapping classes requires manual search. Multi-task learning instead puts two softmax classification layers on top of the last fully connected layer, one for HMDB-51 and one for UCF-101.
Each softmax layer has its own loss, computed only on videos from its own dataset. The total training loss is the sum of the two losses, and back-propagation gives the weight derivatives for the shared layers. The authors describe the second task as a regulariser that lets the representation exploit extra training data.
Do the input configurations hold up?
Training the spatial net from scratch on UCF-101 gave 42.5% at dropout 0.5 and 52.3% at dropout 0.9. Starting from ILSVRC-2012 pre-training, fine-tuning gave 70.8% and 72.8%, while training only the last layer gave 72.7% at 0.5 and 59.9% at 0.9. The authors read the scratch results as over-fitting, and they found that high dropout over-regularises the last-layer-only setting.
Fine-tuning the whole network gained only marginally over training the last layer alone.
All temporal runs were trained from scratch on UCF-101 split 1 with dropout 0.9, so the comparison isolates the input choice. A single-frame flow scored 73.9%, while stacking 5 flows raised it to 80.4% and 10 flows to 81.0% with mean subtraction on. Going from 5 to 10 flows gave a smaller improvement, so the authors fixed L at 10 for later runs.
Mean subtraction raised the L=10 result from 79.9% to 81.0%, which the authors take as evidence that it reduces global motion. Trajectory stacking scored 80.2% with mean subtraction, below 81.0% for optical flow stacking, and bi-directional flow scored 81.2%, only slightly above uni-directional stacking.
The best temporal setting (81.0%) sits well above the best spatial setting (72.8%), which the authors take as a sign that motion carries much of the signal. The authors also trained a slow fusion style network on 11 stacked RGB frames from scratch and got 56.4%, compared to 52.3% for a single frame net trained from scratch. That is still far below the flow-based temporal net, so the authors conclude that presenting multi-frame information in the right form matters as well.
Does multi-task training help?
On HMDB-51 split 1, the temporal net trained on HMDB-51 alone without extra data scored 46.6%. Fine-tuning a UCF-101 pre-trained net gave 49.0%, adding UCF-101 classes gave 52.8%, and multi-task learning gave 55.4%. Multi-task learning comes out on top because it lets training use all the available UCF-101 data, not just borrowed classes or pre-training.
Training on the full HMDB-51 data as a second task gave 81.5% on UCF-101 split 1. That is compared to 81.0% for the same setting without the HMDB-51 task, a small gain measured on a single split.
How the two streams are fused
Joint fully connected layers over the two nets were not feasible because they over-fitted, so the authors fused softmax scores instead. With bi-directional flow, averaging gave 85.6%, while uni-directional averaging gave 85.9%. Adding multi-task training to the temporal net raised averaging to 86.2%, and an SVM on the same scores gave 87.0%.
The authors report gains of 6% over the temporal net and 14% over the spatial net, so the two streams are complementary.
Comparison with prior work on three splits
Averaged over three official splits, the two-stream model with SVM fusion scored 88.0% on UCF-101 and 59.4% on HMDB-51. On UCF-101 that is compared to 85.9% for improved dense trajectories (IDT), and on HMDB-51 it is compared to 57.2% for the same IDT row. IDT with higher-dimensional encodings scored 61.1% on HMDB-51, so the two-stream model does not lead on that dataset.
Averaging gave 86.9% on UCF-101 and 58.0% on HMDB-51.
The spatial stream alone scored 73.0% and 40.5%, and the temporal stream alone scored 83.7% and 54.6%. Both single streams are well above the slow fusion network (65.4% on UCF-101) and the spatio-temporal HMAX network (22.8% on HMDB-51). The 65.4% slow fusion row is the number from prior work, and it is not the authors' own from-scratch slow fusion run, which scored 56.4%.
Limitations
The spatial pooling does not follow the trajectories, so the local feature pooling over spatio-temporal tubes used by the strongest shallow model is missing. Camera motion is handled only by mean displacement subtraction, not by explicit compensation. The authors judge training on raw stacked frames probably too challenging without architectural changes.
Extra training data helps the temporal net, but the authors did not train on the 1.1M-video Sports-1M collection, which they describe as very challenging to process. All reported results use UCF-101 and HMDB-51, and most ablations use split 1 only. The worst class on UCF-101 is Hammering, which the spatial net confuses with HeadMassage because of many faces, and the temporal net confuses with BrushingTeeth because both show repeated up-and-down hand motion.
Paper info
- Authors
- Karen Simonyan, Andrew Zisserman
- Venue
- arXiv · Preprint
- First published
- 2014-6-9
- Added
- 2026-11-6
- Updated
- 2014-11-12
- Version
- v2
- arXiv
- 1406.2199
- 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
Karen Simonyan, Andrew Zisserman (2014). Two-Stream Convolutional Networks for Action Recognition in Videos. arXiv:1406.2199v2. https://arxiv.org/abs/1406.2199v2
BibTeX
@misc{simonyan2014stream,
title = {{Two-Stream Convolutional Networks for Action Recognition in Videos}},
author = {Karen Simonyan and Andrew Zisserman},
year = {2014},
eprint = {1406.2199},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1406.2199v2}
}