arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.03423cs.CL

使用ChatGPT进行实体匹配

Using ChatGPT for Entity Matching

University of Mannheim(曼海姆大学)

Ralph Peeters, Christian Bizer

AI总结:

本文研究使用ChatGPT进行实体匹配,作为传统Transformer模型的鲁棒且数据高效的替代方案,实验表明其零样本性能与微调RoBERTa相当,且可通过上下文演示和规则进一步提升性能。

摘要:

实体匹配是判断两个实体描述是否指向同一现实世界实体的任务。最先进的实体匹配方法通常依赖于微调Transformer模型,如BERT或RoBERTa。使用这些模型进行实体匹配的两个主要缺点是:(i)模型需要大量的微调数据才能达到良好性能;(ii)微调后的模型对于分布外实体的鲁棒性不强。在本文中,我们研究了使用ChatGPT进行实体匹配,作为传统Transformer模型的一种更鲁棒、训练数据效率更高的替代方案。我们沿着三个维度进行了实验:(i)通用提示设计,(ii)上下文学习,以及(iii)提供更高层次的匹配知识。我们表明,ChatGPT与微调后的RoBERTa模型相比具有竞争力,在一个具有挑战性的匹配任务上达到了82.35%的F1零样本性能,而RoBERTa需要2000个训练样本才能达到类似性能。在提示中添加上下文演示,当使用基于相似性的示例选择时,进一步将F1提高了最多7.85%。始终使用同一组10个手工挑选的演示,相比零样本性能提高了4.92%。最后,我们表明,还可以通过向提示中添加以规则形式提供的更高层次匹配知识来引导ChatGPT。提供匹配规则所带来的性能提升与提供上下文演示相当。

英文摘要:

Entity Matching is the task of deciding if two entity descriptions refer to the same real-world entity. State-of-the-art entity matching methods often rely on fine-tuning Transformer models such as BERT or RoBERTa. Two major drawbacks of using these models for entity matching are that (i) the models require significant amounts of fine-tuning data for reaching a good performance and (ii) the fine-tuned models are not robust concerning out-of-distribution entities. In this paper, we investigate using ChatGPT for entity matching as a more robust, training data-efficient alternative to traditional Transformer models. We perform experiments along three dimensions: (i) general prompt design, (ii) in-context learning, and (iii) provision of higher-level matching knowledge. We show that ChatGPT is competitive with a fine-tuned RoBERTa model, reaching a zero-shot performance of 82.35% F1 on a challenging matching task on which RoBERTa requires 2000 training examples for reaching a similar performance. Adding in-context demonstrations to the prompts further improves the F1 by up to 7.85% when using similarity-based example selection. Always using the same set of 10 handpicked demonstrations leads to an improvement of 4.92% over the zero-shot performance. Finally, we show that ChatGPT can also be guided by adding higher-level matching knowledge in the form of rules to the prompts. Providing matching rules leads to similar performance gains as providing in-context demonstrations.

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

↑