Abstract
Training robust deep video representations is computationally intensive due to decoding overheads, large raw data volumes, and high temporal redundancy. This paper proposes a hybrid end-to-end framework that operates exclusively in the compressed domain, utilizing I-frames and P-frames (motion vectors and residuals). By integrating a dual-encoder with Spiking Temporal Modulators (STM) and a unified transformer, the model achieves a 330x reduction in inference cost and a 56x speedup compared to traditional raw-domain methods, while maintaining state-of-the-art performance on major benchmarks.
The Challenge of Video Understanding
Deep learning for video typically requires decoding compressed streams (like H.264) into raw RGB frames. This standard pipeline suffers from three major bottlenecks:
- Decoding Overhead: Converting compressed data back to pixels is computationally expensive.
- Data Redundancy: Consecutive frames are often nearly identical, leading to wasted computation.
- Temporal Modeling: Learning motion is difficult when treating video as a stack of static images.
Existing methods that attempt to use compressed-domain information often treat modalities as separate channels, failing to exploit the inherent sparsity and temporal relationships between I-frames and P-frames.
Proposed Framework: Leveraging Compressed Domain Sparsity
The authors introduce a framework that rethinks compressed signal processing through three key components:
- Accumulated P-frames: Instead of analyzing noisy frame-to-frame changes, the model "back-traces" motion vectors to the original I-frame. This aggregates motion over longer periods, clarifying temporal patterns.
- Spiking Temporal Modulator (STM): Inspired by biology, the STM uses Spiking Neural Networks (SNNs) that only "fire" when significant input changes occur. Since P-frames are naturally sparse, these neurons effectively filter noise and drastically reduce operations.
- Unified Transformer Encoder: A single transformer jointly encodes space, time, and modality, allowing the model to learn cross-modal dependencies (e.g., how color in an I-frame relates to motion in a P-frame).
Visualizing the Advantage: RGB vs. Compressed Trajectories
A key insight revealed by t-SNE visualizations is that compressed domain signals generalize better for motion-sensitive tasks. While RGB trajectories for opposing motions (like "up-moving" vs. "down-moving") often overlap or follow identical paths, compressed domain signals (Motion Vectors and Residuals) form distinct, separable patterns. This suggests that the compressed domain preserves motion directionality much more effectively than raw pixels.
Performance and Efficiency Benchmarks
The model was evaluated on UCF-101, HMDB-51, Kinetics-400/600, and Something-Something-V2. Key results include:
- Accuracy: Achieved 95.6% on UCF-101, outperforming prior compressed-domain methods like CoViAR.
- Efficiency: Realized a 330x reduction in inference cost and a 98% energy saving compared to raw-domain state-of-the-art.
- Speed: Reached an inference speed of 16 videos per second (V/s), approximately 56x faster than traditional alternatives.
Discussion and Future Directions
While highly efficient, the use of spiking neurons requires "surrogate gradients" for training due to their non-differentiable nature. Furthermore, the full energy-saving potential is best realized on specialized neuromorphic hardware. Future research may extend this "compressed-first" approach to tasks like video object detection and segmentation, bringing new insights into practical designs for next-generation spatiotemporal learners.
Summary updated