Multi-level Product Category Prediction through Text Classification

Wesley Ferreira Maia, Angelo Carmignani, Gabriel Bortoli, Lucas Maretti, David Luz +3 more
3/3/2024
cs.CL

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

Abstract

This article investigates applying advanced machine learning models, specifically LSTM and BERT, for text classification to predict multiple categories in the retail sector. The study demonstrates how applying data augmentation techniques and the focal loss function can significantly enhance accuracy in classifying products into multiple categories using a robust Brazilian retail dataset. The LSTM model, enriched with Brazilian word embedding, and BERT, known for its effectiveness in understanding complex contexts, were adapted and optimized for this specific task. The results showed that the BERT model, with an F1 Macro Score of up to $99\%$ for segments, $96\%$ for categories and subcategories and $93\%$ for name products, outperformed LSTM in more detailed categories. However, LSTM also achieved high performance, especially after applying data augmentation and focal loss techniques. These results underscore the effectiveness of NLP techniques in retail and highlight the importance of the careful selection of modelling and preprocessing strategies. This work contributes significantly to the field of NLP in retail, providing valuable insights for future research and practical applications.

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. 2 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{maia2024multilevel,
  title  = {Multi-level Product Category Prediction through Text Classification},
  author = {Wesley Ferreira Maia and Angelo Carmignani and Gabriel Bortoli and Lucas Maretti and David Luz and Daniel Camilo Fuentes Guzman and Marcos Jardel Henriques and Francisco Louzada Neto},
  year   = {2024},
  eprint = {2403.01638},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.01638v1}
}

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

Discussion