LLM for Sentiment Analysis in E-commerce: A Deep Dive into Customer Feedback

Authors

  • Zeyu Wang University of California, Los Angeles, CA, USA
  • Yue Zhu Georgia Institute of Technology, USA
  • Qian Zhang Tencent Inc., China

DOI:

https://doi.org/10.5281/zenodo.12730477

Keywords:

bert, llm, gpt, deep learning, machine learning, nlp

Abstract

With the rise of online shopping becoming an integral part of daily life, it has brought unparalleled convenience, allowing us to purchase anything from daily necessities to luxury items with ease. On platforms like Amazon[1], customer feedback mechanisms play a crucial role in shaping user behavior and business practices. These mechanisms include the Star Rate (1-5) and detailed reviews. The star rating provides a quick and intuitive way for customers to score a product, while reviews offer comprehensive descriptions and shopping experiences. These feedback systems influence other customers' purchasing decisions and provide valuable insights for businesses to improve their products. In our study, we explore the impact of time on user behavior by combining three datasets for analysis. We observe a macro trend of increasing online shopping activity and customer satisfaction over time, with a growing tendency for customers to leave feedback. From a micro perspective, we conduct time series analysis and establish that customer star ratings vary over time, forming a column relationship, which we model using the ARIMA[2] technique to predict future trends. Furthermore, we investigate the influence of reviews on customer responses, finding that negative reviews spread rapidly and widely through social networks, akin to a viral phenomenon. Utilizing the SIR virus model as a text-based network propagation model, we demonstrate the significant impact of negative reviews on consumption patterns.[3] Lastly, we employ advanced deep learning models such as BERT, LLM, and GPT for natural language processing (NLP) to analyze the sentiment in customer reviews. By leveraging word vectors through classification functions, we distinguish between pessimistic and optimistic emotions. Our findings reveal a higher-order functional relationship[4] between star ratings and these emotions, providing deeper insights into customer sentiment and product perception.

Downloads

Download data is not yet available.

References

Li, Zhenglin, et al. (2023). Stock market analysis and prediction using LSTM: A case study on technology stocks. Innovations in Applied Engineering and Technology, 1-6.

Hong, Bo, et al. (2024). The application of artificial intelligence technology in assembly techniques within the industrial sector. Journal of Artificial Intelligence General Science (JAIGS), 5(1), 1-12.

Zhou, Chang, et al. (2024). Optimizing search advertising strategies: Integrating reinforcement learning with generalized second-price auctions for enhanced ad ranking and bidding. arXiv preprint arXiv:2405.

Li, Shaojie, Yuhong Mo, & Zhenglin Li. (2022). Automated pneumonia detection in chest x-ray images using deep learning model. Innovations in Applied Engineering and Technology, 1-6.

Zhou, Chang, et al. (2024). Optimizing search advertising strategies: Integrating reinforcement learning with generalized second-price auctions for enhanced ad ranking and bidding. arXiv preprint arXiv:2405.

Mo, Yuhong, et al. (2024). Password complexity prediction based on roberta algorithm. Applied Science and Engineering Journal for Advanced Research, 3(3), 1-5.

Jin, Jiajun, et al. (2024). Enhancing federated semi-supervised learning with out-of-distribution filtering amidst class mismatches. Journal of Computer Technology and Applied Mathematics, 1(1), 100-108.

Dai, Shuying, et al. (2024). AI-based NLP section discusses the application and effect of bag-of-words models and TF-IDF in NLP tasks. Journal of Artificial Intelligence General Science (JAIGS), 5(1), 13-21.

Mo, Yuhong, et al. (2024). Large Language Model (LLM) AI text generation detection based on transformer deep learning algorithm. International Journal of Engineering and Management Research 14(2), 154-159.

Song, Jintong, et al. (2024). A comprehensive evaluation and comparison of enhanced learning methods. Academic Journal of Science and Technology, 10(3), 167-171.

Dai, Shuying, et al. (2024). The cloud-based design of unmanned constant temperature food delivery trolley in the context of artificial intelligence. Journal of Computer Technology and Applied Mathematics, 1(1), 6-12.

Liu, Tianrui, et al. (2024). Spam detection and classification based on distilbert deep learning algorithm. Applied Science and Engineering Journal for Advanced Research, 3(3), 6-10.

Mo, Yuhong, et al. (2024). Make scale invariant feature transform “Fly” with CUDA. International Journal of Engineering and Management Research, 14(3), 38-45.

He, Shuyao, et al. (2024). Lidar and monocular sensor fusion depth estimation. Applied Science and Engineering Journal for Advanced Research, 3(3), 20-26.

Samir Elhedhli, Zichao Li, & James H. Bookbinder. (2017). Airfreight forwarding under system-wide and double discounts. EURO Journal on Transportation and Logistics, 6(2), 165–83. https://doi.org/10.1007/s13676-015-0093-5.

Liu, Jihang, et al. (2024). Unraveling large language models: From evolution to ethical implications-introduction to large language models. World Scientific Research Journal, 10(5), 97-102.

Lin, Zheng, et al. (2024). Text sentiment detection and classification based on integrated learning algorithm. Applied Science and Engineering Journal for Advanced Research, 3(3), 27-33.

Zhao, Peng, et al. (2024). Task allocation planning based on hierarchical task network for national economic mobilization. Journal of Artificial Intelligence General Science (JAIGS), 5(1), 22-31.

Zhu, Armando, et al. (2024). Cross-task multi-branch vision transformer for facial expression and mask wearing classification. arXiv preprint arXiv:2404.14606.

Wang, Jin, et al. (2024). Research on emotionally intelligent dialogue generation based on automatic dialogue system. arXiv preprint arXiv:2404.11447.

Zhang, Jingyu, et al. (2024). Research on detection of floating objects in river and lake based on AI image recognition. Journal of Artificial Intelligence Practice, 7(2), 97-106.

Xiang, Ao, et al. (2024). Research on splicing image detection algorithms based on natural image statistical characteristics. Journal of Image Processing Theory and Applications, 7(1), 43-52.

Cheng, Yu, et al. (2024). Research on credit risk early warning model of commercial banks based on neural network algorithm. arXiv preprint arXiv:2405.10762.

Wang, Liyang, et al. (2024). Application of natural language processing in financial risk detection. arXiv preprint arXiv:2406.09765.

Yang, Haowei et al. (2024). Research on edge detection of LiDAR images based on artificial intelligence technology.

Zeyu Wang, Yue Zhu, Zichao Li, Zhuoyue Wang, Hao Qin, & Xinqi Liu. (2024). Graph neural network recommendation system for football formation. Applied Science and Biotechnology Journal for Advanced Research, 3(3), 33-39. doi:10.5281/zenodo.12198843.

Yang Wang, Chenghao Wang, Zichao Li, Zhuoyue Wang, Xinqi Liu, & Yue Zhu. (2024). Neural radiance fields convert 2d to 3d texture. Applied Science and Biotechnology Journal for Advanced Research, 3(3), 40-44. doi:10.5281/zenodo.12200107.

Li, Z., Huang, Y., Zhu, M., Zhang, J., Chang, J., & Liu, H. (2024). Feature manipulation for ddpm based change detection. arXiv preprint arXiv:2403.15943.

Weng, Y., & Wu, J. (2024). Fortifying the global data fortress: a multidimensional examination of cyber security indexes and data protection measures across 193 nations. International Journal of Frontiers in Engineering Technology, 6(2), 13-28.

Lin, Z., Wang, C., Li, Z., Wang, Z., Liu, X., & Zhu, Y. (2024). Neural radiance fields convert 2d to 3d texture. Applied Science and Biotechnology Journal for Advanced Research, 3(3), 40-44.

Wang, Zexuan, et al,. (2024). Distance-weighted sinkhorn loss for Alzheimer’s disease classification. Iscience, 27(3).

Downloads

Published

2024-07-12

How to Cite

Zeyu Wang, Yue Zhu, & Qian Zhang. (2024). LLM for Sentiment Analysis in E-commerce: A Deep Dive into Customer Feedback. Applied Science and Engineering Journal for Advanced Research, 3(4), 8–13. https://doi.org/10.5281/zenodo.12730477

Issue

Section

Articles