LLM-based product classification and attribute extraction

A proof-of-concept study of retail product categorization and structured attribute extraction using large language models.

RoleData Scientist
ContextKivos Analytics · Professional project

Challenge

Retail product catalogues often contain inconsistent naming conventions, ambiguous category assignments, and incomplete product descriptions. These inconsistencies make it difficult to organize products under a coherent taxonomy and obtain comparable, structured metadata.

The project investigated whether large language models (LLMs) could classify products within a defined category structure and extract standardized attributes from unstructured descriptions, particularly when category boundaries or attribute values were ambiguous.

My contribution

I was the primary developer of the proof of concept, working largely independently and consulting domain specialists on product categories and attribute definitions.

  • Designed a product taxonomy and defined the category and attribute schemas used in the experiments.
  • Developed LLM-based product classification workflows, including prompt design and contextual information to support category selection.
  • Implemented structured attribute extraction and normalization, using explicit output schemas for consistent results.
  • Designed and performed evaluations of category classification and attribute extraction, examining differences across product categories and attribute types.
  • Investigated a more modular architecture as a possible extension of the initial prototype.
← Back to all projectsExplore scientific research ↗