Previous Article in Journal
A Fermatean Fuzzy Game-Theoretic Framework for Policy Design in Sustainable Health Supply Chains
Previous Article in Special Issue
Quantum Computing Meets Deep Learning: A QCNN Model for Accurate and Efficient Image Classification
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

CGPA-UGRCA: A Novel Explainable AI Model for Sentiment Classification and Star Rating Using Nature-Inspired Optimization

1
Department of Electronics and Communication, University of Allahabad, Prayagraj 211002, India
2
Department of Mathematics and Statistics, College of Science, King Faisal University, Al Ahsa 31982, Saudi Arabia
3
Department of Management Information Systems, College of Business Administration, King Faisal University, Al-Ahsa 31982, Saudi Arabia
*
Authors to whom correspondence should be addressed.
Mathematics 2025, 13(22), 3645; https://doi.org/10.3390/math13223645 (registering DOI)
Submission received: 23 September 2025 / Revised: 3 November 2025 / Accepted: 5 November 2025 / Published: 13 November 2025

Abstract

In recent years, social media-related sentiment classification has been researched extensively and is applied in various fields such as opinion mining, commodity feedback, and market analysis. Therefore, it is important to understand and analyse the opinions of the public, their feedback, and data related to social media. Consumers continue to face challenges in accessing review-based sentiment classification expressed by their peers, and the existing method does not provide satisfactory results. Hence, an innovative sentiment classification method, the Convoluted Graph Pyramid Attention (CGPA) model, combined with the Updated Greater Cane Rat Algorithm (UGCRA), is proposed. This method improves sentiment classification by optimizing accuracy and efficiency while addressing inherent uncertainties, allowing for precise sentiment intensity evaluation across multiple dimensions. Explainable Artificial Intelligence (XAI) techniques, particularly SHapley Additive exPlanations (SHAPs), enhance the model’s transparency and interpretability. This approach enables the final ranking of classified reviews, predicts ratings on a scale of one to five stars, and generates a recommendation list based on the predicted user ratings. Comparison between other traditional existing methods and the result indicates that the proposed method achieves superior performance. From the experimental results, the proposed approach achieves an accuracy of 99.5% in the Restaurant Review dataset, 99.8% in the Edmund Consumer Car Ratings Reviews dataset, 99.9% in the Flipkart Cell Phone Reviews dataset, and 99.7% in the IMDB Movie database, showing its effectiveness in analysing sentiments with an increase in performance.
Keywords: sentiment classification; graph pyramid attention; greater cane rat; interpretability; recommendation list; five-star rating sentiment classification; graph pyramid attention; greater cane rat; interpretability; recommendation list; five-star rating

Share and Cite

MDPI and ACS Style

Srivastava, A.K.; Pooja; Ali, M.; Gulzar, Y. CGPA-UGRCA: A Novel Explainable AI Model for Sentiment Classification and Star Rating Using Nature-Inspired Optimization. Mathematics 2025, 13, 3645. https://doi.org/10.3390/math13223645

AMA Style

Srivastava AK, Pooja, Ali M, Gulzar Y. CGPA-UGRCA: A Novel Explainable AI Model for Sentiment Classification and Star Rating Using Nature-Inspired Optimization. Mathematics. 2025; 13(22):3645. https://doi.org/10.3390/math13223645

Chicago/Turabian Style

Srivastava, Amit Kumar, Pooja, Musrrat Ali, and Yonis Gulzar. 2025. "CGPA-UGRCA: A Novel Explainable AI Model for Sentiment Classification and Star Rating Using Nature-Inspired Optimization" Mathematics 13, no. 22: 3645. https://doi.org/10.3390/math13223645

APA Style

Srivastava, A. K., Pooja, Ali, M., & Gulzar, Y. (2025). CGPA-UGRCA: A Novel Explainable AI Model for Sentiment Classification and Star Rating Using Nature-Inspired Optimization. Mathematics, 13(22), 3645. https://doi.org/10.3390/math13223645

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop