Classification of customer complaints on social media for e-commerce in Indonesia
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.
Authors
- Achmad Rizki Aditama (ORCID: https://orcid.org/0009-0008-1949-0130)
- Alfan Farizki Wicaksono (ORCID: https://orcid.org/0000-0003-2561-2778)
Publication Details
- Journal
- International Journal of Power Electronics and Drive Systems/International Journal of Electrical and Computer Engineering
- Published
- 2025-05-23
- DOI
- https://doi.org/10.11591/ijece.v15i3.pp2977-2985
- Primary Topic
- Information Retrieval and Data Mining
- Type
- article
- Field-Weighted Citation Impact
- 0.00