Commercial retrospective video analytics platforms have increasingly adopted general interfaces to support the custom queries and convolutional neural networks (CNNs) that different applications require. However, existing optimizations were designed for settings where CNNs were platform- (not user-) determined, and fail to meet at least one of the following key platform goals when that condition is violated: reliable accuracy, low latency, and minimal wasted work. We present Boggart, a system that simultaneously meets all three goals while supporting the generality that today's platforms seek. Prior to queries being issued, Boggart carefully employs traditional computer vision algorithms to generate indices that are imprecise, but are fundamentally comprehensive across different CNNs/queries. For each issued query, Boggart employs new techniques to quickly characterize the imprecision of its index, and sparingly run CNNs (and propagate the results to other frames) in a way that bounds accuracy drops. Our results highlight that Boggart's improved generality comes at low cost, with speedups that match (and most often, exceed) prior, model-specific approaches.
翻译:商业回溯视频分析平台越来越多地采用不同应用所需的通用界面来支持定制查询和神经神经网络(CNNs),然而,现有优化是为CNN是平台(而非用户)确定的,而且违反该条件时至少未能达到以下关键平台目标之一的设置设计的:可靠的准确性、低拖拉度和最小的浪费工作。我们介绍Boggart这个同时满足所有三个目标的系统,同时支持当今平台所寻求的普遍性。在发布查询之前,Boggart谨慎地使用传统的计算机视觉算法来生成不准确的指数,但基本上跨越不同的CNN/queries。对于每个发布查询,Boggart都采用新技术快速描述其索引的不精确性,并节制CNN(并将结果传播到其他框架),从而限制准确性下降。我们的结果表明,Boggart改进的通用性以低成本出现,而加速率则与以前(而且往往超过)的模型特定方法相匹配。