DeepJoin:基于预训练语言模型的可连接表发现
DeepJoin: Joinable Table Discovery with Pre-trained Language Models
AI总结:
Deepjoin利用预训练语言模型进行嵌入检索,统一处理等值和语义连接,实现对数级搜索时间,精度优于近似解,在GPU上快达两个数量级。
摘要:
由于在数据分析任务的数据增强中的实用性,可连接表发现已成为数据湖管理中的重要操作。现有方法针对等值连接(最常见的组合表以创建统一视图的方式)或语义连接(容忍拼写错误和不同格式以提供更多连接结果)。它们要么是精确解,其运行时间与查询列和目标表存储库的大小呈线性关系,要么是缺乏精度的近似解。在本文中,我们提出Deepjoin,一种用于准确且高效的可连接表发现的深度学习模型。我们的解决方案是一种基于嵌入的检索,它采用预训练语言模型(PLM),并设计为一个同时服务于等值连接和语义连接的框架。我们提出了一组上下文化选项,将列内容转换为文本序列。PLM读取该序列,并经过微调将列嵌入到向量中,使得在向量空间中彼此接近的列被认为是可连接的。由于PLM的输出长度固定,后续的搜索过程变得与列大小无关。借助最先进的近似最近邻搜索算法,搜索时间与存储库大小呈对数关系。为了训练模型,我们设计了准备训练数据以及数据增强的技术。在真实数据集上的实验表明,通过在语料库的一小部分子集上训练,Deepjoin能够泛化到大型数据集,并且其精度持续优于其他近似解。当使用专家标签进行评估时,Deepjoin在语义连接上甚至比精确解更准确。此外,当配备GPU时,Deepjoin比现有解决方案快多达两个数量级。
英文摘要:
Due to the usefulness in data enrichment for data analysis tasks, joinable table discovery has become an important operation in data lake management. Existing approaches target equi-joins, the most common way of combining tables for creating a unified view, or semantic joins, which tolerate misspellings and different formats to deliver more join results. They are either exact solutions whose running time is linear in the sizes of query column and target table repository or approximate solutions lacking precision. In this paper, we propose Deepjoin, a deep learning model for accurate and efficient joinable table discovery. Our solution is an embedding-based retrieval, which employs a pre-trained language model (PLM) and is designed as one framework serving both equi- and semantic joins. We propose a set of contextualization options to transform column contents to a text sequence. The PLM reads the sequence and is fine-tuned to embed columns to vectors such that columns are expected to be joinable if they are close to each other in the vector space. Since the output of the PLM is fixed in length, the subsequent search procedure becomes independent of the column size. With a state-of-the-art approximate nearest neighbor search algorithm, the search time is logarithmic in the repository size. To train the model, we devise the techniques for preparing training data as well as data augmentation. The experiments on real datasets demonstrate that by training on a small subset of a corpus, Deepjoin generalizes to large datasets and its precision consistently outperforms other approximate solutions'. Deepjoin is even more accurate than an exact solution to semantic joins when evaluated with labels from experts. Moreover, when equipped with a GPU, Deepjoin is up to two orders of magnitude faster than existing solutions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。