AI Incorporation of Sentiment Analysis of Customer Reviews in the Hospitality Industry Using Classical and Transformer-Based Models
Abstract
The incorporation of AI in the arena of Sentiment analysis is a key component in extracting actionable insights from large-scale customer feedback, particularly in the hospitality industry. We evaluate AI models and transformer-based approaches for sentiment classification using the Yelp Review Full dataset, where reviews are mapped into negative, neutral, and positive sentiment classes based on star ratings. Within AI Multinomial Naive Bayes and Linear Support Vector Machines (SVM) are implemented as baseline models using TF-IDF features, while transformer-based models, including DistilBERT and an improved RoBERTa configuration, are fine-tuned to capture contextual representations. Experimental results show that classical models achieve baseline performance (macro F1 ≈ 0.70-0.71), while transformer models significantly improve performance, with DistilBERT reaching approximately 0.75 and RoBERTa achieving 0.80. Despite these gains, neutral sentiment remains difficult to classify due to inherent ambiguity in customer feedback. All reported gaps between models are confirmed with bootstrap confidence intervals and pairwise McNemar tests, and the RoBERTa improvement is decomposed into a training-duration effect and a model-capacity effect. We further report model calibration, a selective-prediction (abstention) analysis quantifying the trade-off between manual review load and negative-sentiment recall, and a cost comparison of training and inference across models. These findings highlight the importance of contextual modeling and suggest that transformer architectures are better suited for real-world sentiment analysis. Practical implications for customer experience management and business decision-making are discussed.
Keywords: Sentiment Analysis, Hospitality, Customer Reviews, TF-IDF, Transformer Models, Selective Prediction
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors who publish with this journal agree to the following terms: RAIS Journal of Social Sciences is given by the author the right of the first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal. Authors retain copyright. If the author cites from his own article published in RAIS Journal of Social Sciences, then he is encouraged to cite the name of the RAIS Journal of Social Sciences, volume, and page. 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). This journal provides immediate open access to its content, in this way, we make research freely available to the public and support a greater global exchange of knowledge.
PRIVACY STATEMENT
The names and email addresses entered in this journal site will be used exclusively for the stated purposes of this journal and will not be made available for any other purpose or to any other party.