在视频压缩域内高效建模动作识别,速度提升56倍且能耗极低。
Towards Scalable Modeling of Compressed Videos for Efficient Action Recognition
- 直接处理I帧与P帧,利用运动矢量和残差信息降低计算开销。
- 推理速度达16帧/秒,能耗仅0.73焦耳/视频,比之前快330倍。
- 适合需要低延迟、低功耗部署的实时视频分析场景。
由于解码开销大、原始视频流体积庞大及固有的高时间冗余,训练鲁棒的深度视频表示在计算上极具挑战。不同于现有方法仅在压缩域操作并利用所有可用模态(即I帧、P帧中的运动矢量与残差),本文提出一种混合端到端框架,通过分解三个关键概念大幅降低推理成本:首先,设计双编码器结构搭配高效的脉冲时序调制器,在保持跨域特征融合的同时最小化延迟;其次,采用统一的Transformer模型,通过全局自注意力捕捉模态间依赖,增强I帧与P帧的上下文交互;第三,引入多模态混洗块,从联合时空标记嵌入中建模丰富表示。实验表明,该方法在UCF-101、HMDB-51、K-400、K-600和SS-v2数据集上实现轻量级架构下的领先性能,推理速度达16帧/秒,能耗为0.73焦耳/视频,显著优于先前工作。研究为下一代高效时空学习者的设计提供了新思路。代码已公开。
原文摘要 · Abstract (English)
Training robust deep video representations has proven to be computationally challenging due to substantial decoding overheads, the enormous size of raw video streams, and their inherent high temporal redundancy. Different from existing schemes, operating exclusively in the compressed video domain and exploiting all freely available modalities, i.e., I-frames, and P-frames (motion vectors and residuals) offers a compute-efficient alternative. Existing methods approach this task as a naive multi-modality problem, ignoring the temporal correlation and implicit sparsity across P-frames for modeling stronger shared representations for videos of the same action, making training and generalization easier. By revisiting the high-level design of dominant video understanding backbones, we increase inference speed by a factor of $56$ while retaining similar performance. For this, we propose a hybrid end-to-end framework that factorizes learning across three key concepts to reduce inference cost by $330\times$ versus prior art: First, a specially designed dual-encoder scheme with efficient Spiking Temporal Modulators to minimize latency while retaining cross-domain feature aggregation. Second, a unified transformer model to capture inter-modal dependencies using global self-attention to enhance I-frame -- P-frame contextual interactions. Third, a Multi-Modal Mixer Block to model rich representations from the joint spatiotemporal token embeddings. Experiments show that our method results in a lightweight architecture achieving state-of-the-art video recognition performance on UCF-101, HMDB-51, K-400, K-600 and SS-v2 datasets with favorable costs ($0.73$J/V) and fast inference ($16$V/s). Our observations bring new insights into practical design choices for efficient next-generation spatiotemporal learners. Code is available.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。