加速非结构化数据流上的聚合查询
Accelerating Aggregation Queries on Unstructured Streams of Data
AI总结:
本文提出 InQuest 系统,通过低成本代理模型、采样和有限高精度预言机调用,在多模态非结构化数据流上实时估计聚合查询,并提供误差收敛保证与显著性能提升。
摘要:
分析师和科学家希望查询视频、音频和文本流,以提取定量洞察。例如,城市规划者可能希望通过查询交通摄像头的实时馈送来测量拥堵程度。先前工作已使用深度神经网络(DNN)在批处理设置下回答此类查询。然而,这些工作大多不适合流式设置,因为它们要求在提交查询之前能够访问整个数据集,或者专门针对视频。因此,据我们所知,先前没有工作解决在多种模态的流上高效回答查询的问题。在本工作中,我们提出 InQuest,这是一个用于加速非结构化数据流上聚合查询的系统,并对查询准确性提供统计保证。InQuest 利用低成本的近似模型(“代理”)和采样技术,将昂贵的高精度模型(“预言机”)的执行限制在流的一个子集上。随后,它使用预言机预测实时计算近似查询答案。我们从理论上分析了 InQuest,并证明在平稳流上,其查询估计的期望误差以与预言机预算成反比的速率收敛。我们在六个真实世界视频和文本数据集上评估了我们的算法,结果表明 InQuest 以最多减少 5.0 倍的预言机调用,达到与两个流式基线相同的均方根误差(RMSE)。我们进一步表明,在固定预言机调用次数下,与最先进的批处理设置算法相比,InQuest 可实现最多低 1.9 倍的 RMSE。
英文摘要:
Analysts and scientists are interested in querying streams of video, audio, and text to extract quantitative insights. For example, an urban planner may wish to measure congestion by querying the live feed from a traffic camera. Prior work has used deep neural networks (DNNs) to answer such queries in the batch setting. However, much of this work is not suited for the streaming setting because it requires access to the entire dataset before a query can be submitted or is specific to video. Thus, to the best of our knowledge, no prior work addresses the problem of efficiently answering queries over multiple modalities of streams. In this work we propose InQuest, a system for accelerating aggregation queries on unstructured streams of data with statistical guarantees on query accuracy. InQuest leverages inexpensive approximation models ("proxies") and sampling techniques to limit the execution of an expensive high-precision model (an "oracle") to a subset of the stream. It then uses the oracle predictions to compute an approximate query answer in real-time. We theoretically analyzed InQuest and show that the expected error of its query estimates converges on stationary streams at a rate inversely proportional to the oracle budget. We evaluated our algorithm on six real-world video and text datasets and show that InQuest achieves the same root mean squared error (RMSE) as two streaming baselines with up to 5.0x fewer oracle invocations. We further show that InQuest can achieve up to 1.9x lower RMSE at a fixed number of oracle invocations than a state-of-the-art batch setting algorithm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。