计算机科学 > 计算机视觉与模式识别
[提交于 2023年9月6日]
标题:DeltaCNN: End-to-End CNN Inference of Sparse Frame Differences in Videos
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Mathias Parger[v1] 2023年9月6日 星期三 00:00:00 UTC