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

基于大语言模型的模式匹配:一项实验研究

Schema Matching with Large Language Models: an Experimental Study

UHasselt(哈塞尔特大学);Data Science Institute(数据科学研究所)

Marcel Parciak, Brecht Vandevoort, Frank Neven, Liesbet M. Peeters, Stijn Vansummeren

AI总结:

本研究通过健康领域基准和多种任务范围,实验评估现成大语言模型仅基于名称和描述进行模式匹配,发现其质量受上下文信息量影响,但能启动匹配过程并加速数据工程师工作。

摘要:

大语言模型(LLMs)已在包括数据整理在内的多种任务中展现出有用的应用。在本文中,我们研究了使用现成的大语言模型进行模式匹配。我们的目标是仅利用名称和描述来识别两个关系模式元素之间的语义对应关系。利用从健康领域新创建的基准,我们提出了不同的所谓任务范围。这些是提示大语言模型执行模式匹配的方法,其区别在于提示中包含的上下文信息量。利用这些任务范围,我们将基于大语言模型的模式匹配与字符串相似性基线进行比较,考察匹配质量、验证工作量、决断性以及两种方法的互补性。我们发现匹配质量既受上下文信息不足的影响,也受上下文信息过多的影响。总体而言,使用更新版本的大语言模型提高了决断性。我们确定了具有可接受验证工作量且能成功识别大量真实语义匹配的任务范围。我们的研究表明,大语言模型在启动模式匹配过程方面具有潜力,能够仅基于模式元素名称和描述,无需数据实例,协助数据工程师加速此任务。

英文摘要:

Large Language Models (LLMs) have shown useful applications in a variety of tasks, including data wrangling. In this paper, we investigate the use of an off-the-shelf LLM for schema matching. Our objective is to identify semantic correspondences between elements of two relational schemas using only names and descriptions. Using a newly created benchmark from the health domain, we propose different so-called task scopes. These are methods for prompting the LLM to do schema matching, which vary in the amount of context information contained in the prompt. Using these task scopes we compare LLM-based schema matching against a string similarity baseline, investigating matching quality, verification effort, decisiveness, and complementarity of the approaches. We find that matching quality suffers from a lack of context information, but also from providing too much context information. In general, using newer LLM versions increases decisiveness. We identify task scopes that have acceptable verification effort and succeed in identifying a significant number of true semantic matches. Our study shows that LLMs have potential in bootstrapping the schema matching process and are able to assist data engineers in speeding up this task solely based on schema element names and descriptions without the need for data instances.

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

↑