arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.12067cs.CVcs.LG
收藏

MaskVD:用于高效视频目标检测的区域掩蔽

MaskVD: Region Masking for Efficient Video Object Detection

Intel Labs(英特尔实验室);Indian Institute of Science(印度科学学院)

Sreetama Sarkar, Gourav Datta, Souvik Kundu, Kai Zheng, Chirayata Bhattacharyya, Peter A. Beerel

AI总结:

本文提出MaskVD,一种基于区域掩蔽的视频目标检测方法,利用帧间语义与时间相关性跳过高达80%的输入区域,使ViT骨干的FLOPs和延迟分别提升3.14倍和1.5倍,并在内存、延迟上超越SOTA,同时保持检测性能。

摘要:

视频任务计算量大,因此在实时应用中部署时构成挑战,特别是对于需要最先进的视觉Transformer(ViT)的任务。已有若干研究工作试图通过利用视频中大部分区域在帧间变化很小这一事实来解决该挑战,这导致基于帧的视频处理中存在冗余计算。具体而言,一些工作利用帧间的像素或语义差异,然而这带来的延迟收益有限,却显著增加了内存开销。相比之下,本文提出了一种在视频帧中掩蔽区域的策略,该策略利用图像中的语义信息和帧间的时间相关性,以在性能相对基线模型几乎无损失的情况下显著降低FLOPs和延迟。特别地,我们证明通过利用先前帧提取的特征,ViT骨干网络直接受益于区域掩蔽,可跳过高达80%的输入区域,使FLOPs和延迟分别提升3.14倍和1.5倍。我们将内存和延迟相对于最先进(SOTA)方法分别提升2.3倍和1.14倍,同时保持相似的检测性能。此外,我们的方法在卷积神经网络(CNN)上展示了有前景的结果,并通过专用计算内核提供了相对于SOTA最高达1.3倍的延迟改进。

英文摘要:

Video tasks are compute-heavy and thus pose a challenge when deploying in real-time applications, particularly for tasks that require state-of-the-art Vision Transformers (ViTs). Several research efforts have tried to address this challenge by leveraging the fact that large portions of the video undergo very little change across frames, leading to redundant computations in frame-based video processing. In particular, some works leverage pixel or semantic differences across frames, however, this yields limited latency benefits with significantly increased memory overhead. This paper, in contrast, presents a strategy for masking regions in video frames that leverages the semantic information in images and the temporal correlation between frames to significantly reduce FLOPs and latency with little to no penalty in performance over baseline models. In particular, we demonstrate that by leveraging extracted features from previous frames, ViT backbones directly benefit from region masking, skipping up to 80% of input regions, improving FLOPs and latency by 3.14x and 1.5x. We improve memory and latency over the state-of-the-art (SOTA) by 2.3x and 1.14x, while maintaining similar detection performance. Additionally, our approach demonstrates promising results on convolutional neural networks (CNNs) and provides latency improvements over the SOTA up to 1.3x using specialized computational kernels.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑