[Paper Review] Real-Time End-to-End Action Detection with Two-Stream Networks
This paper proposes a real-time, end-to-end trainable two-stream YOLOv2 network for video action detection by integrating Flownet2 for optical flow computation and fusing features early between streams. By jointly training both streams and fine-tuning the flow network on Kinetics, the method achieves state-of-the-art performance at 31 fps, outperforming prior real-time approaches while improving efficiency and accuracy through end-to-end optimization and transfer learning.
Two-stream networks have been very successful for solving the problem of action detection. However, prior work using two-stream networks train both streams separately, which prevents the network from exploiting regularities between the two streams. Moreover, unlike the visual stream, the dominant forms of optical flow computation typically do not maximally exploit GPU parallelism. We present a real-time end-to-end trainable two-stream network for action detection. First, we integrate the optical flow computation in our framework by using Flownet2. Second, we apply early fusion for the two streams and train the whole pipeline jointly end-to-end. Finally, for better network initialization, we transfer from the task of action recognition to action detection by pre-training our framework using the recently released large-scale Kinetics dataset. Our experimental results show that training the pipeline jointly end-to-end with fine-tuning the optical flow for the objective of action detection improves detection performance significantly. Additionally, we observe an improvement when initializing with parameters pre-trained using Kinetics. Last, we show that by integrating the optical flow computation, our framework is more efficient, running at real-time speeds (up to 31 fps).
Motivation & Objective
- To address the inefficiency and suboptimal performance of prior two-stream action detection methods that train streams separately and use third-party optical flow algorithms.
- To enable real-time inference by integrating optical flow computation directly into the neural network pipeline for better GPU utilization and reduced latency.
- To improve detection accuracy by jointly training appearance and motion streams with early fusion, allowing feature co-adaptation.
- To mitigate overfitting on small action detection datasets by leveraging transfer learning from large-scale Kinetics action recognition pretraining.
- To demonstrate that fine-tuning a neural optical flow estimator (Flownet2) for action detection improves motion representation beyond standard EPE-optimized flows.
Proposed method
- Integrates Flownet2 as a differentiable optical flow module within the two-stream network, enabling end-to-end training of both appearance and motion streams.
- Applies early feature fusion by concatenating final activations from the RGB and optical flow streams before final prediction heads.
- Uses a YOLOv2-based architecture adapted for two-stream video action detection with shared backbones and joint optimization.
- Pre-trains the entire framework on the Kinetics dataset for action recognition before fine-tuning on UCF-101-24 for action detection.
- Fine-tunes the Flownet2 component specifically for the action detection objective, rather than relying on its original EPE-optimized weights.
- Employs batch normalization and skip connections to stabilize training and improve gradient flow in the deep two-stream architecture.
Experimental results
Research questions
- RQ1Can integrating optical flow computation directly into a two-stream network improve real-time performance and end-to-end training efficiency?
- RQ2Does joint training of appearance and motion streams with early fusion lead to better action detection accuracy than separate training?
- RQ3Can transfer learning from large-scale action recognition (Kinetics) improve performance on smaller action detection datasets?
- RQ4Does fine-tuning a neural optical flow network (Flownet2) for action detection yield better motion representations than using a fixed, precomputed flow?
- RQ5Can the proposed framework achieve real-time inference (≥30 fps) while maintaining state-of-the-art accuracy on UCF-101-24?
Key findings
- The proposed end-to-end framework achieves 31 fps with batch size 4, outperforming Singh et al. [18] by 3 fps despite accounting for flow computation overhead.
- Fine-tuning Flownet2 for action detection improves mAP by 0.89 points compared to using the pre-trained Flownet2 without fine-tuning.
- Using Kinetics pretraining boosts performance by 6.91 points in f-mAP (from 67.18 to 74.07) on UCF-101-24 with IoU threshold of 0.5.
- The model with tuned Flownet2 and Kinetics pretraining achieves 74.07 f-mAP at IoU=0.5, surpassing all other reported methods on trimmed UCF-101-24 videos.
- Early fusion of features from both streams leads to better performance than late fusion or separate training, indicating complementary learning.
- The integration of flow computation into the network reduces memory transfer overhead and improves GPU parallelization efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.