DeepCache: Principled Cache for Mobile Deep Vision

Mengwei Xu, Mengze Zhu, Yunxin Liu, Felix Xiaozhu Lin, Xuanzhe Liu
12/1/2017
cs.CV

Official code: xumengwei/DeepCache (33 stars, C++, last commit 2018-07-31).

Abstract

We present DeepCache, a principled cache design for deep learning inference in continuous mobile vision. DeepCache benefits model execution efficiency by exploiting temporal locality in input video streams.

Show full abstract

It addresses a key challenge raised by mobile vision: the cache must operate under video scene variation, while trading off among cacheability, overhead, and loss in model accuracy. At the input of a model, DeepCache discovers video temporal locality by exploiting the video's internal structure, for which it borrows proven heuristics from video compression; into the model, DeepCache propagates regions of reusable results by exploiting the model's internal structure. Notably, DeepCache eschews applying video heuristics to model internals which are not pixels but high-dimensional, difficult-to-interpret data. Our implementation of DeepCache works with unmodified deep learning models, requires zero developer's manual effort, and is therefore immediately deployable on off-the-shelf mobile devices. Our experiments show that DeepCache saves inference execution time by 18% on average and up to 47%. DeepCache reduces system energy consumption by 20% on average.

View on arXivView PDF

Code Implementations(1)

Cache design for CNN on mobile

3311C++, CJun 21, 20188 years agoNOASSERTION
cachecnn

Similar Papers

Cite this paper

@article{xu2017deepcache,
  title  = {DeepCache: Principled Cache for Mobile Deep Vision},
  author = {Mengwei Xu and Mengze Zhu and Yunxin Liu and Felix Xiaozhu Lin and Xuanzhe Liu},
  year   = {2017},
  eprint = {1712.01670},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1712.01670}
}

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/1712.01670.svg)](https://codeofpaper.com/paper/1712.01670)

Discussion