Sentiment-Aware Summary Generation for User Reviews Using Deep Learning Models

Authors

  • Mian Muhammad Danyal Center for Excellence in Information Technology, Institute of Management Sciences, Peshawar, 25000, Pakistan https://orcid.org/0009-0005-8603-7887
  • Afsheen Khalid Center for Excellence in Information Technology, Institute of Management Sciences, Peshawar, 25000, Pakistan https://orcid.org/0000-0001-8766-9935
  • Sarwar shah Khan Department of Computer Science, University of Engineering and Technology Mardan, Mardan, 23200, Pakistan https://orcid.org/0000-0002-6387-4114
  • Sana Ullah Center for Excellence in Information Technology, Institute of Management Sciences, Peshawar, 25000, Pakistan
  • Hassan Jan Center for Excellence in Information Technology, Institute of Management Sciences, Peshawar, 25000, Pakistan;
  • Dilawar Khan Department of Computer Science, University of Engineering and Technology, Peshawar

DOI:

https://doi.org/10.21015/vtse.v13i3.2240

Abstract

User reviews are a valuable source of information for potential buyers. User reviews provide valuable feedback that reflects genuine customer experiences, enabling future buyers to make more informed decisions. Reviewing every single comment can be a challenging, lengthy, and overwhelming process. Text summarization helps by providing concise summaries, allowing users to quickly grasp key points from multiple reviews. Additionally, sentiment analysis extracts subjective information, such as overall opinions, strengths, weaknesses, and recommendations, helping potential buyers in making informed decisions. This study proposes the XLNet model for sentiment analysis of user reviews and LED (Longformer Encoder-Decoder) for text summarization of user reviews. XLNet is a pre-trained transformer model that captures bidirectional relationships between words to improve sentiment analysis, while LED is a transformer-based model designed for efficient text summarization of long documents by using a sparse attention mechanism. The results show that XLNet achieves high accuracy in sentiment classification on the Amazon Fine Food Reviews dataset of 50K reviews, while LED generates effective and concise summaries, achieving the highest ROUGE and METEOR scores among the tested summarization models. To ensure robust evaluation, multiple metrics, including ROUGE, METEOR, MoverScore, and BERTScore-F1, were applied across models, providing both lexical and semantic perspectives on summarization quality. By performing both sentiment analysis and text summarization within a single framework, this approach efficiently extracts meaningful insights from large datasets, streamlining the decision-making process for users.

References

A. S. Kumbhar, A. S. Khot, and K. G. Kharade, “Sentiment analysis of Amazon product reviews,” *International Journal of Electrical, Electronics and Computer Systems*, vol. 14, no. 1, pp. 28–34, 2025.

L. Yang, Y. Li, J. Wang, and R. S. Sherratt, “Sentiment analysis for e-commerce product reviews in Chinese based on sentiment lexicon and deep learning,” *IEEE Access*, vol. 8, pp. 23522–23530, 2020.

M. M. Danyal, S. S. Khan, M. Khan, S. Ullah, F. Mehmood, and I. Ali, “Proposing sentiment analysis model based on BERT and XLNet for movie reviews,” *Multimedia Tools and Applications*, vol. 83, no. 24, pp. 64315–64339, 2024.

E. A. Kadhim, M. R. Feizi-Derakhshi, and H. S. Aghdasi, “Advanced text summarization model incorporating NLP techniques and feature-based scoring,” *IEEE Access*, 2025.

A. G. Văduva and A. I. Andreescu, “Text summarization and sentiment analysis pipelines using large language models for financial news,” in *Proc. Int. Conf. on Informatics in Economy*, Singapore: Springer Nature, May 2024, pp. 421–430.

G. Kaur and A. Sharma, “Automatic customer review summarization using deep learning-based hybrid sentiment analysis,” *Int. J. of Electrical & Computer Engineering*, vol. 14, no. 2, 2024.

J. McAuley and J. Leskovec, “From amateurs to connoisseurs: Modeling the evolution of user expertise through online reviews,” in *Proc. Int. World Wide Web Conf. (WWW)*, 2013. DOI: https://doi.org/10.1145/2488388.2488466

B. Liu, *Sentiment Analysis and Opinion Mining*, Springer Nature, 2022.

M. Hakimi, M. A. U. Haq, A. M. Ghouri, *et al.*, “Analyzing customer reviews with abstractive summarization and sentiment analysis: A software review,” *Journal of Marketing Analytics*, 2025.

Y. K. Khor, C. W. Tan, and T. M. Lim, “Text summarization on Amazon food reviews using TextRank,” in *Proc. Int. Conf. on Digital Transformation and Applications (ICDXA)*, 2021, pp. 113–120.

S. Manikanta, “News and text summarizer using sentiment analysis models: A study of T5 and BART approaches,” *SSRN*, Dec. 2024.

N. Hema Priya, S. Shymala Gowri, N. Ravi Subramaniam, and S. M. Adithya Harish, “Summarization of customer reviews in web services using natural language processing,” in *Proc. 1st Int. Conf. on Combinatorial and Optimization (ICCAP) EAI*, 2021.

A. Mishra, A. Sahay, M. A. Pandey, and S. S. Routaray, “News text analysis using text summarization and sentiment analysis based on NLP,” in *Proc. 3rd Int. Conf. on Smart Data Intelligence (ICSMDI)*, Trichy, India, 2023, pp. 28–31, IEEE.

M. Peal, M. S. Hossain, and J. Chen, “Summarizing consumer reviews,” *Journal of Intelligent Information Systems*, vol. 59, pp. 193–212, 2022.

H. P. Chan, W. Chen, and I. King, “A unified dual-view model for review summarization and sentiment classification with inconsistency loss,” in *Proc. 43rd Int. ACM SIGIR Conf. on Research and Development in Information Retrieval*, July 2020, pp. 1191–1200.

S. Yang, L. Cui, J. Xie, and Y. Zhang, “Making the best use of review summary for sentiment analysis,” in *Proc. 28th Int. Conf. on Computational Linguistics*, 2020, pp. 173–184.

K. Kumar, S. Singh, K. Tyagi, S. Chaudhary, and M. N. Prakash, “Sentiment analysis and opinion mining of Amazon reviews,” Apr. 2025. [Online]. Available: https://

N. Akter, M. R. Hossain, M. K. Ishaque, and M. S. Islam, “Enhancing Amazon online product review sentiment analysis by LSTM-based deep learning framework,” in *Proc. Int. Conf. on Electrical, Computer and Communication Engineering (ECCE)*, IEEE, Feb. 2025, pp. 1–6.

M. K. S. S. 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, p. 59, 2024.

A. Iqbal, R. Amin, J. Iqbal, R. Alroobaea, A. Binmahfoudh, and M. Hussain, “Sentiment analysis of consumer reviews using deep learning,” *Sustainability*, vol. 14, no. 17, p. 10844, 2022.

S. Okuboyejo, M. Munmun, and S. Walczak, “Insights from depression apps user reviews via sentiment analysis and topic modelling,” in *MWAIS 2024 Proceedings*, 2024.

Y. Li, “Optimizing sentiment analysis of user reviews and emotional marketing strategies on e-commerce platforms using deep learning algorithms,” *Journal of Electrical Systems*, vol. 20, no. 9s, pp. 437–444, 2024.

N. K. Gondhi, Chaahat, E. Sharma, A. H. Alharbi, R. Verma, and M. A. Shah, “Efficient long short-term memory-based sentiment analysis of e-commerce reviews,” *Computational Intelligence and Neuroscience*, vol. 2022, no. 1, p. 3464524, 2022.

A. Dewani, M. A. Memon, and S. Bhatti, “Cyberbullying detection: Advanced preprocessing techniques and deep learning architecture for Roman Urdu data,” *Journal of Big Data*, vol. 8, no. 1, p. 160, 2021.

M. M. Danyal, S. S. Khan, M. Khan, M. B. Ghaffar, B. Khan, and M. Arshad, “Sentiment analysis based on performance of linear support vector machine and multinomial naïve Bayes using movie reviews with baseline techniques,” *Journal on Big Data*, vol. 5, 2023.

M. M. Danyal, S. S. Khan, M. Khan, S. Ullah, M. B. Ghaffar, and W. Khan, “Sentiment analysis of movie reviews based on NB approaches using TF–IDF and count vectorizer,” *Social Network Analysis and Mining*, vol. 14, no. 1, p. 87, 2024.

S. H. H. Huspi and Z. Ali, “Sentiment analysis on Roman Urdu students’ feedback using enhanced word embedding technique,” *Baghdad Science Journal*, vol. 21, no. 2(SI), pp. 0725–0725, 2024.

S. Selva Birunda and R. Kanniga Devi, “A review on word embedding techniques for text classification,” in *Proc. Innovative Data Communication Technologies and Application (ICIDCA)*, 2021, pp. 267–281.

K. Akiyama *et al.*, “Hie-BART: Document summarization with hierarchical BART,” in *Proc. 2021 Conf. of the North American Chapter of the Association for Computational Linguistics: Student Research Workshop*, 2021.

U. Hanif, “T5-based model for abstractive summarization: A semi-supervised learning approach with consistency loss functions,” *Applied Sciences*, vol. 13, no. 12, p. 7111, 2021.

J. Zhang, Y. Zhao, M. Saleh, and P. J. Liu, “Fine-tuned PEGASUS: Exploring the quality performance of the transformer-based PEGASUS model for abstractive text summarization,” in *Proc. European Energy and Environment Conf.*, 2021.

W. Qi *et al.*, “ProphetNet-X: Large-scale pre-training models for English, Chinese, multilingual, dialog, and code generation,” in *Proc. Conf. on Empirical Methods in Natural Language Processing: System Demonstrations*, 2021.

A. Orzhenovskii, “Transformer-based models for long document summarization in financial reports,” in *Proc. Financial NLP Conf.*, 2022.

Z. Yang, Z. Dai, Y. Yang, J. Carbonell, R. R. Salakhutdinov, and Q. V. Le, “XLNet: Generalized autoregressive pretraining for language understanding,” *Advances in Neural Information Processing Systems*, vol. 32, 2019.

M. M. Danyal, S. S. Khan, M. Khan, S. Ullah, F. Mehmood, and I. Ali, “Proposing sentiment analysis model based on BERT and XLNet for movie reviews,” *Multimedia Tools and Applications*, vol. 83, no. 24, pp. 64315–64339, 2024.

Downloads

Published

2025-09-30

How to Cite

Danyal, M. M., Khalid, A., Khan, S. shah, Ullah, S., Jan, H., & Khan, D. (2025). Sentiment-Aware Summary Generation for User Reviews Using Deep Learning Models. VFAST Transactions on Software Engineering, 13(3), 325–339. https://doi.org/10.21015/vtse.v13i3.2240