Classifying Sentiments on Social Media Texts: A GPT-4 Preliminary Study

被引:2
|
作者
Maceda, Lany L. [1 ]
Llovido, Jennifer L. [1 ]
Artiaga, Miles B. [1 ]
Abisado, Mideth B. [2 ]
机构
[1] Bicol Univ, Legazpi City, Philippines
[2] Natl Univ, Manila, Philippines
关键词
GPT-4; Sentiment Annotation; LLM Prompting; Social Media Data;
D O I
10.1145/3639233.3639353
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In today's digital age, social media has become a hub for people to express their thoughts and feelings. Sentiment classification discerns public opinions and trends to understand their sentiments towards a certain topic. Often, achieving accurate sentiment classifications in large datasets necessitate the use of human-annotated training data which can be costly and time-consuming. Large Language Models (LLMs) like the Generative Pre-trained models by OpenAI have surged in popularity due to its capabilities in understanding the given tasks. In this preliminary study, we report the performance of the latest OpenAI GPT-4 using zero- and one-shot learning approaches on classifying sentiments when fed with social media dataset. Notably, the latter approach written in English which mimics the instructions designed for human annotators, achieved a substantial agreement (k = 0.77) with human annotations, displaying high accuracy, precision, and recall accordingly even without explicit training data. Meanwhile, the fine-tuned mBERT resulted to lower evaluation scores than the GPT-4. Our findings provide foundational insights into the strengths and limitations of GPT-4 for sentiment classification in a social media dataset, setting the groundwork for broad future research in this field.
引用
收藏
页码:19 / 24
页数:6
相关论文
共 50 条
  • [41] AI-Augmented Advising: A Comparative Study of GPT-4 and Advisor-based Major Recommendations
    Lekan, Kasra
    Pardos, Zachary A.
    AI FOR EDUCATION WORKSHOP, 2024, 257 : 85 - 96
  • [42] A Comparative Study of AI-Generated (GPT-4) and Human-crafted MCQs in Programming Education
    Doughty, Jacob
    Wan, Zipiao
    Bompelli, Anishka
    Qayum, Jubahed
    Wang, Taozhi
    Zhang, Juran
    Zheng, Yujia
    Doyle, Aidan
    Sridhar, Pragnya
    Agarwal, Arav
    Bogart, Christopher
    Keylor, Eric
    Kultur, Can
    Savelka, Jaromir
    Sakr, Majd
    PROCEEDINGS OF THE 26TH AUSTRALASIAN COMPUTING EDUCATION CONFERENCE, ACE 2024, 2024, : 114 - 123
  • [43] A preliminary investigation of COVID-19 transmission in the United States by incorporating social media sentiments
    Tan T.
    Huang T.
    Wang X.
    Zuo Z.
    Tan, Tianyi (2017312322@email.cufe.edu.cn), 1600, John Wiley and Sons Inc (57):
  • [44] Artificial Intelligence in Diagnosing and Managing Vascular Surgery Patients: An Experimental Study Using the GPT-4 Model
    Alexiou, Vangelis G.
    Sumpio, Bauer E.
    Vassiliou, Areti
    Kakkos, Stavros K.
    Geroulakos, George
    ANNALS OF VASCULAR SURGERY, 2025, 111 : 260 - 267
  • [45] Harnessing Large Language Models for Structured Reporting in Breast Ultrasound: A Comparative Study of Open AI (GPT-4.0) and Microsoft Bing (GPT-4)
    Liu, ChaoXu
    Wei, MinYan
    Qin, Yu
    Zhang, MeiXiang
    Jiang, Huan
    Xu, JiaLe
    Zhang, YuNing
    Hua, Qing
    Hou, YiQing
    Dong, YiJie
    Xia, ShuJun
    Li, Ning
    Zhou, JianQiao
    ULTRASOUND IN MEDICINE AND BIOLOGY, 2024, 50 (11): : 1697 - 1703
  • [46] How do large language models answer breast cancer quiz questions? A comparative study of GPT-3.5, GPT-4 and Google Gemini
    Irmici, Giovanni
    Cozzi, Andrea
    Della Pepa, Gianmarco
    De Berardinis, Claudia
    D'Ascoli, Elisa
    Cellina, Michaela
    Ce, Maurizio
    Depretto, Catherine
    Scaperrotta, Gianfranco
    RADIOLOGIA MEDICA, 2024, 129 (10): : 1463 - 1467
  • [47] Evaluation of GPT-4's Chest X-Ray Impression Generation: A Reader Study on Performance and Perception
    Ziegelmayer, Sebastian
    Marka, Alexander W.
    Lenhart, Nicolas
    Nehls, Nadja
    Reischl, Stefan
    Harder, Felix
    Sauter, Andreas
    Makowski, Marcus
    Graf, Markus
    Gawlitza, Joshua
    JOURNAL OF MEDICAL INTERNET RESEARCH, 2023, 25
  • [48] Advantages and pitfalls in utilizing artificial intelligence for crafting medical examinations: a medical education pilot study with GPT-4
    Klang, E.
    Portugez, S.
    Gross, R.
    Lerner, Kassif R.
    Brenner, A.
    Gilboa, M.
    Ortal, T.
    Ron, S.
    Robinzon, V
    Meiri, H.
    Segal, G.
    BMC MEDICAL EDUCATION, 2023, 23 (01)
  • [49] Author Correction: A pilot study on the efficacy of GPT-4 in providing orthopedic treatment recommendations from MRI reports
    Daniel Truhn
    Christian D. Weber
    Benedikt J. Braun
    Keno Bressem
    Jakob N. Kather
    Christiane Kuhl
    Sven Nebelung
    Scientific Reports, 14
  • [50] Advantages and pitfalls in utilizing artificial intelligence for crafting medical examinations: a medical education pilot study with GPT-4
    Klang E
    Portugez S
    Gross R
    Kassif Lerner R
    Brenner A
    Gilboa M
    Ortal T
    Ron S
    Robinzon V
    Meiri H
    Segal G
    BMC Medical Education, 23