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 条
  • [21] Performance of GPT-3.5 and GPT-4 on standardized urology knowledge assessment items in the United States: a descriptive study
    Yudovich, Max Samuel
    Makarova, Elizaveta
    Hague, Christian Michael
    Raman, Jay Dilip
    JOURNAL OF EDUCATIONAL EVALUATION FOR HEALTH PROFESSIONS, 2024, 21 : 17
  • [22] What can GPT-4 do for Diagnosing Rare Eye Diseases? A Pilot Study
    Hu, Xiaoyan
    Ran, An Ran
    Nguyen, Truong X.
    Szeto, Simon
    Yam, Jason C.
    Chan, Carmen K. M.
    Cheung, Carol Y.
    OPHTHALMOLOGY AND THERAPY, 2023, 12 (06) : 3395 - 3402
  • [23] Can artificial intelligence diagnose seizures based on patients' descriptions? A study of GPT-4
    Ford, Joseph
    Pevy, Nathan
    Grunewald, Richard
    Howell, Stephen
    Reuber, Markus
    EPILEPSIA, 2025,
  • [24] Comparing GPT-4 and Human Researchers in Health Care DataAnalysis:Qualitative Description Study
    Li, Kevin Danis
    Fernandez, Adrian M.
    Schwartz, Rachel
    Rios, Natalie
    Carlisle, Marvin Nathaniel
    Amend, Gregory M.
    Patel, Hiren, V
    Breyer, Benjamin N.
    JOURNAL OF MEDICAL INTERNET RESEARCH, 2024, 26
  • [25] What can GPT-4 do for Diagnosing Rare Eye Diseases? A Pilot Study
    Xiaoyan Hu
    An Ran Ran
    Truong X. Nguyen
    Simon Szeto
    Jason C. Yam
    Carmen K. M. Chan
    Carol Y. Cheung
    Ophthalmology and Therapy, 2023, 12 : 3395 - 3402
  • [26] GPT-4 as a Clinical Decision Support Tool in Ischemic Stroke Management: Evaluation Study
    Shmilovitch, Amit Haim
    Katson, Mark
    Cohen-Shelly, Michal
    Peretz, Shlomi
    Aran, Dvir
    Shelly, Shahar
    JMIR AI, 2025, 4
  • [27] Comparison of the Performance of GPT-3.5 and GPT-4 With That of Medical Students on the Written German Medical Licensing Examination: Observational Study
    Meyer, Annika
    Riese, Janik
    Streichert, Thomas
    JMIR MEDICAL EDUCATION, 2024, 10
  • [28] GPT-4 for Automated Determination of Radiological Study and Protocol based on Radiology Request Forms: A Feasibility Study
    Gertz, Roman Johannes
    Bunck, Alexander Christian
    Lennartz, Simon
    Dratsch, Thomas
    Iuga, Andra-Iza
    Maintz, David
    Kottlors, Jonathan
    RADIOLOGY, 2023, 307 (05)
  • [29] Deep-BERT: Transfer Learning for Classifying Multilingual Offensive Texts on Social Media
    Wadud, Md Anwar Hussen
    Mridha, M. F.
    Shin, Jungpil
    Nur, Kamruddin
    Saha, Aloke Kumar
    COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 2023, 44 (02): : 1775 - 1791
  • [30] 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, 13 (1)