Evaluation of LLM-based Strategies for the Extraction of Food Product Information from Online Shops

Christoph Brosch, Sian Brumm, Rolf Krieger, Jonas Scheffler
6/17/2025
cs.CLcs.IRcs.LG

No confident code implementation found for this paper. 9 possible matches can be shown below.

Abstract

Generative AI and large language models (LLMs) offer significant potential for automating the extraction of structured information from web pages. In this work, we focus on food product pages from online retailers and explore schema-constrained extraction approaches to retrieve key product attributes, such as ingredient lists and nutrition tables. We compare two LLM-based approaches, direct extraction and indirect extraction via generated functions, evaluating them in terms of accuracy, efficiency, and cost on a curated dataset of 3,000 food product pages from three different online shops. Our results show that although the indirect approach achieves slightly lower accuracy (96.48\%, $-1.61\%$ compared to direct extraction), it reduces the number of required LLM calls by 95.82\%, leading to substantial efficiency gains and lower operational costs. These findings suggest that indirect extraction approaches can provide scalable and cost-effective solutions for large-scale information extraction tasks from template-based web pages using LLMs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 9 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{brosch2025evaluation,
  title  = {Evaluation of LLM-based Strategies for the Extraction of Food Product Information from Online Shops},
  author = {Christoph Brosch and Sian Brumm and Rolf Krieger and Jonas Scheffler},
  year   = {2025},
  eprint = {2506.21585},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.21585v1}
}

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

Discussion