Consumer Review Sentiment Analysis and Market Trend Prediction Based on GPT-3
Main Article Content
Abstract
Existing market-share forecasting approaches often rely on simplified sentiment proxies that fail to capture nuanced semantics and long-range contextual dependencies in consumer reviews, limiting their predictive power in dynamic ecommerce environments. To address this gap, this paper proposes an integrated framework that uses GPT-3 for highfidelity sentiment time-series extraction and embeds these signals into a Temporal Fusion Transformer for forwardlooking market-share prediction in the textile sector. GPT-3 generates confidence-weighted monthly positivity and net sentiment scores, which are fused with 10 additional features covering static product attributes, historical review dynamics, and future-known inputs such as public holidays and major promotional events. Experimental results show that GPT-3 achieves a Macro-F1 of 0.842 in sentiment classification, outperforming RoBERTa and VADER, especially in neutral sentiment recognition, where F1 reaches 0.789. The TFT+GPT-3 model achieves MAE of 0.024, RMSE of 0.032, MAPE of 4.29%, and directional accuracy of 83.7% in market-share prediction. Ablation analysis shows that removing GPT-3-derived sentiment features increases MAE to 0.035, confirming their critical contribution to forecast accuracy and interpretability.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
References
Z. Pu, C. Zhang, and Xu Zi, “A review of consumer preference mining based on online reviews,” Chinese Journal of Management Science, vol. 33, no. 1, pp. 209-220, 2025, doi: 10.16381/j.cnki.issn1003-207x.2024.0483.
C. Shen, S. Liu, and T. Xu, “Research on consumer online shopping review behavior under merchant-induced reviews,” Journal of Information Resources Management, vol. 10, no. 3, pp. 92-101, 2020, doi: CNKI:SUN:XNZY.0.2020-03-010.
N. M. Alharbi, N. S. Alghamdi, E. H. Alkhammash, and J. F. Al Amri, “Evaluation of sentiment analysis via word embedding and RNN variants for Amazon online reviews,” Mathematical Problems in Engineering, vol. 2021, no. 1, Art. no. 5536560, 2021, doi: 10.1155/2021/5536560.
A. Vollero, D. Sardanelli, and A. Siano, “Exploring the role of the Amazon effect on customer expectations: An analysis of user-generated content in consumer electronics retailing,” Journal of Consumer Behaviour, vol. 22, no. 5, pp. 1062-1073, 2023, doi: 10.1002/cb.1969.
P. M. Chu, Y. S. Mao, S. J. Lee, and C. L. Hou, “Leveraging user comments for recommendation in E-commerce,” Applied Sciences, vol. 10, no. 7, pp. 2540, 2020, doi: 10.3390/app10072540.
T. Chen, C. Tong, Y. Bai, J. Yang, G. Cong, T. Cong, et al., “Analysis of the public opinion evolution on the normative policies for the live streaming e-commerce industry based on online comment mining under COVID-19 epidemic in China,” Mathematics, vol. 10, no. 18, pp. 3387, 2022, doi: 10.1145/2808797.2809334.
C. Fang, Y. Jin, G. Chen, Y. Zhang, S. Li, Y. Ma, et al., “Multimodal Speech Emotion Recognition Based on Large Language Model,” IEICE TRANSACTIONS on Information and Systems, vol. 107, no. 11, pp. 1463-1467, 2024, doi: 10.1587/transinf.2024EDL8034.
E. H. Nfaoui and H. Elfaik, “Evaluating Arabic emotion recognition task using ChatGpt models: a comparative analysis between emotional stimuli prompt, fine-tuning, and in-context learning,” Journal of Theoretical and Applied Electronic Commerce Research, vol. 19, no. 2, pp. 1118-1141, 2024, doi: 10.3390/jtaer19020058.
M. E. Alzahrani, T. H. H. Aldhyani, S. N. Alsubari, M. M. Althobaiti, and A. Fahad, “Developing an Intelligent System with Deep Learning Algorithms for Sentiment Analysis of E-Commerce Product Reviews,” Computational Intelligence and Neuroscience, vol. 2022, no. 1, Art. no. 3840071, 2022, doi: 10.1155/2022/3840071.
U. Singh, A. Saraswat, H. K. Azad, K. Abhishek, and S. Shitharth, “Towards improving e-commerce customer review analysis for sentiment detection,” Scientific Reports, vol. 12, no. 1, Art. no. 21983, 2022, doi: 10.1038/s41598-022-26432-3.
R. Hernández-Pérez, P. Lara-Martínez, B. Obregón-Quintana, L. S. Liebovitch, and L. Guzmán-Vargas, “Correlations and fractality in sentence-level sentiment analysis based on Vader for literary texts,” Information, vol. 15, no. 11, pp. 698, 2024, doi: 10.3390/info15110698.
F. Huang, X. Li, C. Yuan, S. Zhang, J. Zhang, S. Qiao, et al., “Attention-emotion-enhanced convolutional LSTM for sentiment analysis,” IEEE transactions on neural networks and learning systems, vol. 33, no. 9, pp. -4345, 2021, doi: 10.1109/TNNLS.2021.3056664.
F. Ullah, X. Chen, S. B. H. Shah, S. Mahfoudh, M. A. Hassan, N. Saeed, et al., “A novel approach for emotion detection and sentiment analysis for low resource Urdu language based on CNN-LSTM,” Electronics, vol. 11, no. 24, pp. 4096, 2022, doi: 10.3390/electronics11244096.
M. K. Shaik Vadla, M. A. Suresh, and V. K. Viswanathan, “Enhancing product design through AI-driven sentiment analysis of Amazon reviews using BERT,” Algorithms, vol. 17, no. 2, pp. 59, 2024, doi: 10.3390/a17020059.
M. Mostafa and A. AlSaeed, “Sentiment analysis based on BERT for Amazon reviewer,” Journal of the ACS Advances in Computer Science, vol. 13, no. 1, pp. 1-10, 2022, doi: 10.21608/asc.2022.283539.
J. Kim, H. S. Kim, and S. Y. Choi, “Forecasting the S&P 500 index using mathematical-based sentiment analysis and deep learning models: A FinBERT transformer model and LSTM,” Axioms, vol. 12, no. 9, pp. 835, 2023, doi: 10.3390/axioms12090835.
C. Suhaeni and H. S. Yong, “Mitigating class imbalance in sentiment analysis through GPT-3-generated synthetic sentences,” Applied Sciences, vol. 13, no. 17, pp. 9766, 2023, doi: 10.3390/app13179766.
B. Dhyani, M. Kumar, P. Verma, and A. Jain, “Stock market forecasting technique using arima model,” International Journal of Recent Technology and Engineering, vol. 8, no. 6, pp. 2694-2697, 2020, doi: 10.35940/ijrte.F8405.038620.
A. M. Wahid, “Time series analysis of bitcoin prices using ARIMA and LSTM for trend prediction,” Journal of Digital Market and Digital Currency, vol. 1, no. 1, pp. 84-102, 2024, doi: 10.47738/jdmdc.v1i1.1.
L. Liu and B. Ma, “CA-VAR-Markov model of user needs prediction based on user generated content,” Scientific Reports, vol. 15, no. 1, pp. 7716, 2025, doi: 10.1038/s41598-025-92173-8.
T. Alsaedi, M. R. R. Rana, A. Nawaz, A. Raza, and A. Alahmadi, “Sentiment Mining in E-Commerce: The Transformer-based Deep Learning Model,” International Journal of Electrical and Computer Engineering Systems, vol. 15, no. 8, pp. 641-650, 2024, doi: 10.32985/ijeces.15.8.2.
K. Kadarsih and D. Pujianto, “Application of Transformer Model and Word Embedding in Sentiment Analisys of Indonesian E-Commerce Application Review,” Journal of Computer Networks, Architecture and High Performance Computing, vol. 7, no. 3, pp. 720-732, 2025, doi: 10.3389/fcomp.2021.649508.
A. R. Chowdhury, R. Paul, and F. Z. Rozony, “A systematic review of demand forecasting models for retail e-commerce enhancing accuracy in inventory and delivery planning,” International Journal of Scientific Interdisciplinary Research, vol. 6, no. 1, pp. 1-27, 2025, doi: 10.63125/mbbfw637.
Q. Zhang, X. Li, and P. Gao, “Forecasting Sales in Live-Streaming Cross-Border E-Commerce in the UK Using the Temporal Fusion Transformer Model,” Journal of Theoretical and Applied Electronic Commerce Research, vol. 20, no. 2, pp. 92, 2025, doi: 10.3390/jtaer20020092.
M. Sukel, S. Rudinac, and M. Worring, “Multimodal Temporal Fusion Transformers Are Good Product Demand Forecasters,” IEEE MultiMedia, vol. 31, no. 2, pp. 48-60, 2024, doi: 10.1109/MMUL.2024.3373827.
S. McCarthy and G. Alaghband, “Enhancing financial market analysis and prediction with emotion corpora and news co-occurrence network,” Journal of Risk and Financial Management, vol. 16, no. 4, pp. 226, 2023, doi: 10.3390/jrfm16040226.
Y. Hou, J. Li, Z. He, A. Yan, X. Chen, J. McAuley, et al., “Bridging language and items for retrieval and recommendation,” arXiv preprint arXiv:2403.03952, 2024, doi: 10.48550/arXiv.2403.0395.
R. Mousavi, B. Hazarika, K. Chen, and M. Razi, “The effect of online Q&As and product reviews on product performance metrics: Amazon,” com as a case study. Journal of Information & Knowledge Management, vol. 20, no. 01, Art. no. 2150005, 2021, doi: 10.1142/S0219649221500052.
U. Norinder and P. Norinder, “Predicting Amazon customer reviews with deep confidence using deep learning and conformal prediction,” Journal of Management Analytics, vol. 9, no. 1, pp. 1-16, 2022, doi: 10.1080/23270012.2022.2031324.
J. W. Kang and S. Y. Choi, “Comparative investigation of gpt and finbert’s sentiment analysis performance in news across different sectors,” Electronics, vol. 14, no. 6, pp. 1090, 2025, doi: 10.3390/electronics14061090.
O. Shobayo, S. Adeyemi-Longe, O. Popoola, and B. Ogunleye, “Innovative sentiment analysis and prediction of stock price using FinBERT, GPT-4 and logistic regression: A data-driven approach,” Big Data and Cognitive Computing, vol. 8, no. 11, pp. 143, 2024, doi: 10.3390/bdcc8110143.
M. C. Lee, “Temporal Fusion Transformer-Based Trading Strategy for Multi-Crypto Assets Using On-Chain and Technical Indicators,” Systems, vol. 13, no. 6, pp. 474, 2025, doi: 10.3390/systems13060474.
Y. Zhou, L. Liao, Y. Gao, R. Wang, and H. Huang, “TopicBERT: A topic-enhanced neural language model fine-tuned for sentiment classification,” IEEE Transactions on Neural Networks and Learning Systems, vol. 34, no. 1, pp. 380-393, 2021, doi: 10.1109/TNNLS.2021.3094987.
N. C. Dang, M. N. Moreno-García, and F. De la Prieta, “Sentiment analysis based on deep learning: A comparative study,” Electronics, vol. 9, no. 3, pp. 483, 2020, doi: 10.3390/electronics9030483.
J. Hartmann, M. Heitmann, C. Siebert, and C. Schamp, “More than a feeling: Accuracy and application of sentiment analysis,” International Journal of Research in Marketing, vol. 40, no. 1, pp. 75-87, 2023, doi: 10.1016/j.ijresmar.2022.05.005.
M. Wankhade, A. C. S. Rao, and C. Kulkarni, “A survey on sentiment analysis methods, applications, and challenges,” Artificial Intelligence Review, vol. 55, no. 7, pp. 5731-5780, 2022, doi: 10.1007/s10462-022-10144-1.