FiGO: Fine-Grained Query Optimization in Video Analytics
FiGO: Fine-Grained Query Optimization in Video Analytics
复制标题
DOI:
10.1145/3514221.3517857
复制
发表时间:
2022-06
期刊:
影响因子:
--
通讯作者:
Jiashen Cao;Karan Sarkar;Ramyad Hadidi;Joy Arulraj;Hyesoon Kim
中科院分区:
文献类型:
--
作者:
Jiashen Cao;Karan Sarkar;Ramyad Hadidi;Joy Arulraj;Hyesoon Kim
Video database management systems (VDBMSs) enable automated analysis of videos at scale using computationally-intensive deep learning models. To reduce the computational overhead of these models, researchers have proposed two techniques: (1) leveraging a specialized, lightweight model to filter out irrelevant frames or to directly answer the query, and (2) using a cascade of models of increasing complexity to answer the query. For both techniques, the query optimizer generates a coarse-grained query plan for the entire video. These techniques suffer from four limitations: (1) lower query accuracy over hard-to-detect predicates, (2) lower filtering efficacy with frequently-occurring objects, (3) lower accuracy due to nontrivial model cascade configuration, and (4) missed optimization opportunities due to coarse-grained planning for the entire video. In this paper, we present FiGO to tackle these limitations. The design of FiGO is centered around three techniques. First, it uses an ensemble of models to support a range of throughput-accuracy tradeoffs. Second, it adopts a fine-grained approach to query optimization. It processes different chunks of the video using different models in the given ensemble to meet the user's accuracy requirement. Lastly, it uses a lightweight technique to prune the model ensemble to lower the query optimization time. We empirically show that these techniques enable FiGO to outperform the state-of-the-art systems for processing queries over videos by 3.3x on average across four video datasets.