Abstract
Video action recognition is traditionally computationally intensive, often requiring high-end GPUs and expensive optical flow calculations. This paper introduces Temporal Trilinear Pooling (TTP), a lightweight framework designed for real-time action recognition on mobile devices. By operating directly in the compressed video domain and utilizing an efficient feature fusion strategy, TTP achieves competitive accuracy on standard benchmarks while maintaining a high frame rate of 40.7 FPS on mobile-grade hardware like the Nvidia Jetson TX2.
Introduction: The Challenge of Mobile Action Recognition
Identifying human actions in video—such as "climbing stairs" or "brushing hair"—is a cornerstone of modern computer vision. However, state-of-the-art models are often "resource-hungry giants" that rely on optical flow, a technique for tracking motion between frames that is computationally prohibitive for mobile processors.
On mobile devices, developers face two primary bottlenecks: massive storage requirements for raw video and optical flow data, and the high computational cost of deep learning architectures like ResNet-152. While existing "compressed-domain" methods attempt to use data already present in video files (like MPEG-4), they frequently fail to capture complex interactions between data types or lack the temporal context necessary to understand movement over time.
Methodology: Efficiency through Compressed Domain Processing
The proposed solution addresses these bottlenecks through a two-pronged approach: a lightweight backbone and a novel fusion strategy. Instead of decompressing video into raw RGB frames, the model extracts three "modalities" directly from the compressed stream:
- I-frames (Intra-coded): Full-resolution keyframes providing appearance data.
- Motion Vectors (MV): Low-resolution data describing block-level movement (coarse motion).
- Residuals (R): The differences between frames, capturing fine-grained detail.
The Temporal Trilinear Pooling (TTP) Module
To integrate these three inputs effectively, the researchers introduced the Temporal Trilinear Pooling (TTP) module. While most models use bilinear pooling to fuse two features, TTP generalizes this to three features (I, MV, and R). It utilizes a mathematical shortcut via the Hadamard product to maintain computational efficiency.
To capture temporal context, the model performs fusion by combining the current motion and residuals with the I-frame from an adjacent video segment. This provides a temporal "anchor" without significantly increasing the parameter count. The entire system uses MobileNetV2 as its backbone, an architecture specifically optimized for mobile efficiency.
Experimental Evaluation
The model was evaluated on two gold-standard benchmarks: HMDB-51 (6,766 videos across 51 categories) and UCF-101 (13,320 videos across 101 categories). These datasets are particularly challenging due to varied lighting, camera motion, and complex human activities.
Results and Discussion
The results demonstrate a significant leap in mobile-ready performance across three key metrics:
- Speed: On an Nvidia Jetson TX2, the model achieved 40.7 FPS. In comparison, its closest competitor, CoViAR, was unable to run on the device due to memory limitations.
- Efficiency: The model slashes the parameter count by nearly 80% compared to CoViAR, requiring only 17.5 million parameters and 1.4 GFLOPs of computation.
- Accuracy: Despite its small footprint, it achieved 58.2% on HMDB-51 and 87.2% on UCF-101, outperforming several much larger models that rely on raw video processing.
Conclusion
While TTP is exceptionally fast, its accuracy still trails slightly behind heavy-duty "Two-Stream" networks that utilize full optical flow on desktop GPUs. This is largely because Motion Vectors are coarser than high-resolution optical flow. Future work will explore incorporating attention mechanisms to allow the model to focus on critical frame regions, potentially closing the accuracy gap without sacrificing the performance gains achieved for edge devices.
Summary updated