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

NoScope:大规模优化视频上的神经网络

NoScope: Optimizing Neural Network Queries over Video at Scale

Stanford InfoLab(斯坦福信息实验室)

Daniel Kang, John Emmons, Firas Abuzaid, Peter Bailis, Matei Zaharia

摘要:

计算机视觉的最新进展-以深度神经网络的形式-使得以高精度查询越来越多的视频数据成为可能。然而,神经网络推理在规模上是计算昂贵的:实时的应用最先进的对象检测器(即,30+帧每秒)到单个视频需要4000美元的GPU。作为回应,我们提出了NoScope,一个查询视频的系统,可以通过推理优化的模型搜索将神经网络视频分析的成本降低三个数量级。给定目标视频、待检测对象和参考神经网络,NoScope会自动搜索和训练一系列模型,这些模型保留了参考网络的准确性,但专门针对目标视频,因此计算成本要低得多。NoScope级联了两种类型的模型:专用模型,放弃了参考模型的全部通用性,但忠实地模仿其目标视频和对象的行为;差异检测器,突出跨帧的时间差异。我们发现,最佳级联架构在视频和对象之间存在差异,因此NoScope使用了一个高效的基于成本的优化器来搜索模型和级联。通过这种方法,NoScope在固定角度网络摄像头和监控视频的二进制分类任务上实现了两到三个数量级的速度提升(265- 1 - 5,500倍实时),同时将精度保持在最先进的神经网络的1-5%以内。

英文摘要:

Recent advances in computer vision-in the form of deep neural networks-have made it possible to query increasing volumes of video data with high accuracy. However, neural network inference is computationally expensive at scale: applying a state-of-the-art object detector in real time (i.e., 30+ frames per second) to a single video requires a $4000 GPU. In response, we present NoScope, a system for querying videos that can reduce the cost of neural network video analysis by up to three orders of magnitude via inference-optimized model search. Given a target video, object to detect, and reference neural network, NoScope automatically searches for and trains a sequence, or cascade, of models that preserves the accuracy of the reference network but is specialized to the target video and are therefore far less computationally expensive. NoScope cascades two types of models: specialized models that forego the full generality of the reference model but faithfully mimic its behavior for the target video and object; and difference detectors that highlight temporal differences across frames. We show that the optimal cascade architecture differs across videos and objects, so NoScope uses an efficient cost-based optimizer to search across models and cascades. With this approach, NoScope achieves two to three order of magnitude speed-ups (265-15,500x real-time) on binary classification tasks over fixed-angle webcam and surveillance video while maintaining accuracy within 1-5% of state-of-the-art neural networks.

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

↑