Sentiment Analysis and Classification of Hotel Opinions in Twitter With the Transformer Architecture

Author
Keywords
Abstract
Sentiment analysis is of great importance to parties who are interested is analyzing the public opinion in social networks. In recent years, deep learning, and particularly, the attention-based architecture, has taken over the field, to the point where most research in Natural Language Processing (NLP) has been shifted towards the development of bigger and bigger attention-based transformer models. However, those models are developed to be all-purpose NLP models, so for a concrete smaller problem, a reduced and specifically studied model can perform better. We propose a simpler attention-based model that makes use of the transformer architecture to predict the sentiment expressed in tweets about hotels in Las Vegas. With their relative predicted performance, we compare the similarity of our ranking to the actual ranking in TripAdvisor to those obtained by more rudimentary sentiment analysis approaches, outperforming them with a 0.64121 Spearman correlation coefficient. We also compare our performance to DistilBERT, obtaining faster and more accurate results and proving that a model designed for a particular problem can perform better than models with several millions of trainable parameters.
Year of Publication
2023
Journal
International Journal of Interactive Multimedia and Artificial Intelligence
Volume
8
Issue
Special Issue on AI-driven Algorithms and Applications in the Dynamic and Evolving Environments
Number
1
Number of Pages
53-63
Date Published
03/2023
ISSN Number
1989-1660
URL
DOI
Attachment