Emotion Detection and Sentiment Analysis of Women’s E-Commerce Clothing Reviews Using DistilBERT Transformer

Authors

  • M Muflih Universitas Islam Kalimantan Muhammad Arsyad Al Banjari Banjarmasin, Indonesia
  • Erfan Karyadiputra Universitas Islam Kalimantan Muhammad Arsyad Al Banjari Banjarmasin, Indonesia

DOI:

https://doi.org/10.47709/brilliance.v5i2.7411

Keywords:

emotion detection, e-commerce analytics, natural language processing, sentiment analysis, transformer

Abstract

Customer reviews on e-commerce platforms have become an essential source of information for understanding user perceptions, satisfaction levels, and product quality. However, most existing studies still focus on sentiment polarity classifying opinions only as positive or negative without examining deeper emotional expressions that may reflect customer experiences more comprehensively. To address this gap, this study applies a Natural Language Processing (NLP) approach using the pre-trained DistilBERT transformer model to detect emotional patterns in women’s fashion product reviews. The dataset, obtained from Kaggle’s Women’s E-Commerce Clothing Reviews, contains approximately 23,000 entries and includes review texts along with demographic and product-related attributes. The research workflow consists of data cleaning, feature engineering, exploratory text analysis, and emotion detection using the DistilBERT-based emotion classifier. All analyses were performed using Python in the Google Colab environment. The results reveal that positive emotions, particularly joy and admiration, dominate customer feedback, indicating strong satisfaction with product fit and quality. Conversely, negative emotions such as anger and sadness appear more frequently in reviews mentioning sizing inconsistencies, fabric issues, or unmet expectations. The combination of sentiment context, emotional tone, and engineered features provides a more nuanced understanding of customer behavior compared to sentiment polarity alone. These findings highlight the potential of emotion-aware analytical approaches to support e-commerce businesses in improving product development, enhancing customer experience, and designing data-driven marketing strategies.

References

Aguilar, J., C. García, and M. López. 2024. “Emotion-Aware Transformer Models for Recommendation in e-Commerce Platforms.” Expert Systems with Applications 235:120112.

Chowdhury, S., A. Kumaran, and M. Rahman. 2023. “Emotional Drivers of Fashion Product Satisfaction: An NLP Perspective.” Journal of Retail Analytics 12(4):55–72.

Devlin, J., M. W. Chang, K. Lee, and K. Toutanova. 2019. “BERT: Pre-Training of Deep Bidirectional Transformers.”

Han, J., J. Pei, and M. Kamber. 2022. Data Mining: Concepts and Techniques (4th Edition). Morgan Kaufmann.

Kaggle. 2023. “Women’s E-Commerce Clothing Reviews Dataset.”

Kumar, S., and A. Bhattacharya. 2024. “Emotion Detection Using Lightweight Transformer Models.”

Li, H., Q. Zhao, and L. Zhang. n.d. “A Hybrid Machine Learning Model for Customer Churn and Purchase Propensity Prediction.” Expert Systems with Applications 214.

Lin, Y., S. Zhou, and J. Chen. 2023. “Transformer-Based Sentiment and Emotion Analysis for Retail Reviews.” Neural Computing and Applications 35.

Liu, W., K. Zhang, and Y. Huang. 2024. “Standard Text Preprocessing Pipeline for Sentiment Mining.” Information Processing & Management 61(2).

Patel, R. n.d. “Machine Learning Approaches for Consumer Decision-Making Prediction.” Decision Analytics Journal 7:100239.

Rahimi, M., and M. Khashei. 2023. “Text Emotion Recognition with Deep Contextual Embedding.” Knowledge-Based Systems 260:111955.

Rahman, M., and A. Mehedi. 2024. “Hybrid Transformer Architecture for Emotion Detection.” Applied Intelligence 54(6):11325–41.

Sanh, V., L. Debut, J. Chaumond, and T. Wolf. 2019. “DistilBERT: Smaller, Faster & Lighter Transformer Architecture.”

Tripathy, A., A. Agrawal, and S. Rath. 2020. “Sentiment Classification Using CNN and RNN.” Expert Systems with Applications 171.

Xu, M., F. Wang, and H. Li. 2023. “Emotion Detection Using Enhanced Transformer Architecture.” IEEE Access 11:44512–26.

Yang, S., J. Kim, and H. Lee. 2022. “Improving Sentiment Classification with BiLSTM Attention Model.” International Journal of Data Science 7(2):88–99.

Zhang, L., C. Xu, and H. Sun. 2023. “Hybrid Transformer-LSTM for e-Commerce Emotion Analysis.” ACM Transactions on Intelligent Systems 41(3).

Downloads

Published

2025-12-22

How to Cite

Muflih, M., & Karyadiputra, E. (2025). Emotion Detection and Sentiment Analysis of Women’s E-Commerce Clothing Reviews Using DistilBERT Transformer. Brilliance: Research of Artificial Intelligence, 5(2), 1207–1214. https://doi.org/10.47709/brilliance.v5i2.7411

Similar Articles

1 2 3 4 5 6 7 8 9 10 > >> 

You may also start an advanced similarity search for this article.