Sentiment Analysis in Portuguese Restaurant Reviews: Application of Transformer Models in Edge Computing

Author:

Branco Alexandre12,Parada Daniel12,Silva Marcos12,Mendonça Fábio12ORCID,Mostafa Sheikh Shanawaz2ORCID,Morgado-Dias Fernando12ORCID

Affiliation:

1. Faculty of Exact Sciences and Engineering, University of Madeira, 9000-082 Funchal, Portugal

2. Interactive Technologies Institute (ITI/LARSyS and ARDITI), 9020-105 Funchal, Portugal

Abstract

This study focuses on improving sentiment analysis in restaurant reviews by leveraging transfer learning and transformer-based pre-trained models. This work evaluates the suitability of pre-trained deep learning models for analyzing Natural Language Processing tasks in Portuguese. It also explores the viability of utilizing edge devices for Natural Language Processing tasks, considering their computational limitations and resource constraints. Specifically, we employ bidirectional encoder representations from transformers and robustly optimized BERT approach, two state-of-the-art models, to build a sentiment review classifier. The classifier’s performance is evaluated using accuracy and area under the receiver operating characteristic curve as the primary metrics. Our results demonstrate that the classifier developed using ensemble techniques outperforms the baseline model (from 0.80 to 0.84) in accurately classifying restaurant review sentiments when three classes are considered (negative, neutral, and positive), reaching an accuracy and area under the receiver operating characteristic curve higher than 0.8 when examining a Zomato restaurant review dataset, provided for this work. This study seeks to create a model for the precise classification of Portuguese reviews into positive, negative, or neutral categories. The flexibility of deploying our model on affordable hardware platforms suggests its potential to enable real-time solutions. The deployment of the model on edge computing platforms improves accessibility in resource-constrained environments.

Funder

Agencia Regional para o Desenvolvimento da Investigacao Tecnologia e Inovacao

LARSyS

Fundação para a Ciência e Tecnologia

Publisher

MDPI AG

Reference34 articles.

1. Devlin, J., Chang, M.-W., Lee, K., and Toutanova, K. (2019). Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), Minneapolis, MN, USA, 2–7 June 2019, Association for Computational Linguistics.

2. Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., and Stoyanov, V. (2019). RoBERTa: A Robustly Optimized BERT Pretraining Approach. arXiv.

3. Language Models Are Few-Shot Learners;Brown;Proceedings of the Advances in Neural Information Processing Systems,2020

4. (2023, June 09). What Is Deep Learning?|How It Works, Techniques & Applications. Available online: https://www.mathworks.com/discovery/deep-learning.html.

5. Mathew, A., Arul, A., and Sivakumari, S. (2021). Advanced Machine Learning Technologies and Applications, Springer.

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3