Journals / International Journal of 3D Printing Technologies and Digital Industry / 2025 / Cilt: 9 Sayı: 3

A STAR RATING-BASED APPROACH IN BERT-BASED SENTIMENT ANALYSIS OF CUSTOMER FEEDBACK

MÜŞTERİ GERİBİLDİRİMLERİNİN BERT TABANLI DUYGU ANALİZİNDE YILDIZ SINIFLANDIRMA TEMELLİ BİR YAKLAŞIM

İlkay Onay(ISPARTA UYGULAMALI BİLİMLER ÜNİVERSİTESİ TEKNOLOJİ FAKÜLTESİ)0009-0008-4106-0540
Kıyas Kayaalp(ısparta uygulamalı bilimler üniversitesi)0000-0002-6483-1124
Pages
556–568
Publication Date
2025-12-28
🏛️Bibliographic metadata and full text access for this article are provided via DergiPark.
DergiPark Record ↗
✨

AI Summary & Key Takeaways

AI Insight
⚡ TL;DR(Too Long; Didn't Read)

These results prove that BERT based Artificial Intelligence models, combined with proper data preparation and training strategies, can successfully perform complex sentiment analysis tasks even for morphologically rich languages like Turkish.

📌 3 Key Takeaways

🎯
Objective & Hypothesis:This study addresses the sentiment analysis of customer feedback using an AI-based approach, moving beyond traditional positive/negative classification to a multi-class structure based on star ratings from 1 to 5.
📊
Key Findings & Data:For this purpose, a series of classification models named "YıldızSezar" were developed and optimized on a comprehensive dataset of approximately 900.000 Turkish customer reviews.
💡
Conclusion & Impact:These results prove that BERT based Artificial Intelligence models, combined with proper data preparation and training strategies, can successfully perform complex sentiment analysis tasks even for morphologically rich languages like Turkish.
🔬Design:Review & Systematic Survey
📍Scope:Comprehensive Sample
⚙️Variables:Duygu Analizi · Büyük Dil Modelleri · Çok Sınıflı Sınıflandırma

Abstract

This study addresses the sentiment analysis of customer feedback using an AI-based approach, moving beyond traditional positive/negative classification to a multi-class structure based on star ratings from 1 to 5. For this purpose, a series of classification models named "YıldızSezar" were developed and optimized on a comprehensive dataset of approximately 900.000 Turkish customer reviews. The study demonstrates that traditional machine learning methods fall short in handling complex language structures and intermediate classes (2, 3, and 4 stars), thus shifting the focus to Transformer-based models. Extensive cleaning protocols were applied to enhance data quality, and the class imbalance problem was addressed by enriching the dataset with synthetic data generated via a LLaMA-based model. The final model, YıldızSezar, developed using the ConvBERT architecture and optimized training strategies, achieved 0,8996 accuracy and a macro F1-score of 0,7990 on the test set, showing high performance, especially in intermediate classes. These results prove that BERT based Artificial Intelligence models, combined with proper data preparation and training strategies, can successfully perform complex sentiment analysis tasks even for morphologically rich languages like Turkish.

Özet

Bu çalışma, müşteri geri bildirimlerinin yapay zekâ tabanlı duygu analizini, geleneksel olumlu/olumsuz sınıflandırmanın ötesine taşıyarak 1'den 5'e kadar yıldız puanlarına göre çok sınıflı bir yapıda ele almaktadır. Bu amaçla, Türkçe müşteri yorumlarından oluşan yaklaşık 900.000 verilik kapsamlı bir veri seti üzerinde, "YıldızSezar" adı verilen bir dizi sınıflandırma modelleri geliştirilmiş ve optimize edilmiştir. Çalışmada, geleneksel makine öğrenmesi yöntemlerinin karmaşık dil yapıları ve ara sınıflarda (2, 3, 4 yıldız) yetersiz kaldığı görülmüş, bu nedenle Transformer tabanlı modellere odaklanılmıştır. Veri kalitesini artırmak için kapsamlı temizleme protokolleri uygulanmış ve sınıf dengesizliği sorununu gidermek amacıyla veri seti, LLaMA tabanlı bir model aracılığıyla üretilen sentetik verilerle zenginleştirilmiştir. ConvBERT mimarisi ve optimize edilmiş eğitim stratejileri kullanılarak geliştirilen nihai model YıldızSezar, test seti üzerinde 0,8996 doğruluk ve 0,7990 makro F1-skoru elde ederek, özellikle ara sınıflarda yüksek başarım göstermiştir. Bu sonuçlar, BERT tabanlı yapay zeka modellerinin, doğru veri hazırlama ve eğitim stratejileriyle, Türkçe gibi morfolojik olarak zengin dillerde dahi karmaşık duygu analizi görevlerini başarıyla yerine getirebileceğini kanıtlamaktadır.

🔖

Cite This Article

Onay, İ., Kayaalp, K. (2025). A STAR RATING-BASED APPROACH IN BERT-BASED SENTIMENT ANALYSIS OF CUSTOMER FEEDBACK. International Journal of 3D Printing Technologies and Digital Industry, Cilt: 9 Sayı: 3, 556–568. https://doi.org/10.46519/ij3dptdi.1732179

📄 Full Text PDF Viewer

📄

PDF görüntüleyici hazırlanıyor...

References (23)

  1. Yücel, N., and Cömert, Ö., “Müşteri Duyarlılığını Keşfetmek İçin Yapay Zeka Destekli Analiz ile Çevrimiçi Ürün İncelemelerinden Anlamlı Bilgiler Elde Etme”, Fırat Üniversitesi Mühendislik Bilimleri Dergisi, Cilt 35, Sayı 2, Sayfa 679-690, 2023.
  2. Aytan, B., and Sakar, C. O., “Comparison of transformer-based models trained in Turkish and different languages on Turkish natural language processing problems”, 30th Signal Processing and Communications Applications Conference (SIU) Sayfa 1-4, IEEE, 2022.
  3. Aslan, S., “Doğal Dil İşleme Teknikleri Kullanarak E-Ticaret Kullanıcı İncelemelerinde Özellik Tabanlı Duygu Analizi”, Fırat Üniversitesi Mühendislik Bilimleri Dergisi, Cilt 35, Sayı 2, Sayfa 875-882, 2023.
  4. Tuna, M. F., Kaynar, O., and Akdoğan, M. Ş., “Otellere ilişkin çevrimiçi geribildirimlerin makine öğrenmesi yöntemleriyle duygu analizi”, İşletme Araştırmaları Dergisi, Cilt 13, Sayı 3, Sayfa 2232-2241, 2021.
  5. Alpkoçak, A., Tocoglu, M. A., Çelikten, A., ve Aygün, İ., “Türkçe metinlerde duygu analizi için farklı makine öğrenmesi yöntemlerinin karşılaştırılması”, Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen ve Mühendislik Dergisi, Cilt 21, Sayı 63, Sayfa 719-725, 2019.
  6. Güven, Z. A., “The effect of bert, electra and albert language models on sentiment analysis for turkish product reviews”, 6th international conference on computer science and engineering (UBMK), Pages 629-632, IEEE, 2021.
  7. Acikalin, U. U., Bardak, B., and Kutlu, M., “Turkish sentiment analysis using bert”, 28th Signal Processing and Communications Applications Conference (SIU), Pages 1-4, IEEE, 2020.
  8. Wu, X., Linghu, Y., Wang, T., and Fan, Y., “Sentiment analysis of weak-ruletext based on the combination of sentiment lexicon and neural network”, IEEE 6th International Conference on Cloud Computing and Big Data Analytics (ICCCBDA), Pages 205-209, IEEE, 2021.
  9. Siddiqua, U. A., Ahsan, T., and Chy, A. N., “Combining a rule-based classifier with weakly supervised learning for twitter sentiment analysis”, International conference on innovations in science, engineering and technology (ICISET), Pages 1-4, IEEE, 2016.
  10. Siğirci, İ. O., Özgür, H., Oluk, A., Uz, H., Çetiner, E., Oktay, H. U., and Erdemir, K., “Sentiment analysis of Turkish reviews on google play store”, 5th international conference on computer science and engineering (UBMK), Pages 314-315, IEEE, 2020.
  11. Atılgan, K. Ö., ve Yoğurtcu, H., “Kargo firması müşterilerinin Twitter gönderilerinin duygu analizi”, Çağ Üniversitesi Sosyal Bilimler Dergisi, Cilt 18, Sayı 1, Sayfa 31-39, 2021.
  12. Akiba, T., Sano, S., Yanase, T., Ohta, T., and Koyama, M., “Optuna: A next-generation hyperparameter optimization framework”, 25th ACM SIGKDD international conference on knowledge discovery & data mining, Pages 2623-2631, 2019.
  13. Sathyanarayanan, S., and Tantri, B. R., “Confusion matrix-based performance evaluation metrics”, African Journal of Biomedical Research, Vol. 21, Issue 1, Pages, 4023-4031, 2024.
  14. Karamollaoğlu, H., Doğru, İ. A., Dörterler, M., Utku, A., & Yıldız, O., “Sentiment analysis on Turkish social media shares through lexicon based approach”, 3rd International Conference on Computer Science and Engineering (UBMK), Pages 45-49, IEEE, 2018.
  15. Demir, E., and Bilgin, M., “Sentiment Analysis from Turkish News Texts with BERT-Based Language Models and Machine Learning Algorithms”, 8th International Conference on Computer Science and Engineering (UBMK), Pages 101-104, IEEE, 2023.
  16. Le, T., “An attention-based deep learning method for text sentiment analysis”, International Conference on Computational Science and Computational Intelligence (CSCI), Pages 282-286, IEEE, 2020.
  17. Parkavi, A., Shetty, T. B., Shibu, S. G., Ismail, R., and Muthirakalayil, R. A., “Customer Feedback Analysis Based on Emotion Detection Using Machine Learning Techniques with Privacy Preservation”, International Conference on Circuit Power and Computing Technologies (ICCPCT), Pages 1617-1624, IEEE, 2023.
  18. Gümüş, Ö., “Duygu analizi yönteminin pazarlama alanında kullanımına ilişkin çalışmaların değerlendirilmesi”, Yüksek Lisans Tezi, Tekirdağ Namık Kemal Üniversitesi, 2022.
  19. Ban, M., Zong, L., Zhou, J., and Xiao, Z., “Multimodal aspect-level sentiment analysis based on deep neural networks”, 8th International Symposium on System Security, Safety, and Reliability (ISSSR), Pages 184-188, IEEE, 2022.
  20. Niu, L., Zheng, Q., and Zhang, L.,” Enhance gated graph neural network with syntactic for sentiment analysis”, International Conference on Advances in Electrical Engineering and Computer Applications (AEECA), Pages 1055-1060, IEEE, 2021.
  21. Das, N., Gupta, S., Das, S., Yadav, S., Subramanian, T., and Sarkar, N., “A comparative study of sentiment analysis tools”, International Conference on Innovative Computing, Intelligent Communication and Smart Electrical Systems (ICSES) Pages 1-7, IEEE, 2021. 22. Cebeci, I., “Turkish Product Reviews”, Kaggle. https://www.kaggle.com/datasets/cebeci/turkishreviews, 2018.
  22. Keskin, M., “Turkish Product Review Dataset”, Kaggle. https://www.kaggle.com/datasets/mustfkeskin/turkish-product-review-dataset, 2020.
  23. Schweter, S., “BERTurk: A Turkish BERT model”, 3rd Workshop on E-commerce and NLP (ECNLP 3), Pages 68-73, 2020.