Learning to Predict Usage Options of Product Reviews with LLM-Generated Labels

Leo Kohlenberg, Leonard Horns, Frederic Sadrieh, Nils Kiele, Matthis Clausen +5 more
10/16/2024
cs.CL

No official code found. Best implementation: aiintelligentsystems/learning-with-llm-labels (1 star, last commit 2024-10-17).

Abstract

Annotating large datasets can be challenging. However, crowd-sourcing is often expensive and can lack quality, especially for non-trivial tasks. We propose a method of using LLMs as few-shot learners for annotating data in a complex natural language task where we learn a standalone model to predict usage options for products from customer reviews. We also propose a new evaluation metric for this scenario, HAMS4, that can be used to compare a set of strings with multiple reference sets. Learning a custom model offers individual control over energy efficiency and privacy measures compared to using the LLM directly for the sequence-to-sequence task. We compare this data annotation approach with other traditional methods and demonstrate how LLMs can enable considerable cost savings. We find that the quality of the resulting data exceeds the level attained by third-party vendor services and that GPT-4-generated labels even reach the level of domain experts. We make the code and generated labels publicly available.

View on arXivView PDF

Code Implementations(1)

10Shell, PythonJul 10, 20242 years ago

Similar Papers

Cite this paper

@article{kohlenberg2024learning,
  title  = {Learning to Predict Usage Options of Product Reviews with LLM-Generated Labels},
  author = {Leo Kohlenberg and Leonard Horns and Frederic Sadrieh and Nils Kiele and Matthis Clausen and Konstantin Ketterer and Avetis Navasardyan and Tamara Czinczoll and Gerard de Melo and Ralf Herbrich},
  year   = {2024},
  eprint = {2410.12470},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.12470v1}
}

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

Discussion