Abstract
This paper investigates the role of optical flow in video-based action recognition. While it is widely accepted that a two-stream architecture combining spatial (RGB) and temporal (flow) information improves performance, the underlying reasons remain poorly understood. We demonstrate that the primary benefit of optical flow is its invariance to appearance, such as lighting and clothing color. Furthermore, we show that traditional flow metrics like End-Point Error (EPE) correlate poorly with classification accuracy. By training flow networks specifically for action recognition, we achieve superior results, suggesting that motion representations should be optimized for semantic understanding rather than pixel-level displacement accuracy.
Introduction
In computer vision, the "two-stream" architecture has become a standard for action recognition, utilizing one network for spatial features (RGB frames) and another for temporal features (optical flow). The prevailing assumption has been that more accurate optical flow—measured by lower End-Point Error (EPE)—leads to better action recognition. This study challenges that assumption, dissecting the "black box" of optical flow to understand why it aids classification and whether current optimization targets are appropriate for the task.
Methodology
The researchers employed the Temporal Segment Network (TSN) as a baseline and conducted several experiments to isolate the contributions of optical flow:
- Temporal Shuffling: Flow fields were shuffled in time to test the importance of long-term trajectories.
- Appearance Perturbation: Input videos were subjected to drastic color alterations (e.g., random colormaps) to evaluate the robustness of RGB versus flow streams.
- Correlation Analysis: Six different flow algorithms were compared, mapping their EPE on the MPI Sintel benchmark against their classification accuracy on the UCF101 dataset.
- End-to-End Fine-Tuning: FlowNet and SpyNet were fine-tuned using a classification loss rather than the standard EPE loss to create "Action Flow."
Key Findings
The Power of Invariance
The study reveals that optical flow's most significant contribution is its invariance to appearance. When input video colors were randomized, RGB-only accuracy dropped from 85% to 34%, while the flow-only stream remained stable at approximately 84%. Flow provides a "clean" signal, focusing on motion patterns without being distracted by superficial visual features like clothing color.
EPE as a Poor Proxy for Recognition
A weak correlation was found between a flow method's EPE and its recognition accuracy. High-accuracy flow (low EPE) does not necessarily translate to high-accuracy classification. Instead, accuracy at motion boundaries and for small displacements proved to be much more critical for identifying actions.
Action-Optimized Flow
Training flow networks to minimize classification error rather than EPE resulted in a nearly 3% improvement in UCF101 accuracy. These "action-optimized" networks learn to prioritize the human body and its edges while ignoring irrelevant background motion.
Discussion and Conclusion
The results suggest that the spatial structure within a single flow field is often more diagnostic than the temporal trajectory itself; shuffling flow fields only moderately reduced performance. This implies that the future of action recognition may lie in developing new motion representations designed specifically for semantic understanding, rather than refining traditional optical flow for pixel-level accuracy. While TSN was the primary focus, future work should explore if these insights extend to 3D-CNN architectures like I3D.
Summary updated