This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Open AccessArticle
CGPA-UGRCA: A Novel Explainable AI Model for Sentiment Classification and Star Rating Using Nature-Inspired Optimization
by
Amit Kumar Srivastava
Amit Kumar Srivastava 1,
Pooja
Pooja 1,*,
Musrrat Ali
Musrrat Ali 2,*
and
Yonis Gulzar
Yonis Gulzar 3
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.
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
Article Access Statistics
For more information on the journal statistics, click
here.
Multiple requests from the same IP address are counted as one view.