Paper commentary
Learning Spatiotemporal Features with 3D Convolutional Networks
C3D learns video features by convolving over space and time
- Problem Features from image-trained ConvNets miss motion, and 2D convolutions discard the time axis early. iDT models motion but is too slow for large video datasets.
- Method C3D swaps 2D convolutions for 3D convolutions in every layer, so time survives the whole network. It stacks small 3x3x3 kernels, and its fc6 activations become the video feature.
- Results C3D features with a linear SVM reached 85.2% on UCF101, against 76.2 for iDT. They also beat state-of-the-art methods on four benchmarks.
Why image features fall short for video
Video analysis covers many tasks, yet a single generic video descriptor is still missing. A common shortcut is to reuse the last fully connected activations of an image ConvNet, which transfer well to new tasks. Those features don't model motion, so they struggle on video.
Hand-crafted video methods do model motion, and iDT is the strongest of them. But iDT tracks densely sampled points with optical flow, which makes it computationally intensive and intractable on large datasets. Deep video models that do exist mostly stack 2D convolutions, so the temporal axis is lost early.
A useful descriptor also has to be compact and cheap to compute, since millions of videos must be stored, searched and processed. The goal is therefore a descriptor that is generic, compact, efficient and simple, and learned from data rather than hand-designed.
Keeping time with 3D convolution
The key idea is to let convolution and pooling run over time as well as space, so the output stays a volume instead of a flat image. A 2D convolution over a stack of frames treats the frames as channels, so its output is again an image and the time axis disappears. The Slow Fusion model in [18] is the exception, since it uses 3D convolutions in its first three layers, yet it still loses temporal information after the third layer.
The spatial receptive field is fixed at 3x3, following the finding that small kernels in deep 2D ConvNets work best. A kernel temporal depth of d means each 3D kernel spans d frames along time.
Searching kernel temporal depth
The search uses 16-frame non-overlapping clips, with frames resized to 128x171 and random 112x112 crops during training. Five convolution layers with 64, 128, 256, 256 and 256 filters each feed a pooling layer, followed by two fully connected layers of 2048 units. Homogeneous nets use depths 1, 3, 5 and 7, and two varying nets run 3-3-5-5-7 and 7-5-5-3-3 from the first to the fifth layer.
Depth-1 is the 2D case, since it applies 2D convolutions to separate frames. Depth-3 was the best homogeneous net, and depth-1 was clearly worse, which the authors attribute to missing motion modeling. Compared to the varying depth nets, depth-3 was still the best, but the gap was smaller.
Larger 5x5 spatial fields and full 240x320 inputs gave similar behaviour, which supports 3x3x3 kernels within the authors' subset of experiments. 3D ConvNets also beat 2D ConvNets on the internal I380K dataset.
The final C3D network and its training
The search favoured a homogeneous stack of 3x3x3 kernels, so C3D uses eight convolution layers with five pooling layers. All 3D pooling layers use 2x2x2 windows with stride 2, except pool1, which uses 1x2x2 with stride 1x2x2 to keep time in the early stage. Two fully connected layers with 4096 units feed a softmax, and the fc6 activations later become the video feature.
Training uses Sports-1M, about 1.1 million sports videos across 487 categories, which is 5 times the categories and 100 times the videos of UCF101. Optimization is SGD with mini-batches of 30 and an initial learning rate of 0.003, halved every 150K iterations, and it stops at 1.9M iterations, about 13 epochs.
One variant trains from scratch, and the other starts from a model pre-trained on I380K and then fine-tunes on Sports-1M.
Sports-1M results
The table reports video hit@5 of 84.4 for C3D from scratch and 85.2 for the I380K fine-tuned net. The text gives 85.5 for the fine-tuned net, so the table and text disagree on that one value. The fine-tuned C3D scored 85.2 video hit@5, compared to 80.2 for DeepVideo's Slow Fusion model.
Convolution pooling on 120-frame clips scored 90.8 video hit@5, above C3D. The authors note that this method uses much longer clips, so its clip-level numbers aren't directly comparable, and C3D is still 5.6% below it.
DeepVideo uses 4 crops per clip and 80 per video, compared with 1 and 10 for C3D.
From clips to one video vector
A video is split into 16-frame clips with an 8-frame overlap, and each clip passes through C3D to give fc6 activations. The clip fc6 activations are averaged into one 4096-dim vector and L2-normalized, which is the C3D video descriptor used in all experiments unless stated otherwise.
A multi-class linear SVM is then trained on these descriptors for each task. C3D is trained on Sports-1M and used as it is, without fine-tuning for the downstream tasks.
What the learned filters respond to
High-activation conv5b feature maps are projected back to image space with deconvolution, following the method of [46]. In these visualizations C3D first attends to appearance in the opening frames and then follows salient motion. The authors contrast this with optical flow, which responds to every moving pixel.
In the appendix, early conv2a filters capture low-level motion such as moving edges and blobs. conv3b filters capture larger moving patterns such as corners, textures and body parts, while conv5b captures more complicated motions, such as moving circular objects.
UCF101 action recognition
UCF101 has 13,320 videos from 101 action classes, and the evaluation uses its three train/test splits.
The 85.2 figure compares to 76.2 for iDT and 68.8 for Imagenet in Table 3. The authors read this as C3D capturing both appearance and motion, so adding Imagenet features gives only a 0.6% gain.
Combining C3D with iDT lifts accuracy to 90.4%, which the authors explain by iDT's low-level optical-flow cues complementing C3D's high-level features. With RGB input only, C3D scored 85.2, compared to 72.6 for the spatial stream network.
How compact the descriptor can be
The compactness test projects the features with PCA and classifies them with a linear SVM on UCF101. At 10 dimensions C3D scored 52.8%, while the authors put Imagenet and iDT at about 32%. At 50 and 100 dimensions C3D scored 72.6% and 75.6%, and at 500 dimensions it scored 79.4%.
The authors take this as evidence that the features are both compact and discriminative, which matters for large-scale retrieval. For a qualitative check, 100K UCF101 clips were embedded with t-SNE using fc6 features from C3D and Imagenet, without fine-tuning. The authors report that the C3D embedding separates the actions better than the Imagenet one.
Action similarity on ASLAN
ASLAN has 3,631 videos from 432 action classes, and the task is to tell whether two videos show the same action. For each pair, 12 distances per feature type give 48 values, which are normalized and fed to a linear SVM.
C3D scored 78.3 accuracy and 86.5 AUC under the prescribed 10-fold protocol. The Imagenet baseline, under the same pipeline, scored 67.5 accuracy and 73.8 AUC.
Scene and object recognition
YUPENN has 420 videos from 14 scene categories, and Maryland has 130 videos from 13 scene categories. The object task uses an egocentric dataset of 42 everyday object types, with first-person views unlike the training videos. A clip is discarded when its most frequent label covers fewer than 8 frames.
On Maryland, C3D scored 87.7, compared to 77.7 for the best prior method [9], and on YUPENN it scored 98.1, compared to 96.2. The second-best method uses complex encodings such as Fisher vectors, LLC and dynamic pooling, while C3D averages clip features with a linear SVM. Imagenet scored 87.7 on Maryland and 96.7 on YUPENN.
On the egocentric objects C3D scored 22.3%, compared to 12.0 for the method in Table 1. Imagenet still beat C3D by 3.4 points, and the authors attribute part of this to C3D's 128x128 input against Imagenet's 256x256.
Runtime against iDT and optical flow
The runtime test extracts features, including I/O, for the whole UCF101 dataset, comparing iDT and Brox's optical flow on CPU and Brox's flow on GPU, with C3D on a K40 GPU. The temporal stream network doesn't have a public model, so its timing is approximated through the Brox optical flow it relies on.
C3D ran at 313.9 fps, compared to 3.5 fps for iDT and 1.2 fps for Brox's GPU implementation. By the table's measures that is 91 times faster than iDT and 274 times faster than Brox's GPU version. The iDT comparison isn't fair, since iDT runs only on CPU, and the authors found no GPU version of iDT.
Input resolution appendix
The appendix compares 3D ConvNets with input resolutions of 64x64, 128x128 and 256x256, called net-64, net-128 and net-256. All kernels stay at 3x3x3, and net-128 is the depth-3 net from the main search.
Limitations
The 3x3x3 choice rests on the authors' subset of architecture runs, with larger spatial fields and full resolution checked only as extra tests. The large-scale check used only a smaller number of network experiments than the UCF101 search.
C3D needs iDT to beat two-stream networks, the other iDT-based methods and the long-term modeling method of [29]. On object recognition, Imagenet stays 3.4 points ahead, and C3D's lower input resolution is one cited cause. Sports-1M comparisons aren't like for like, because the Convolution pooling method uses 120-frame clips.
Paper info
- Authors
- Du Tran, Lubomir Bourdev, Rob Fergus, Lorenzo Torresani, Manohar Paluri
- Venue
- arXiv · Preprint
- First published
- 2014-12-2
- Added
- 2026-11-11
- Updated
- 2015-10-7
- Version
- v4
- arXiv
- 1412.0767
- 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
Du Tran, Lubomir Bourdev, Rob Fergus, Lorenzo Torresani, Manohar Paluri (2014). Learning Spatiotemporal Features with 3D Convolutional Networks. arXiv:1412.0767v4. https://arxiv.org/abs/1412.0767v4
BibTeX
@misc{tran2014learning,
title = {{Learning Spatiotemporal Features with 3D Convolutional Networks}},
author = {Du Tran and Lubomir Bourdev and Rob Fergus and Lorenzo Torresani and Manohar Paluri},
year = {2014},
eprint = {1412.0767},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1412.0767v4}
}