WISK:一种面向空间关键词查询的工作负载感知学习索引
WISK: A Workload-aware Learned Index for Spatial Keyword Queries
AI总结:
本文提出面向空间关键词查询的学习索引 WISK,通过机器学习分区和强化学习构建层次结构,利用查询工作负载自适应优化索引,在真实数据集上实现最高 8 倍查询加速。
摘要:
空间对象通常带有文本信息,例如带有描述的兴趣点(POIs),这类数据被称为地理文本数据。为了检索此类数据,同时考虑空间邻近性和文本相关性的空间关键词查询已被广泛研究。现有为空间关键词查询设计的索引大多基于地理文本数据构建,而未考虑已接收查询的分布情况。然而,已有研究表明,利用已知的查询分布可以改进索引结构,从而优化未来的查询处理。本文提出 WISK,一种面向空间关键词查询的学习索引,能够在给定查询工作负载的情况下自适应地优化查询代价。一个关键挑战是如何在学习索引过程中同时利用结构化的空间属性和非结构化的文本信息。我们首先将数据对象划分为若干分区,以最小化给定查询工作负载的处理代价。我们证明了该划分问题的 NP 困难性,并提出一种机器学习模型来寻找最优分区。随后,为了获得更强的剪枝能力,我们基于生成的分区采用自底向上的方式构建层次结构,并使用基于强化学习的方法进行优化。我们在真实数据集和具有不同分布的查询工作负载上进行了大量实验,结果表明 WISK 优于所有对比方法,在存储开销相当的情况下,查询时间最高可实现 8 倍的加速。
英文摘要:
Spatial objects often come with textual information, such as Points of Interest (POIs) with their descriptions, which are referred to as geo-textual data. To retrieve such data, spatial keyword queries that take into account both spatial proximity and textual relevance have been extensively studied. Existing indexes designed for spatial keyword queries are mostly built based on the geo-textual data without considering the distribution of queries already received. However, previous studies have shown that utilizing the known query distribution can improve the index structure for future query processing. In this paper, we propose WISK, a learned index for spatial keyword queries, which self-adapts for optimizing querying costs given a query workload. One key challenge is how to utilize both structured spatial attributes and unstructured textual information during learning the index. We first divide the data objects into partitions, aiming to minimize the processing costs of the given query workload. We prove the NP-hardness of the partitioning problem and propose a machine learning model to find the optimal partitions. Then, to achieve more pruning power, we build a hierarchical structure based on the generated partitions in a bottom-up manner with a reinforcement learning-based approach. We conduct extensive experiments on real-world datasets and query workloads with various distributions, and the results show that WISK outperforms all competitors, achieving up to 8x speedup in querying time with comparable storage overhead.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。