Skip to main content

Translate2Classify: Machine Translation for E-Commerce Product Categorization in Comparison with Machine Learning & Deep Learning Classification

  • Conference paper
  • First Online:
Proceedings of Data Analytics and Management

Abstract

Product categorization is a necessary feature of e-commerce websites since it ensures that the websites retrieve related items from the product taxonomy tree accurately. In traditional product categorization methods, machine learning and deep learning classification algorithms are frequently applied. These cater towards product categorization by taking input and then categorising it in one of the predefined categories. In this paper, we propose a machine translation-based solution for e-commerce product categorization. We convert the natural language description of a product into a token sequence that reflects the root leaf taxonomy of the product category. In the experiment, three e-commerce product datasets (Flipkart, Walmart, Amazon) have been combined to substantiate the applicability of the natural language models implemented. We demonstrate that ensembling sequence-to-sequence neural networks and the transformer model outperforms state-of-the-art product categorization algorithms in terms of predicted accuracy. In addition, the accuracy comparison for machine learning classification (KNN, Random Forests, SVM), deep learning classification (LSTM, BERT) and neural machine translation models (Seq2Seq, Seq2Seq + Transformer) is shown to validate ensembling the two elements as a better method. In conclusion, we illustrate that attentional sequential models generate product category labels without supervised constraints.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 279.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 279.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Yundi Li M, Tan L, Kok S (2018) Don’t classify, translate: multi-level e-commerce product categorization via machine translation. Workshop on information technologies and systems 2018 (WITS2018) arXiv:1812.05774v1 [cs.CL]

  2. Yundi Li M, Tan L, Kok S, Szymanska E (2018) Unconstrained production categorization with sequence-to-sequence models. Rakuten data challenge at the 2018 SIGIR workshop on ecommerce

    Google Scholar 

  3. Kalchbrenner N, Blunsom P (2013) Recurrent continuous translation models. In Proceedings of 2013 conference on empirical methods in natural language processing, 1700–1709

    Google Scholar 

  4. Sutskever I, Vinyals O, Le QV (2014) Sequence to sequence learning with neural networks. In Proceedings of the 27th international conference on neural information processing systems, 3104–3112

    Google Scholar 

  5. Bahdanau D, Cho K, Bengio Y (2015) Neural machine translation by jointly learning to align and translate. In Proceedings of the third international conference on learning representations

    Google Scholar 

  6. Hassan H, Aue A, Chen C, Chowdhary V, Clark J, Federmann C, Huang X, JunczysDowmunt M, Lewis W, Li M, Liu S, Liu TY, Luo R, Menezes A, Qin T, Seide F, Tan X, Tian F, Wu L, Wu S, Xia Y, Zhang D, Zhang Z, Zhou M (2018) Achieving human parity on automatic chinese to english news translation. Comput Res Repository, abs/1803.05567

    Google Scholar 

  7. Goodfellow I, Bengio Y, Courville A (2016) Deep learning. MIT Press. http://www.deeplearningbook.org

  8. Sun C, Rampalli N, Yang F, Doan A (2014) Chimera: Large-scale classification using machine learning, rules, and crowdsourcing. Proc VLDB Endowment 7:1529–1540

    Article  Google Scholar 

  9. Pane RA, Mubarok MS, Huda NS, Adiwijaya (2018) “A multi-label classification on topics of quranic verses in english translation using multinomial Naive Bayes,” 2018 6th international conference on information and communication technology (ICoICT) pp 481–484, https://doi.org/10.1109/ICoICT.2018.8528777

  10. Sutskever I, Vinyals O, Le QV (2014) Sequence to sequence learning with neural networks. arXiv:1409.3215v3 [cs.CL]

  11. Yang P, Ma S, Zhang Y, Lin J, Su Q, Sun X (2018) A deep reinforced sequence-to-set model for multi-label text classification. arXiv:1809.03118v1 [cs.CL]

  12. McCann B, Bradbury J, Xiong C, Socher R (2017) Learned in translation: contextualized word vectors. v1

    Google Scholar 

  13. Xu R, Yang Y, Liu H, Hsi A (2016) Cross-lingual text classification via model translation with limited dictionaries

    Google Scholar 

  14. Luong T, Pham H, Manning CD (2015) Effective approaches to attention-based neural machine translation. In Proceedings of the 2015 Conference on empirical methods in natural language processing, 1412–1421

    Google Scholar 

  15. Wu F, Fan A, Baevski A, Dauphin YN, Auli M (2019) Pay less attention with lightweight and dynamic convolutions. arXiv:1901.10430v2 [cs.CL]

  16. Lin J, Su Q, Yang P, Ma S, Sun X (2018) Semantic-unit-based dilated convolution for multi-label text classification. arXiv:1808.08561v2 [cs.CL]

  17. Altman NS (1992) “An introduction to kernel and nearest-neighbor nonparametric regression”. Am Statis 46(3):175–185

    Google Scholar 

  18. Cortes C, Vapnik VN (1995) “Support-vector networks”. Machine Learning. 20(3):273–297. CiteSeerX 10.1.1.15.9362. https://doi.org/10.1007/BF00994018. S2CID 206787478

  19. Ho TK (1995) Random decision forests. Proceedings of the 3rd international conference on document analysis and recognition, Montreal, QC, 14–16 August 1995. pp 278–282

    Google Scholar 

  20. Van Houdt G, Mosquera C, Nápoles G (2020) A review on the long short-term memory model. Artif Intell Rev 53:5929–5955. https://doi.org/10.1007/s10462-020-09838-1l

    Article  Google Scholar 

  21. Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, Kaiser LU, Polosukhin I (2017) Attention is all you need. In Guyon I, Luxburg UV, Bengio S, Wallach H, Fergus R, Vishwanathan S, Garnett R (eds) Advances in neural information processing systems 30, Curran Associates, Inc., 5998–6008

    Google Scholar 

  22. Howard J, Ruder S (2018) Universal Language Model Fine-tuning for Text Classification. arXiv:1801.06146v5 [cs.CL]

  23. Yu H-F, Ho C-H, Arunachalam P, Somaiya M, Lin C-J (2013) Product title classification versus text classification. Technical report, Department of Computer Science, National Taiwan University, Taipei, Taiwan

    Google Scholar 

  24. Xia Y, Levine A, Das P, Di Fabbrizio G, Shinzato K, Datta A (2017) Large-scale categorization of japanese product titles using neural attention models. In Proceedings of the 15th conference of the European chapter of the association for computational linguistics: Vol 2, Short Papers. Association for Computational Linguistics

    Google Scholar 

  25. Shen D, Ruvini JD, Sarwar B (2012) Large-scale item categorization for e-commerce. In Proceedings of the 21st ACM international conference on information and knowledge management, CIKM ’12, New York, NY, USA. ACM, 595–604

    Google Scholar 

  26. Shafto P, Coley JD (2003) Development of categorization and reasoning in the natural world: novices to experts, naive similarity to ecological knowledge. J Exp Psychol Learn Mem Cogn 29(4):641–649

    Article  Google Scholar 

  27. Ross BH, Murphy GL (1999) Food for thought: cross-classification and category organization in a complex real-world domain. Cogn Psychol 38(4):495–553

    Article  Google Scholar 

  28. McAuley JJ, Pandey R, Leskovec J (2015) Inferring networks of substitutable and complementary products. In Proceedings of the 21th ACM SIGKDD international conference on knowledge discovery and data mining, 785–794. ACM

    Google Scholar 

  29. Kozareva Z (2015) Everyone likes shopping! multi-class product categorization for e-commerce. In NAACL HLT 2015, The 2015 conference of the North American Chapter of the association for computational linguistics, Human Language Technologies

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Priyanshi Gupta .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Gupta, P., Raman, S. (2022). Translate2Classify: Machine Translation for E-Commerce Product Categorization in Comparison with Machine Learning & Deep Learning Classification. In: Gupta, D., Polkowski, Z., Khanna, A., Bhattacharyya, S., Castillo, O. (eds) Proceedings of Data Analytics and Management . Lecture Notes on Data Engineering and Communications Technologies, vol 91. Springer, Singapore. https://doi.org/10.1007/978-981-16-6285-0_60

Download citation

Publish with us

Policies and ethics