NoScope: Optimizing Neural Network Queries over Video at Scale
arXiv:1703.02529
Abstract
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.
PVLDB 2017
References in corpus (9)
- Distilling the Knowledge in a Neural Network
- Neural Architecture Search with Reinforcement Learning
- Compressing Neural Networks with the Hashing Trick
- Spatiotemporal Residual Networks for Video Action Recognition
- YOLO9000: Better, Faster, Stronger
- Modeling and Propagating CNNs in a Tree Structure for Visual Tracking
- Ten Years of Pedestrian Detection, What Have We Learned?
- The Missing Piece in Complex Analytics: Low Latency, Scalable Model Management and Serving with Velox
- Exploiting Local Features from Deep Networks for Image Retrieval
Cited by in corpus (18)
- SPINN: Synergistic Progressive Inference of Neural Networks over Device and Cloud
- MobiSR: Efficient On-Device Super-Resolution through Heterogeneous Mobile Processors
- LegoDNN: Block-grained Scaling of Deep Neural Networks for Mobile Vision
- Mobile Video Object Detection with Temporally-Aware Feature Maps
- IDK Cascades: Fast Deep Learning by Learning not to Overthink
- VID-WIN: Fast Video Event Matching with Query-Aware Windowing at the Edge for the Internet of Multimedia Things
- Model Slicing for Supporting Complex Analytics with Elastic Inference Cost and Resource Constraints
- Infrastructure for Usable Machine Learning: The Stanford DAWN Project
- A Serverless Cloud-Fog Platform for DNN-Based Video Analytics with Incremental Learning
- Extract-Transform-Load for Video Streams
- OneAdapt: Fast Configuration Adaptation for Video Analytics Applications via Backpropagation
- Movement Tracks for the Automatic Detection of Fish Behavior in Videos
- MultiTASC++: A Continuously Adaptive Scheduler for Edge-Based Multi-Device Cascade Inference
- Top-K Deep Video Analytics: A Probabilistic Approach
- Energy-Efficient Parking Analytics System using Deep Reinforcement Learning
- Recurrent Residual Module for Fast Inference in Videos
- A Survey of Performance Optimization in Neural Network-Based Video Analytics Systems
- AmphibianDetector: adaptive computation for moving objects detection