E-Commerce Product Categorization with LLM-based Dual-Expert Classification Paradigm
Zhu Cheng, Wen Zhang, Chih-Chi Chou, You-Yi Jau, Archita Pathak, Peng Gao, Umit Batur
Abstract
Accurate product categorization in e-commerce is critical for delivering a satisfactory online shopping experience to customers. With the vast number of available products and the numerous potential categories, it becomes crucial to develop a classification system capable of assigning products to their correct categories with high accuracy. We present a dual-expert classification system that utilizes the power of large language models (LLMs). This framework integrates domain-specific knowledge and pre-trained LLM’s general knowledge through effective model fine-tuning and prompting techniques. First, the fine-tuned domain-specific expert recommends top K candidate categories for a given input product. Then, the more general LLM-based expert, through prompting techniques, analyzes the nuanced differences between candidate categories and selects the most suitable target category. We introduce a new in-context learning approach that utilizes LLM self-generated summarization to provide clearer instructions and enhance its performance. Experiments on e-commerce datasets demonstrate the effectiveness of our LLM-based Dual-Expert classification system.- Anthology ID:
- 2024.customnlp4u-1.22
- Volume:
- Proceedings of the 1st Workshop on Customizable NLP: Progress and Challenges in Customizing NLP for a Domain, Application, Group, or Individual (CustomNLP4U)
- Month:
- November
- Year:
- 2024
- Address:
- Miami, Florida, USA
- Editors:
- Sachin Kumar, Vidhisha Balachandran, Chan Young Park, Weijia Shi, Shirley Anugrah Hayati, Yulia Tsvetkov, Noah Smith, Hannaneh Hajishirzi, Dongyeop Kang, David Jurgens
- Venues:
- CustomNLP4U | WS
- SIG:
- Publisher:
- Association for Computational Linguistics
- Note:
- Pages:
- 294–304
- Language:
- URL:
- https://preview.aclanthology.org/fix-sig-urls/2024.customnlp4u-1.22/
- DOI:
- 10.18653/v1/2024.customnlp4u-1.22
- Cite (ACL):
- Zhu Cheng, Wen Zhang, Chih-Chi Chou, You-Yi Jau, Archita Pathak, Peng Gao, and Umit Batur. 2024. E-Commerce Product Categorization with LLM-based Dual-Expert Classification Paradigm. In Proceedings of the 1st Workshop on Customizable NLP: Progress and Challenges in Customizing NLP for a Domain, Application, Group, or Individual (CustomNLP4U), pages 294–304, Miami, Florida, USA. Association for Computational Linguistics.
- Cite (Informal):
- E-Commerce Product Categorization with LLM-based Dual-Expert Classification Paradigm (Cheng et al., CustomNLP4U 2024)
- PDF:
- https://preview.aclanthology.org/fix-sig-urls/2024.customnlp4u-1.22.pdf