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

Alexander Brinkmann, Roee Shraga, Christian Bizer
10/19/2023
33 citations
cs.CL

Official code: wbsg-uni-mannheim/ExtractGPT (30 stars, Python, Apache-2.0, last commit 2024-05-24).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Attribute Value Extraction using Large Language Models

3011Python, ShellOct 18, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{brinkmann2023extractgpt,
  title  = {ExtractGPT: Exploring the Potential of Large Language Models for Product Attribute Value Extraction},
  author = {Alexander Brinkmann and Roee Shraga and Christian Bizer},
  year   = {2023},
  eprint = {2310.12537},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.12537v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.12537.svg)](https://codeofpaper.com/paper/2310.12537)

Discussion