Skip to content
Review Open access

A Threshold-Optimized Hybrid Ensemble for imbalanced Aspect-Based Sentiment Analysis of Restaurant Reviews

Aug 2026 · Bulletins of Natural and Applied Sciences · Vol 4 · 0 citations · 10 references

TL;DR

A hybrid lexical-probabilistic ensemble system that combines SentiWordNet lexical resources with a dual-branch Naïve Bayes ensemble, using Multinomial Naïve Bayes for text features and Gaussian Naïve Bayes for continuous lexical sentiment features, to enhance accuracy across five restaurant aspects.

Abstract

Aspect-Based Sentiment Analysis (ABSA) is a vital method for extracting detailed opinions from customer feedback, but current approaches often overlook important factors such as menu variety and struggle with class imbalance in real-world data. This research propose a hybrid lexical-probabilistic ensemble system that combines SentiWordNet lexical resources with a dual-branch Naïve Bayes ensemble, using Multinomial Naïve Bayes for text features and Gaussian Naïve Bayes for continuous lexical sentiment features, to enhance accuracy across five restaurant aspects: food quality, service, physical environment, price fairness, and menu variety. The study was evaluated on 10,000 Kaggle restaurant reviews. After excluding neutral reviews, the remaining binary dataset was imbalanced, and evaluation was performed using a stratified 80:20 train–test split. Dataset preprocessing through tokenization, lemmatization, and stop-word removal was applied, and aspect extraction  was also performed using domain-specific keyword dictionaries enriched with WordNet synonyms, Part-of-Speech tagging, and dependency parsing, while SentiWordNet assigned aspect-level sentiment scores.  A threshold optimization strategy was applied to the posterior probabilities of the positive class to improve minority-class recall while maintaining overall precision without harming majority class performance. Results show that the ensemble achieves 86% precision, 80% recall, and 82% F1-score, significantly outperforming basic classifiers such as standalone Naïve Bayes, SentiWordNet-augmented Naïve Bayes, and a hybrid ELMo-Wikipedia method. Statistical tests with the Wilcoxon signed-rank test confirm these improvements (p < 1.91e-06). This framework provides fine-grained aspect-level sentiment analytics for restaurant decision support and lays a solid groundwork for handling imbalanced sentiment analysis. Future work discusses integrating transformer-based models and multilingual support.  Keywords: Aspect-Based Sentiment Analysis, Class Imbalance, Customer Satisfaction, Ensemble Learning, Naïve Bayes Classifier, Restaurant Reviews, SentiWordNet, Threshold Optimization

Read PDF

Similar papers

Review Open access Aug 2026

Hybrid classifier with aspect based feature set for sentiment analysis

An innovative ABSA framework that synchronizes enhanced feature engineering with a lightweight hybrid deep learning architecture is proposed that suggests a balanced tradeoff between performance and computational cost making it suitable for real time ABSA applications.

Shilpi Gupta, Pradeep Kumar, SurSingh Rawat et al. · 0 citations
Review Open access Sep 2026

Sentiment Analysis of User Reviews of Purwokerto Station Using TF-IDF and the Random Forest Method

User reviews on Google Maps serve as a valuable source of information for evaluating the service quality of public facilities, including train stations. This study aims to analyze the sentiment of user reviews for Purwokerto Station using the Random Forest algorithm and to identify dominant Bigrams within each sentimen...

Diva Nur Syafika, H. Mustafidah, M. Fitriani et al. · 0 citations
Review Open access Aug 2026

Engineering context-based keywords from sentiment and domain features for enhanced review-level sentiment classification in MOOCs

A context-aware feature engineering framework for MOOC sentiment classification that integrates sentiment-based features derived from SentiWordNet with domain-specific features extracted through noun phrase chunking and indicates that integrating sentiment lexicons with refined domain-specific features provides an effe...

Raed Kamil Naser, Keng Gan, Alaa Thamer Mahmood · 0 citations
Conference Aug 2026

Aspect based Sentiment Analysis using Attention based BiGRU with Polarity Classification on Optimized Features

Sentiment analysis is crucial for understanding public opinion, especially in the context of e-commerce and the growth of online enterprises. Initial methodologies saw sentiment analysis as a classification challenge at the document or phrase level, which are unable to encapsulate complex sentiments regarding individua...

S. V. Vadivu, Raja Muthiah, P. Nagaraj · 0 citations
Review Open access Aug 2026

Comparative Sentiment Analysis of Profits Anywhere Application Reviews Using KNN and Naïve Bayes

User reviews on Google Play Store provide valuable information regarding application service quality and user satisfaction. This study aims to compare the performance of the K-Nearest Neighbor (KNN) and Naïve Bayes algorithms for sentiment analysis of reviews of the Profits Anywhere application, a digital business plat...

Yurindra, Chandra Kirana, Dian Novianto et al. · 0 citations
Open access 2026

A Hybrid Framework for Large-Scale Tweet Sentiment Analysis Using Classical Machine Learning, Transformer Models, and Uncertainty Estimation

The work provides a reproducible, explainable, operationally applicable model of sentiment analysis in operationally sensitive, high-stakes Twitter sentiment analysis, and validate the hypothesis that hybrid stacking is an effective method for leveraging the complementary nature of lexical and contextual representation...

D. Abate, Nilay Mistry · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.