An exploratory study of conventional machine learning and large language models for sentiment analysis

Sentiment analysis is the use of natural language processing to identify affective states and determine people’s opinions in various analytical applications such as customer reviews and social media analyses. Large language models (LLMs) such as GPT-4o demonstrate impressive performance in text gene...

Full description

Saved in:
Bibliographic Details
Main Authors: ZOU, Cui, CAI, Jingyuan, CHEN, Langtao, NAH, Fiona Fui-hoon
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2024
Subjects:
GPT
Online Access:https://ink.library.smu.edu.sg/sis_research/9961
https://ink.library.smu.edu.sg/context/sis_research/article/10961/viewcontent/ExploratoryStudy_ML_LLM_av.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-10961
record_format dspace
spelling sg-smu-ink.sis_research-109612025-01-16T10:10:18Z An exploratory study of conventional machine learning and large language models for sentiment analysis ZOU, Cui CAI, Jingyuan CHEN, Langtao NAH, Fiona Fui-hoon Sentiment analysis is the use of natural language processing to identify affective states and determine people’s opinions in various analytical applications such as customer reviews and social media analyses. Large language models (LLMs) such as GPT-4o demonstrate impressive performance in text generation tasks. Despite numerous studies in the extant literature, few have compared the performance of conventional machine learning models with LLMs for sentiment analysis. This study aims to fill this gap by conducting an evaluation of these models using a balanced dataset of 2,000 IMDb movie reviews. Our study shows that GPT-4o achieves the highest performance, while GPT-3.5 and FLAN-T5 models also show strong performance, being slightly below that of GPT-4o. Advanced LLMs outperform conventional machine learning models. Our findings highlight the advanced capabilities and user-friendliness of LLMs compared to conventional machine learning models. This research underscores the rapid evolution of LLMs for sentiment analysis. 2024-07-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/9961 info:doi/10.1007/978-3-031-76827-9_17 https://ink.library.smu.edu.sg/context/sis_research/article/10961/viewcontent/ExploratoryStudy_ML_LLM_av.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Sentiment Analysis Large Language Models GPT FLAN-T5 Machine Learning IMDb Movie Reviews Databases and Information Systems Graphics and Human Computer Interfaces
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Sentiment Analysis
Large Language Models
GPT
FLAN-T5
Machine Learning
IMDb
Movie Reviews
Databases and Information Systems
Graphics and Human Computer Interfaces
spellingShingle Sentiment Analysis
Large Language Models
GPT
FLAN-T5
Machine Learning
IMDb
Movie Reviews
Databases and Information Systems
Graphics and Human Computer Interfaces
ZOU, Cui
CAI, Jingyuan
CHEN, Langtao
NAH, Fiona Fui-hoon
An exploratory study of conventional machine learning and large language models for sentiment analysis
description Sentiment analysis is the use of natural language processing to identify affective states and determine people’s opinions in various analytical applications such as customer reviews and social media analyses. Large language models (LLMs) such as GPT-4o demonstrate impressive performance in text generation tasks. Despite numerous studies in the extant literature, few have compared the performance of conventional machine learning models with LLMs for sentiment analysis. This study aims to fill this gap by conducting an evaluation of these models using a balanced dataset of 2,000 IMDb movie reviews. Our study shows that GPT-4o achieves the highest performance, while GPT-3.5 and FLAN-T5 models also show strong performance, being slightly below that of GPT-4o. Advanced LLMs outperform conventional machine learning models. Our findings highlight the advanced capabilities and user-friendliness of LLMs compared to conventional machine learning models. This research underscores the rapid evolution of LLMs for sentiment analysis.
format text
author ZOU, Cui
CAI, Jingyuan
CHEN, Langtao
NAH, Fiona Fui-hoon
author_facet ZOU, Cui
CAI, Jingyuan
CHEN, Langtao
NAH, Fiona Fui-hoon
author_sort ZOU, Cui
title An exploratory study of conventional machine learning and large language models for sentiment analysis
title_short An exploratory study of conventional machine learning and large language models for sentiment analysis
title_full An exploratory study of conventional machine learning and large language models for sentiment analysis
title_fullStr An exploratory study of conventional machine learning and large language models for sentiment analysis
title_full_unstemmed An exploratory study of conventional machine learning and large language models for sentiment analysis
title_sort exploratory study of conventional machine learning and large language models for sentiment analysis
publisher Institutional Knowledge at Singapore Management University
publishDate 2024
url https://ink.library.smu.edu.sg/sis_research/9961
https://ink.library.smu.edu.sg/context/sis_research/article/10961/viewcontent/ExploratoryStudy_ML_LLM_av.pdf
_version_ 1821833220279238656