Abstract
Sentiment analysis, which utilizes machine learning, natural language processing, and computational linguistics, has been developed to comprehend the emotions and viewpoints of individuals on social media platforms. This area of research has undergone extensive investigation, leading to the integration of diverse algorithms and techniques specifically tailored to this objective. A recent breakthrough in the field of general AI is exemplified by Large Language Models, which have surpassed numerous research domains as quintessential achievements. This study examines the performance of GPT-3.5 in sentiment analysis. We evaluate its performance on established benchmark datasets as well as a collection of reviews extracted from Google Maps. The findings indicate that the Large Language Models can outperform traditional methods in the literature, and they do not require pre-processing, unlike traditional methods.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Bonta V et al (2019) A comprehensive study on lexicon based approaches for sentiment analysis. AJCST. 8(S2):1–6. https://doi.org/10.51983/ajcst-2019.8.S2.2037
Feldman R (2013) Techniques and applications for sentiment analysis. Commun ACM 56(4):82–89. https://doi.org/10.1145/2436256.2436274
Haque MdR et al (2019) Performance analysis of different neural networks for sentiment analysis on IMDb movie reviews. In: 2019 3rd international conference on electrical, computer and telecommunication engineering (ICECTE), pp. 161–164 IEEE, Rajshahi, Bangladesh. https://doi.org/10.1109/ICECTE48615.2019.9303573
Karthika P et al (2019) Sentiment analysis of social media network using random forest algorithm. In: 2019 IEEE international conference on intelligent techniques in control, optimization and signal processing (INCOS). IEEE, Tamil Nadu, India, pp 1–5. https://doi.org/10.1109/INCOS45849.2019.8951367
Lo LS (2023) The CLEAR path: a framework for enhancing information literacy through prompt engineering. J Acad Librarianship 49(4):102720. https://doi.org/10.1016/j.acalib.2023.102720
Maas A et al (2011) Learning word vectors for sentiment analysis. In: Proceedings of the 49th annual meeting of the association for computational linguistics: human language technologies, pp 142–150
Mirchandani S et al (2023) Large language models as general pattern machines. https://doi.org/10.48550/ARXIV.2307.04721
Nadi F Malaysian universities google map review. https://github.com/pharhadnadi/MalaysianUniversitiesGoogleMapReview
Nandwani P, Verma R (2021) A review on sentiment analysis and emotion detection from text. Soc Netw Anal Min 11(1):81. https://doi.org/10.1007/s13278-021-00776-6
Serrano-Guerrero J et al (2015) Sentiment analysis: a review and comparative analysis of web services. Inf Sci 311:18–38
Styawati S, Mustofa K (2019) A support vector machine-firefly algorithm for movie opinion data classification. Indonesian J Comput Cybern Syst 13(3):219. https://doi.org/10.22146/ijccs.41302
Wongkar M, Angdresey A (2019) Sentiment analysis using naive bayes algorithm of the data crawler: twitter. In: 2019 fourth international conference on informatics and computing (ICIC). IEEE, Semarang, Indonesia, pp 1–5. https://doi.org/10.1109/ICIC47613.2019.8985884
Yadav J (2023) Sentiment analysis on social media. Qeios. https://doi.org/10.32388/YF9X04
Zhou C et al (2023) A comprehensive survey on pretrained foundation models: a history from BERT to ChatGPT. https://doi.org/10.48550/ARXIV.2302.09419
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Nadi, F. et al. (2024). Sentiment Analysis Using Large Language Models: A Case Study of GPT-3.5. In: Bee Wah, Y., Al-Jumeily OBE, D., Berry, M.W. (eds) Data Science and Emerging Technologies. DaSET 2023. Lecture Notes on Data Engineering and Communications Technologies, vol 191. Springer, Singapore. https://doi.org/10.1007/978-981-97-0293-0_12
Download citation
DOI: https://doi.org/10.1007/978-981-97-0293-0_12
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-97-0292-3
Online ISBN: 978-981-97-0293-0
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)