本文提出用生成式 AI 模型自动创建表并集搜索基准,构建了包含可并集与不可并集但相关表对的新基准,并证明该基准比人工基准更具挑战性,能支持更细粒度的假阳性与假阴性分析。
摘要:
数据管理传统上依赖合成数据生成器来生成结构化基准,例如 TPC 套件,其中我们可以精确控制数据大小及其分布等重要参数。这些基准对于数据库管理系统的成功和采用至关重要。但越来越多的数据管理问题具有语义性质。一个重要的例子是查找可以合并(union)的表。虽然任何两张基数相同的表都可以合并,但表并集搜索(table union search)的问题是找到并集在语义上连贯的表。语义问题无法使用合成数据进行基准测试。我们当前创建基准的方法涉及对真实数据进行人工整理和标注。这些方法不够稳健,也不具备可扩展性,而且也许更重要的是,尚不清楚所创建基准的稳健性如何。我们提出使用生成式 AI 模型来为表并集搜索创建结构化数据基准。我们提出了一种新颖的方法,利用生成模型创建具有指定属性的表。使用该方法,我们创建了一个新的基准,其中包含既可并集又不可并集但相关的表对。我们在现有基准和我们的新基准上全面评估了近期现有的表并集搜索方法。我们还提出并评估了一种基于近期大语言模型的新表搜索方法,并在所有基准上进行了评估。我们表明,对于所有方法而言,新基准比人工整理的基准更具挑战性,具体来说,表现最好的方法达到了约 60% 的平均精度均值(Mean Average Precision),比其在现有手动创建基准上的表现低 30% 以上。我们研究了造成这种情况的原因,并表明新基准允许对方法进行更详细的分析,包括对假阳性和假阴性的研究,而这在现有基准上是不可能实现的。
英文摘要:
Data management has traditionally relied on synthetic data generators to generate structured benchmarks, like the TPC suite, where we can control important parameters like data size and its distribution precisely. These benchmarks were central to the success and adoption of database management systems. But more and more, data management problems are of a semantic nature. An important example is finding tables that can be unioned. While any two tables with the same cardinality can be unioned, table union search is the problem of finding tables whose union is semantically coherent. Semantic problems cannot be benchmarked using synthetic data. Our current methods for creating benchmarks involve the manual curation and labeling of real data. These methods are not robust or scalable and perhaps more importantly, it is not clear how robust the created benchmarks are. We propose to use generative AI models to create structured data benchmarks for table union search. We present a novel method for using generative models to create tables with specified properties. Using this method, we create a new benchmark containing pairs of tables that are both unionable and non-unionable but related. We thoroughly evaluate recent existing table union search methods over existing benchmarks and our new benchmark. We also present and evaluate a new table search methods based on recent large language models over all benchmarks. We show that the new benchmark is more challenging for all methods than hand-curated benchmarks, specifically, the top-performing method achieves a Mean Average Precision of around 60%, over 30% less than its performance on existing manually created benchmarks. We examine why this is the case and show that the new benchmark permits more detailed analysis of methods, including a study of both false positives and false negatives that were not possible with existing benchmarks.
SANTOS: Relationship-based Semantic Table Union Search
用于可联合表搜索的现有技术使用元数据(表必须具有相同或相似的模式)或基于列的度量(例如,表中的值应该从相同的域中提取)来定义可联合性。在这项工作中,我们介绍了使用表中的列对之间的语义关系,以提高联合搜索的准确性。因此,我们引入了一个新的概念unionability考虑列之间的关系,连同列的语义,在原则上的方式。为此,我们提出了两种新的方法来发现列对之间的语义关系。第一个使用现有的知识库(KB),第二个(我们称之为“合成KB”)使用来自数据湖本身的知识。我们采用了现有的Table Union Search基准,并提出了代表小型和大型真实数据湖的新(开放)基准。我们表明,我们的新unionability搜索算法,称为SANTOS,优于国家的最先进的工会搜索,使用各种各样的基于列的语义,包括词嵌入和正则表达式。我们的经验表明,我们的合成KB提高了联盟搜索的准确性,表示关系语义,可能不包含在一个可用的KB。这一结果暗示了从具有有限KB覆盖率的数据湖创建合成KB并将其用于联合搜索的前景。
Using Large Language Models to Generate Clinical Trial Tables and Figures
Novartis Pharmaceuticals Corporation(诺华制药公司);School of Biomedical Informatics The University of Texas Health Science Center at Houston(德克萨斯大学休斯顿健康科学中心生物医学信息学院);Novartis Pharma AG(诺华制药公司);The University of Texas MD Anderson Cancer Center(德克萨斯大学 MD 安德森癌症中心)