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

为数据库嵌入选择游走方案

Selecting Walk Schemes for Database Embedding

Technion(以色列理工学院);RWTH Aachen University(亚琛工业大学)

Yuval Lev Lubarsky, Jan Tönshoff, Martin Grohe, Benny Kimelfeld

AI总结:

本文针对关系数据库元组嵌入中的随机游走方案选择问题,基于 FoRWaRD 设计多种选择策略,证明可在保持质量和可扩展性的同时显著提速并提升部分任务精度。

摘要:

数据分析机制通常需要输入的数值表示。为此,一种常见做法是将结构化数据的组成部分嵌入到高维向量空间中。我们研究关系数据库元组的嵌入,其中现有技术往往基于对来自数据库的随机游走集合执行优化任务。本文重点关注近期为动态数据库设计的 FoRWaRD 算法,在该算法中,游走通过沿元组之间的外键进行采样。重要的是,不同游走具有不同的模式,或称“游走方案”,这些方案通过列出沿游走经过的关系和属性得到。同样重要的是,不同游走方案描述数据库中不同性质的关系。我们表明,通过聚焦于少数信息丰富的游走方案,可以显著更快地获得元组嵌入,同时保持质量。我们定义了元组嵌入的方案选择问题,设计了若干方案选择方法和策略,并针对一系列下游任务的性能开展了详尽的实证研究。结果证实,借助有效的方案选择策略,可以以快得多的速度(例如三倍)获得高质量嵌入,保留对新插入元组的可扩展性,甚至在某些任务上实现精度提升。

英文摘要:

Machinery for data analysis often requires a numeric representation of the input. Towards that, a common practice is to embed components of structured data into a high-dimensional vector space. We study the embedding of the tuples of a relational database, where existing techniques are often based on optimization tasks over a collection of random walks from the database. The focus of this paper is on the recent FoRWaRD algorithm that is designed for dynamic databases, where walks are sampled by following foreign keys between tuples. Importantly, different walks have different schemas, or "walk schemes", that are derived by listing the relations and attributes along the walk. Also importantly, different walk schemes describe relationships of different natures in the database. We show that by focusing on a few informative walk schemes, we can obtain tuple embedding significantly faster, while retaining the quality. We define the problem of scheme selection for tuple embedding, devise several approaches and strategies for scheme selection, and conduct a thorough empirical study of the performance over a collection of downstream tasks. Our results confirm that with effective strategies for scheme selection, we can obtain high-quality embeddings considerably (e.g., three times) faster, preserve the extensibility to newly inserted tuples, and even achieve an increase in the precision of some tasks.

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

↑