Source-linked AI summary

StNet: Local and Global Spatial-Temporal Modeling for Action Recognition

Dongliang He, Zhichao Zhou, Chuang Gan, Fu Li, Xiao Liu, Yandong Li, Limin Wang, Shilei Wen

arXiv:1811.01549v3cs.CV

TL;DR

Action-recognition models face challenges in learning discriminative spatial-temporal video representations, while common approaches have limitations in temporal modeling or computational cost. StNet combines super-image 2D convolutions with temporal convolutions and a temporal Xception block; it outperforms several state-of-the-art approaches on Kinetics, with better efficiency and accuracy than 3D CNN counterparts.

  • Problem

    Action recognition still needs discriminative spatial-temporal representations, while CNN+RNN optimization and 2D or 3D ConvNet approaches have identified limitations.

    Source: §1 · pp. 1–2
  • Method

    StNet stacks successive frames into super-images for local spatial-temporal 2D convolution, then applies temporal convolution, including a temporal Xception block, to model temporal relationships.

    Source: §1 · p. 2, §3 · pp. 3–4
  • Results

    StNet outperforms several state-of-the-art 2D and 3D convolutional approaches on Kinetics, with better FLOPs efficiency and recognition accuracy than its 3D CNN counterparts.

    Source: §1 · p. 2
  • Takeaways & Limitations

    The authors conclude that StNet's design is relatively lightweight and computationally efficient while enabling the use of powerful 2D CNNs on large-scale datasets.

    Source: §5 · p. 7

Abstract

from arXiv · show

Despite the success of deep learning for static image understanding, it remains unclear what are the most effective network architectures for the spatial-temporal modeling in videos. In this paper, in contrast to the existing CNN+RNN or pure 3D convolution based approaches, we explore a novel spatial temporal network (StNet) architecture for both local and global spatial-temporal modeling in videos. Particularly, StNet stacks N successive video frames into a \emph{super-image} which has 3N channels and applies 2D convolution on super-images to capture local spatial-temporal relationship. To model global spatial-temporal relationship, we apply temporal convolution on the local spatial-temporal feature maps. Specifically, a novel temporal Xception block is proposed in StNet. It employs a separate channel-wise and temporal-wise convolution over the feature sequence of video. Extensive experiments on the Kinetics dataset demonstrate that our framework outperforms several state-of-the-art approaches in action recognition and can strike a satisfying trade-off between recognition accuracy and model complexity. We further demonstrate the generalization performance of the leaned video representations on the UCF101 dataset.

1 Introduction

StNet combines local spatial-temporal modeling with temporal convolution to build global video representations. The paper reports stronger Kinetics recognition than several state-of-the-art 2D and 3D convolutional approaches, with efficiency advantages over 3D CNN counterparts.

1 Introduction

  • Action recognition needs both local appearance cues and global spatial-temporal clues, as illustrated by distinguishing bricks from stones and stacking cards from flying cards.The introduction motivates automated video understanding for applications including recommendation, behavior analysis, and surveillance.Source: §1 · p. 1
  • CNN+RNN approaches separate spatial and temporal modeling, making end-to-end optimization difficult; separately training their components is not optimal for integrated representations.The paper also identifies limits of 2D methods for temporal patterns and the size and computation costs of deep 3D ConvNets.Source: §1 · pp. 1–2
  • StNet models local spatial-temporal patterns with 2D convolution on super-images, then applies temporal convolution to feature maps to capture global relationships.Its temporal Xception block separates channel-wise and temporal-wise 1D convolutions, aiming for smaller models and higher computational efficiency than score averaging.Source: §1 · p. 2
  • On Kinetics, StNet outperforms several state-of-the-art 2D and 3D convolutional approaches, with better FLOPs efficiency and recognition accuracy than its 3D CNN counterparts.The learned representation is also transferred to UCF101 to examine generalization.Source: §1 · p. 2

2 Related Work

Prior action-recognition work uses hand-crafted features or deep ConvNets, with deep methods modeling video through feature-sequence encoding or convolutional recognition. StNet differs by progressively modeling spatial-temporal relations with temporal convolution over local spatial-temporal feature maps.

2 Related Work

  • Hand-crafted features such as HOG3D, SIFT3D, and MBH describe local spatial-temporal patterns but are characterized as difficult to extend to semantic-level concepts.The related-work overview contrasts them with deep ConvNet methods, which had achieved superior accuracy to conventional hand-crafted methods.Source: §2 · p. 2
  • Feature-encoding approaches model sequences of CNN spatial features with recurrent networks or methods such as temporal linear encoding, VLAD, and AttentionClusters.LRCN feeds frame-level CNN features into an LSTM, while TLE captures interactions between video segments.Source: §2 · p. 2
  • ConvNet recognizers include two-stream RGB-and-flow score fusion, residual connections between streams, and TSN's sparse temporal sampling for video-level supervision.C3D uses 3D filters, while P3D decouples them into spatial and temporal convolutions.Source: §2 · pp. 2–3
  • StNet progressively models spatial-temporal relationships by applying temporal convolution to local spatial-temporal feature maps, unlike methods that inflate 2D ConvNets into 3D networks.The illustrated ResNet construction uses 2D convolution for local patterns and inserts 3D convolutions after Res3 and Res4 for longer-term dynamics.Source: §2 · p. 3, Figure 2 · p. 3

3 Proposed Approach

StNet builds local spatial-temporal features from super-images, then models global temporal relationships with temporal convolutions. Its Temporal Xception block separates channel-wise and temporal-wise operations for efficient temporal modeling.

Implementation

  • StNet can be built on existing 2D ConvNet backbones such as ResNet, with temporal-block convolution weights initialized to 1/(3 × Ci) and biases to 0.The BN3d layer is initialized as an identity mapping.Source: §3 · pp. 3–4

Super-Image

  • StNet samples T segments of N consecutive RGB frames, stacks each segment into a 3N-channel super-image, and applies 2D convolution to model local spatial-temporal relationships.In the described setting, N is 5.Source: §3 · p. 3

Temporal Modeling Block

  • Two temporal modeling blocks after Res3 and Res4 use temporal kernel size 3 and spatial kernel size 1 to capture long-range dynamics with limited extra computation.The blocks operate on feature maps generated from the T super-images.Source: §3 · p. 3

Temporal Xception Block

  • The Temporal Xception block decouples temporal convolution into channel-wise operations within individual channels and temporal-wise operations across channels at each time step.The design is intended to support computational efficiency and end-to-end optimization.Source: §3 · p. 4
  • The Temporal Xception block combines a short branch with temporal receptive field 1 and a long branch with receptive field 5, then temporally max-pools its output for classification.The long branch contains two channel-wise 1D convolution layers; the short branch uses one temporal-wise 1D convolution.Source: §3 · p. 4, Figure 3 · p. 4

Ablation Study

  • Table 1 describes TXN ablations on Kinetics400, reporting Prec@1 and model parameter count for configurations using channel-wise and temporal-wise 1D convolutions.Source: Table 1 · p. 5

4 Experiments

The experiments evaluate StNet’s accuracy and efficiency on Kinetics, study its components, and test transfer to UCF101. They also compare activation maps to examine which video regions StNet emphasizes.

4.1 Datasets and Evaluation Metric

  • Kinetics400 and Kinetics600 results use validation sets; UCF101 transfer evaluation reports mean class accuracy across three splits, alongside model parameters and FLOPs.Source: §4.1 · p. 5

4.2 Ablation Study

  • With all components enabled, Kinetics600 validation Prec@1 reaches 76.3%, after super-image adds 2.0% and temporal modeling blocks bring it to 76.0%.The TSN configuration without the three components reaches 72.2%.Source: Table 2 · p. 5, Impact of Each Component in StNet · pp. 5–6
  • On RGB features, TXB achieves the best top-1 accuracy among tested models with 4.6 million parameters, gaining up to 1.6 percentage points over backbone TSN.The ablation also reports a 1.07% absolute top-1 improvement from batch normalization for the RGB stream.Source: Temporal Xception Block · p. 5

4.3 Comparison with Other Methods

  • StNet reports strong accuracy-compute trade-offs: IRv2 reaches Prec@1 78.99% versus TSN-IRv2’s 76.22%, while ResNet101 achieves 71.38% with over 5x FLOPs reduction versus C3D’s 10-clip setting.The comparisons use Kinetics validation results and RGB modality only.Source: Table 3 · p. 6, §4.3 · pp. 6–7

4.4 Transfer Learning on UCF101

  • Kinetics-pretrained StNet transfers to UCF101, reaching mean class accuracies of 93.5%, 94.3%, and 95.7% with ResNet50, ResNet101, and IRv2; IRv2 is state-of-the-art at 123G FLOPs.The mean class accuracy is averaged over UCF101’s three splits.Source: §4.4 · p. 7, Table 4 · p. 7

4.5 Visualization in StNet

  • Compared with TSN, StNet’s activation maps focus more on action-related spatial-temporal regions, such as eyebrow-pencil areas and poker hands and tokens.The visualization includes hoverboarding, golf driving, eyebrow filling, and poker examples.Source: §4.5 · p. 7, Figure 4 · p. 7

5 Conclusion

StNet jointly models local and global spatial-temporal information using super-image 2D convolutions and temporal convolutions, including a temporal Xception block. The paper reports efficient computation, effectiveness on Kinetics, and transfer learning ability on UCF101.

5 Conclusion

  • StNet models local spatial-temporal information with 2D convolutions on sampled super-images and global temporal interactions with temporal convolutions on their feature maps.It also proposes a temporal Xception block to model temporal dynamics.Source: §5 · p. 7
  • The design makes StNet relatively lightweight and computation-efficient during training and inference, allowing it to leverage powerful 2D CNNs on large-scale data.Source: §5 · p. 7
  • Experiments on Kinetics verify StNet's effectiveness, while models trained on Kinetics show transfer learning ability on UCF101.Source: §5 · p. 7
Loading 1811.01549v3…