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

ExtractGPT:探索大语言模型在产品属性值提取中的潜力

ExtractGPT: Exploring the Potential of Large Language Models for Product Attribute Value Extraction

University of Mannheim(曼海姆大学);Worcester Polytechnic Institute(伍斯特理工学院)

Alexander Brinkmann, Roee Shraga, Christian Bizer

AI总结:

本文提出ExtractGPT,利用大语言模型通过提示模板从非结构化产品描述中提取属性值,GPT-4达到85%的F1分数,优于BERT基线和开源模型,但微调会降低泛化能力。

摘要:

电子商务平台需要以属性-值对的形式提供结构化产品数据,以支持分面产品搜索或基于属性的产品比较等功能。然而,供应商通常提供非结构化的产品描述,因此需要从这些文本中提取属性-值对。基于BERT的提取方法需要大量特定任务的训练数据,并且难以处理未见过的属性值。本文探索使用大语言模型(LLMs)作为更节省训练数据且更稳健的替代方案。我们为零样本和少样本场景提出了提示模板,比较了基于文本和基于JSON的目标模式表示。我们的实验表明,GPT-4在使用详细属性描述和示例时取得了最高的平均F1分数,达到85%。Llama-3-70B的表现几乎同样出色,提供了一个有竞争力的开源替代方案。GPT-4在F1分数上比最佳PLM基线高出5%。对GPT-3.5进行微调可将其性能提升至GPT-4的水平,但降低了模型对未见属性值的泛化能力。

英文摘要:

E-commerce platforms require structured product data in the form of attribute-value pairs to offer features such as faceted product search or attribute-based product comparison. However, vendors often provide unstructured product descriptions, necessitating the extraction of attribute-value pairs from these texts. BERT-based extraction methods require large amounts of task-specific training data and struggle with unseen attribute values. This paper explores using large language models (LLMs) as a more training-data efficient and robust alternative. We propose prompt templates for zero-shot and few-shot scenarios, comparing textual and JSON-based target schema representations. Our experiments show that GPT-4 achieves the highest average F1-score of 85% using detailed attribute descriptions and demonstrations. Llama-3-70B performs nearly as well, offering a competitive open-source alternative. GPT-4 surpasses the best PLM baseline by 5% in F1-score. Fine-tuning GPT-3.5 increases the performance to the level of GPT-4 but reduces the model's ability to generalize to unseen attribute values.

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

↑