arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2103.06766cs.DB
收藏

动态数据库的稳定元组嵌入

Stable Tuple Embeddings for Dynamic Databases

Jan Toenshoff, Neta Friedman, Martin Grohe, Benny Kimelfeld

摘要:

我们研究的问题,计算嵌入的元组的关系数据库的方式是可扩展的动态变化的数据库。在这个问题中,嵌入应该是稳定的,因为它不应该因为新插入的元组的嵌入而改变现有的元组(因为数据库应用程序可能已经依赖于现有的嵌入);同时,所有元组的嵌入,无论是旧的还是新的,都应该保持高质量。这个任务是具有挑战性的,因为不同实体的嵌入之间的相互依赖性是结构化数据的最新嵌入技术所固有的。我们研究两种方法来解决这个问题。第一个是Node 2 Vec对动态数据库的适应。第二个是FoRWaRD算法(关系数据库的外键随机游走嵌入),它借鉴了一般图和知识图谱的嵌入技术,并且本质上利用了模式及其键和外键约束。我们评估的嵌入算法,使用一系列的下游任务的列预测在地理和生物领域。我们发现,在传统的静态设置中,我们的两种嵌入方法实现了可比较的结果,这些结果与特定应用的最新技术相兼容。在动态设置中,我们发现FoRWaRD算法通常优于替代方案,并且运行速度更快,而且,即使在嵌入的初始训练之后,数据库由超过一半的新插入元组组成,它的质量也只有轻微的降低。

英文摘要:

We study the problem of computing an embedding of the tuples of a relational database in a manner that is extensible to dynamic changes of the database. In this problem, the embedding should be stable in the sense that it should not change on the existing tuples due to the embedding of newly inserted tuples (as database applications might already rely on existing embeddings); at the same time, the embedding of all tuples, old and new, should retain high quality. This task is challenging since inter-dependencies among the embeddings of different entities are inherent in state-of-the-art embedding techniques for structured data. We study two approaches to solving the problem. The first is an adaptation of Node2Vec to dynamic databases. The second is the FoRWaRD algorithm (Foreign Key Random Walk Embeddings for Relational Databases) that draws from embedding techniques for general graphs and knowledge graphs, and is inherently utilizing the schema and its key and foreign-key constraints. We evaluate the embedding algorithms using a collection of downstream tasks of column prediction over geographical and biological domains. We find that in the traditional static setting, our two embedding methods achieve comparable results that are compatible with the state-of-the-art for the specific applications. In the dynamic setting, we find that the FoRWaRD algorithm generally outperforms and runs faster than the alternatives, and moreover, it features only a mild reduction of quality even when the database consists of more than half newly inserted tuples after the initial training of the embedding.

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

↑