arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1712.01670cs.CV
收藏

DeepCache:面向移动深度视觉的原则性缓存

DeepCache: Principled Cache for Mobile Deep Vision

Peking University(北京大学);Microsoft Research(微软研究院)

Mengwei Xu, Mengze Zhu, Yunxin Liu, Felix Xiaozhu Lin, Xuanzhe Liu

摘要:

我们提出了DeepCache,这是一种用于连续移动视觉中深度学习推理的原则性缓存设计。DeepCache通过利用输入视频流中的时间局部性来提高模型执行效率。它解决了移动视觉提出的一个关键挑战:缓存必须在视频场景变化下运行,同时在可缓存性、开销和模型准确性损失之间进行权衡。在模型的输入端,DeepCache通过利用视频的内部结构来发现视频的时间局部性,为此它从视频压缩中借用了经过验证的算法; DeepCache通过利用模型的内部结构来传播可重用结果的区域。值得注意的是,DeepCache避免将视频几何学应用于模型内部,这些内部不是像素,而是高维,难以解释的数据。我们的DeepCache实现可与未经修改的深度学习模型一起工作,不需要开发人员的手动工作,因此可以立即部署在现成的移动设备上。我们的实验表明,DeepCache平均节省了18%的推理执行时间,最高可达47%。DeepCache平均降低20%的系统能耗。

英文摘要:

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. 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.

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

↑