arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2203.03996cs.CVcs.LG

DeltaCNN:视频中稀疏帧差分的端到端CNN推理

DeltaCNN: End-to-End CNN Inference of Sparse Frame Differences in Videos

Graz University of Technology(格拉茨技术大学);Meta Reality Labs(Meta现实实验室)

Mathias Parger, Chengcheng Tang, Christopher D. Twigg, Cem Keskin, Robert Wang, Markus Steinberger

AI总结:

本文提出DeltaCNN框架,通过稀疏帧差分更新和端到端稀疏传播,在不重训练的情况下实现视频CNN推理高达7倍加速,精度损失极小。

摘要:

在视频数据上进行卷积神经网络推理需要强大的硬件才能实现实时处理。鉴于连续帧之间固有的连贯性,视频的大部分区域通常变化很小。通过跳过相同的图像区域并截断不重要的像素更新,计算冗余在理论上可以显著减少。然而,这些理论上的节省很难转化为实际效果,因为稀疏更新会妨碍计算一致性和内存访问连贯性,而这两者对于在真实硬件上实现高效运行至关重要。我们提出了DeltaCNN,一个稀疏卷积神经网络框架,它能够实现稀疏的逐帧更新,从而在实际中加速视频推理。我们为所有典型的CNN层提供了稀疏实现,并端到端地传播稀疏特征更新——不会随时间累积误差。DeltaCNN适用于所有卷积神经网络,无需重新训练。据我们所知,我们是首个在实际设置中显著超越密集参考实现cuDNN的工作,实现了高达7倍的加速,且精度仅有微小差异。

英文摘要:

Convolutional neural network inference on video data requires powerful hardware for real-time processing. Given the inherent coherence across consecutive frames, large parts of a video typically change little. By skipping identical image regions and truncating insignificant pixel updates, computational redundancy can in theory be reduced significantly. However, these theoretical savings have been difficult to translate into practice, as sparse updates hamper computational consistency and memory access coherence; which are key for efficiency on real hardware. With DeltaCNN, we present a sparse convolutional neural network framework that enables sparse frame-by-frame updates to accelerate video inference in practice. We provide sparse implementations for all typical CNN layers and propagate sparse feature updates end-to-end - without accumulating errors over time. DeltaCNN is applicable to all convolutional neural networks without retraining. To the best of our knowledge, we are the first to significantly outperform the dense reference, cuDNN, in practical settings, achieving speedups of up to 7x with only marginal differences in accuracy.

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

↑