arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.01638cs.CL
收藏

通过文本分类进行多级产品类别预测

Multi-level Product Category Prediction through Text Classification

University of São Paulo(圣保罗大学);Institute of Mathematics and Computer Sciences(数学与计算机科学学院);Federal University of São Carlos(圣卡洛斯联邦大学)

Wesley Ferreira Maia, Angelo Carmignani, Gabriel Bortoli, Lucas Maretti, David Luz, Daniel Camilo Fuentes Guzman, Marcos Jardel Henriques, Francisco Louzada Neto

AI总结:

本文面向巴西零售产品多级分类任务,比较并优化融合巴西词嵌入的 LSTM 与 BERT,结合数据增强和 focal loss,证明 BERT 在细粒度类别上表现更优。

摘要:

本文研究应用先进的机器学习模型,特别是 LSTM 和 BERT,进行文本分类,以预测零售行业中的多个类别。该研究展示了应用数据增强技术和 focal loss 函数如何利用一个可靠的巴西零售数据集,显著提高将产品分类到多个类别的准确率。研究对融入巴西词嵌入的 LSTM 模型,以及以理解复杂语境的有效性著称的 BERT 进行了适配和优化,以服务于这一特定任务。结果表明,BERT 模型在细分领域的 F1 Macro Score 最高达到 99%,在类别和子类别上达到 96%,在产品名称上达到 93%,并在更细粒度的类别上优于 LSTM。然而,LSTM 也取得了高性能,尤其是在应用数据增强和 focal loss 技术之后。这些结果强调了 NLP 技术在零售领域的有效性,并凸显了谨慎选择建模与预处理策略的重要性。本工作为零售领域的 NLP 研究作出了重要贡献,为未来研究和实际应用提供了有价值的见解。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑