arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.10322cs.DB
收藏

示例驱动的查询意图发现:基于语义相似度的溯因推理

Example-Driven Query Intent Discovery: Abductive Reasoning using Semantic Similarity

Anna Fariha, Alexandra Meliou

摘要:

传统的关系数据接口需要对潜在的复杂模式进行精确的结构化查询。这些严格的数据检索机制给非专家用户带来了障碍,他们通常缺乏语言专业知识,不熟悉模式的细节。示例查询(QBE)方法提供了一种替代机制:用户提供他们想要的查询输出的示例,QBE系统需要推断出想要的查询。然而,这些方法专注于示例的结构相似性,而忽略了数据中存在的更丰富的上下文。因此,它们通常会产生过于笼统的查询,并且无法有效地捕获用户的意图。在本文中,我们提出了SQuID,一个系统,执行语义相似性感知查询意图发现。我们的工作做出了以下贡献:(1)我们设计了一个端到端的系统,自动制定选择项目连接查询在一个开放的世界设置,可选的分组聚合和交叉运算符;一个更大的类比以前的QBE技术。(2)我们表达的问题,查询意图发现使用概率溯因模型,推断查询作为最有可能的解释所提供的例子。(3)我们引入了一个绑架准备数据库的概念,它预先计算语义属性和相关的统计数据,使SQuID实现实时性能。(4)我们对三个真实世界的数据集进行了广泛的实证评估,包括用户意图案例研究,证明SQuID是高效和有效的,优于机器学习方法,以及相关查询逆向工程问题的最新技术。

英文摘要:

Traditional relational data interfaces require precise structured queries over potentially complex schemas. These rigid data retrieval mechanisms pose hurdles for non-expert users, who typically lack language expertise and are unfamiliar with the details of the schema. Query by Example (QBE) methods offer an alternative mechanism: users provide examples of their intended query output and the QBE system needs to infer the intended query. However, these approaches focus on the structural similarity of the examples and ignore the richer context present in the data. As a result, they typically produce queries that are too general, and fail to capture the user's intent effectively. In this paper, we present SQuID, a system that performs semantic similarity-aware query intent discovery. Our work makes the following contributions: (1) We design an end-to-end system that automatically formulates select-project-join queries in an open-world setting, with optional group-by aggregation and intersection operators; a much larger class than prior QBE techniques. (2) We express the problem of query intent discovery using a probabilistic abduction model, that infers a query as the most likely explanation of the provided examples. (3) We introduce the notion of an abduction-ready database, which precomputes semantic properties and related statistics, allowing SQuID to achieve real-time performance. (4) We present an extensive empirical evaluation on three real-world datasets, including user-intent case studies, demonstrating that SQuID is efficient and effective, and outperforms machine learning methods, as well as the state-of-the-art in the related query reverse engineering problem.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑