Using LLMs for the Extraction and Normalization of Product Attribute Values

Alexander Brinkmann, Nick Baumann, Christian Bizer
3/4/2024
37 citations
cs.CL

Official code: wbsg-uni-mannheim/wdc-pave (19 stars, Python, last commit 2024-07-03).

Abstract

Product offers on e-commerce websites often consist of a product title and a textual product description. In order to enable features such as faceted product search or to generate product comparison tables, it is necessary to extract structured attribute-value pairs from the unstructured product titles and descriptions and to normalize the extracted values to a single, unified scale for each attribute.

Show full abstract

This paper explores the potential of using large language models (LLMs), such as GPT-3.5 and GPT-4, to extract and normalize attribute values from product titles and descriptions. We experiment with different zero-shot and few-shot prompt templates for instructing LLMs to extract and normalize attribute-value pairs. We introduce the Web Data Commons - Product Attribute Value Extraction (WDC-PAVE) benchmark dataset for our experiments. WDC-PAVE consists of product offers from 59 different websites which provide schema.org annotations. The offers belong to five different product categories, each with a specific set of attributes. The dataset provides manually verified attribute-value pairs in two forms: (i) directly extracted values and (ii) normalized attribute values. The normalization of the attribute values requires systems to perform the following types of operations: name expansion, generalization, unit of measurement conversion, and string wrangling. Our experiments demonstrate that GPT-4 outperforms the PLM-based extraction methods SU-OpenTag, AVEQA, and MAVEQA by 10%, achieving an F1-score of 91%. For the extraction and normalization of product attribute values, GPT-4 achieves a similar performance to the extraction scenario, while being particularly strong at string wrangling and name expansion.

View on arXivView PDF

Code Implementations(1)

Web Data Commons - Using LLMs for Product Attribute Value Extraction and Normalization

194Python, ShellFeb 19, 20242 years ago

Similar Papers

Cite this paper

@article{brinkmann2024using,
  title  = {Using LLMs for the Extraction and Normalization of Product Attribute Values},
  author = {Alexander Brinkmann and Nick Baumann and Christian Bizer},
  year   = {2024},
  eprint = {2403.02130},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.02130v4}
}

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/2403.02130.svg)](https://codeofpaper.com/paper/2403.02130)

Discussion