CBinfer: Exploiting Frame-to-Frame Locality for Faster Convolutional Network Inference on Video Streams

Lukas Cavigelli, Luca Benini
8/15/2018
cs.CVcs.AIcs.NE

Official code: lukasc-ch/CBinfer (10 stars, Apache-2.0, PyTorch, last commit 2019-01-07).

Abstract

The last few years have brought advances in computer vision at an amazing pace, grounded on new findings in deep neural network construction and training as well as the availability of large labeled datasets. Applying these networks to images demands a high computational effort and pushes the use of state-of-the-art networks on real-time video data out of reach of embedded platforms. Many recent works focus on reducing network complexity for real-time inference on embedded computing platforms. We adopt an orthogonal viewpoint and propose a novel algorithm exploiting the spatio-temporal sparsity of pixel changes. This optimized inference procedure resulted in an average speed-up of 9.1x over cuDNN on the Tegra X2 platform at a negligible accuracy loss of <0.1% and no retraining of the network for a semantic segmentation application. Similarly, an average speed-up of 7.0x has been achieved for a pose detection DNN and a reduction of 5x of the number of arithmetic operations to be performed for object detection on static camera video surveillance data. These throughput gains combined with a lower power consumption result in an energy efficiency of 511 GOp/s/W compared to 70 GOp/s/W for the baseline.

View on arXivView PDF

Code Implementations(1)

lukasc-ch/CBinferOfficial100%
PyTorchApache-2.0

Code for the Change-Based Inference Paper (CBinfer)

102Cuda, ShellAug 15, 20187 years agoApache-2.0
cbinferconvolutional-neural-networkscudadeep-learningdeep-neural-networks+5 more

Similar Papers

Cite this paper

@article{cavigelli2018cbinfer,
  title  = {CBinfer: Exploiting Frame-to-Frame Locality for Faster Convolutional Network Inference on Video Streams},
  author = {Lukas Cavigelli and Luca Benini},
  year   = {2018},
  eprint = {1808.05488},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1808.05488}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1808.05488.svg)](https://codeofpaper.com/paper/1808.05488)

Discussion