Classification of customer complaints on social media for e-commerce in Indonesia

Achmad Rizki Aditama, Alfan Farizki Wicaksono

Abstract


The e-commerce industry in Indonesia has experienced rapid growth, especially during the COVID-19 pandemic, which accelerated the shift to online platforms. The market is expected to grow by 105.5% from 2025 to 2030 due to increased internet and smartphone use. As e-commerce expands, companies must improve how they handle customer complaints to build trust and loyalty. Social media is a crucial channel for customer interactions, but it also includes non-complaint messages like positive comments, general questions, and spams that need to be filtered out. This research proposes a machine learning model to automatically classify social media interactions into complaints and non-complaints, focusing on Indonesian-language content. The modeling process utilized 10,600 data points collected from social media X. The best model, a bidirectional encoder representation from transformers (BERT) based classifier, achieved an F1-score of 98.3%. The McNemar test revealed significant performance differences between several models, with the BERT-based model outperforming others. This demonstrates that it is highly effective in distinguishing between complaints and non-complaints, making it a valuable tool for enhancing customer service in Indonesia's e-commerce sector.

Keywords


Bidirectional encoder representations from transformers; E-commerce; Machine learning; Social media; Text classification

Full Text:

PDF


DOI: http://doi.org/10.11591/ijece.v15i3.pp2977-2985

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

International Journal of Electrical and Computer Engineering (IJECE)
p-ISSN 2088-8708, e-ISSN 2722-2578

This journal is published by theĀ Institute of Advanced Engineering and Science (IAES).