TSN (Temporal Segment Networks) is a framework that splits a video into several segments of equal length, samples one short snippet from each segment, passes them through the same CNN, and trains at the video level on the average (consensus) of their scores. It was presented at ECCV 2016 by Wang et al. of ETH Zurich, the Chinese University of Hong Kong, and other institutions.
Its foundation is Two-Stream ConvNets. However, Two-Stream ConvNets looked at only one frame (or 10 stacked optical-flow pairs) from a video at each training step and could not use for training the flow of an action that unfolds over several seconds (for example, the run-up, takeoff, and landing of a high jump). Prior work that looked at long time spans fed densely stacked frames, which was computationally heavy and limited the viewable length to about 64–120 frames.
TSN answered this with the following ideas.
- Neighboring frames are nearly identical, so dense viewing is unnecessary: The whole video is split into segments, and only one snippet is chosen from each (sparse sampling). No matter how long the video is, the computation covers only snippets.
- The loss is computed at the video level: The loss is computed on the "consensus" that combines the scores of the snippets, so information from the entire video is used in each update.
The paper also compiles good practices for training deep CNNs on limited video data.
- Input modalities: In addition to RGB, it tried RGB differences and optical flow with camera motion compensated (warped flow).
- Cross-modality pretraining: The optical-flow network is also initialized from an ImageNet model trained on RGB.
- Partial BN and dropout: The statistics of Batch Normalization are frozen in all but the first layer to curb overfitting.
- Data augmentation: Corner cropping, and cropping with varying scale and aspect ratio.
The main results of the paper are 94.2% on UCF-101 and 69.4% on HMDB-51 (averaged over 3 splits), both new state-of-the-art results at the time. The arXiv version states that this approach won the ActivityNet 2016 challenge (classification of untrimmed videos). TSN has since remained a baseline model for video recognition with 2D CNNs, including TSM.

