Skip to main content
QUICK REVIEW

[Paper Review] Flow-Distilled IP Two-Stream Networks for Compressed Video Action Recognition

Shiyuan Huang, Xudong Lin|arXiv (Cornell University)|Dec 10, 2019
Human Pose and Action RecognitionComputer Science34 references8 citations
TL;DR

This paper proposes Flow-Distilled IP Two-Stream Networks (IP TSN), a compressed-domain video action recognition framework that leverages I-frames for spatial modeling and P-frames (with motion vectors and residuals) for temporal modeling, using optical flow feature distillation to train a lightweight 2D-3D network. The method achieves 60× faster inference than optical flow while improving accuracy by 7% on HMDB51 and 3% on UCF101, outperforming prior compressed-domain methods and approaching decoded-video baselines.

ABSTRACT

Two-stream networks have achieved great success in video recognition. A two-stream network combines a spatial stream of RGB frames and a temporal stream of Optical Flow to make predictions. However, the temporal redundancy of RGB frames as well as the high-cost of optical flow computation creates challenges for both the performance and efficiency. Recent works instead use modern compressed video modalities as an alternative to the RGB spatial stream and improve the inference speed by orders of magnitudes. Previous works create one stream for each modality which are combined with an additional temporal stream through late fusion. This is redundant since some modalities like motion vectors already contain temporal information. Based on this observation, we propose a compressed domain two-stream network IP TSN for compressed video recognition, where the two streams are represented by the two types of frames (I and P frames) in compressed videos, without needing a separate temporal stream. With this goal, we propose to fully exploit the motion information of P-stream through generalized distillation from optical flow, which largely improves the efficiency and accuracy. Our P-stream runs 60 times faster than using optical flow while achieving higher accuracy. Our full IP TSN, evaluated over public action recognition benchmarks (UCF101, HMDB51 and a subset of Kinetics), outperforms other compressed domain methods by large margins while improving the total inference speed by 20%.

Motivation & Objective

  • To address the high computational cost of optical flow in two-stream video recognition models.
  • To improve efficiency and accuracy in compressed video action recognition by exploiting the inherent structure of I and P frames in video codecs.
  • To eliminate redundant temporal streams by using motion vectors and residuals from P-frames as a unified motion stream.
  • To develop a training strategy that leverages high-level optical flow features for distillation without explicit flow reconstruction.
  • To achieve performance close to full-resolution video methods while maintaining real-time inference speed.

Proposed method

  • The model uses a two-stream architecture where the I-stream processes RGB I-frames with a 2D CNN to capture spatial appearance.
  • The P-stream processes motion vectors (MV) and residual errors (R) from P-frames using a 2D-3D CNN to model spatiotemporal dynamics.
  • Optical flow features are used as supervision during training to guide the P-stream to learn motion representations without explicit flow computation.
  • Generalized distillation is applied to transfer motion knowledge from optical flow to the MV and R features, improving feature quality.
  • The I-stream and P-stream are fused early for final action prediction, avoiding redundant temporal streams.
  • The framework is trained end-to-end with cross-entropy and distillation losses, enabling high accuracy and speed.

Experimental results

Research questions

  • RQ1Can P-frame components (motion vectors and residuals) be effectively used as a replacement for optical flow in two-stream video recognition?
  • RQ2How can high-level motion information from optical flow be transferred to compressed-domain features without explicit flow estimation?
  • RQ3Can a unified P-stream architecture outperform separate modality streams in compressed video recognition?
  • RQ4What is the trade-off between accuracy and inference speed when replacing optical flow with MV and R in a two-stream framework?
  • RQ5To what extent can distillation from optical flow improve performance in compressed video action recognition?

Key findings

  • The proposed IP TSN achieves 69.1% top-1 accuracy on HMDB51, a 7% improvement over the previous best compressed-domain method (DMC-Net at 61.8%).
  • On UCF101, the model reaches 93.4% top-1 accuracy, outperforming the previous best compressed-domain method by 2.5%.
  • The P-stream runs 60× faster than an optical flow stream while maintaining comparable accuracy, significantly improving inference efficiency.
  • The model reduces total inference GFLOPs by 20% compared to baseline methods while improving accuracy.
  • The method outperforms even some decoded-video two-stream models like ECO, achieving better accuracy with much lower computational cost.
  • ResNet152 backbone with 16-frame clips and 10 crops yields the best performance, confirming the effectiveness of non-symmetric network design in IP TSN.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.