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 条
  • [31] Leveraging GPT-4 for Accuracy in Education: A Comparative Study on Retrieval-Augmented Generation in MOOCs
    Miladi, Fatma
    Psyche, Valery
    Lemire, Daniel
    ARTIFICIAL INTELLIGENCE IN EDUCATION: POSTERS AND LATE BREAKING RESULTS, WORKSHOPS AND TUTORIALS, INDUSTRY AND INNOVATION TRACKS, PRACTITIONERS, DOCTORAL CONSORTIUM AND BLUE SKY, AIED 2024, PT I, 2024, 2150 : 427 - 434
  • [32] A pilot study on the efficacy of GPT-4 in providing orthopedic treatment recommendations from MRI reports
    Truhn, Daniel
    Weber, Christian D.
    Braun, Benedikt J.
    Bressem, Keno
    Kather, Jakob N.
    Kuhl, Christiane
    Nebelung, Sven
    SCIENTIFIC REPORTS, 2023, 13 (01):
  • [33] The Implementation of Multimodal Large Language Models for Hydrological Applications: A Comparative Study of GPT-4 Vision, Gemini, LLaVa, and Multimodal-GPT
    Kadiyala, Likith Anoop
    Mermer, Omer
    Samuel, Dinesh Jackson
    Sermet, Yusuf
    Demir, Ibrahim
    HYDROLOGY, 2024, 11 (09)
  • [34] Utilizing GPT-4 and generative artificial intelligence platforms for surgical education: an experimental study on skin ulcers
    Seth, Ishith
    Lim, Bryan
    Cevik, Jevan
    Sofiadellis, Foti
    Ross, Richard J.
    Cuomo, Roberto
    Rozen, Warren M.
    EUROPEAN JOURNAL OF PLASTIC SURGERY, 2024, 47 (01)
  • [35] Assessing the potential of GPT-4 to perpetuate racial and gender biases in health care: a model evaluation study
    Zack T.
    Lehman E.
    Suzgun M.
    Rodriguez J.A.
    Celi L.A.
    Gichoya J.
    Jurafsky D.
    Szolovits P.
    Bates D.W.
    Abdulnour R.-E.E.
    Butte A.J.
    Alsentzer E.
    The Lancet Digital Health, 2024, 6 (01): : e12 - e22
  • [36] The performance of ChatGPT on orthopaedic in-service training exams: A comparative study of the GPT-3.5 turbo and GPT-4 models in orthopaedic education
    Rizzo, Michael G.
    Cai, Nathan
    Constantinescu, David
    JOURNAL OF ORTHOPAEDICS, 2024, 50 : 70 - 75
  • [37] The Accuracy and Potential Racial and Ethnic Biases of GPT-4 in the Diagnosis and Triage of Health Conditions: Evaluation Study
    Ito, Naoki
    Kadomatsu, Sakina
    Fujisawa, Mineto
    Fukaguchi, Kiyomitsu
    Ishizawa, Ryo
    Kanda, Naoki
    Kasugai, Daisuke
    Nakajima, Mikio
    Goto, Tadahiro
    Tsugawa, Yusuke
    JMIR MEDICAL EDUCATION, 2023, 9
  • [38] Assessing the potential of GPT-4 to perpetuate racial and gender biases in health care: a model evaluation study
    Zack, Travis
    Lehman, Eric
    Suzgun, Mirac
    Rodriguez, Jorge A.
    Celi, Leo Anthony
    Gichoya, Judy
    Jurafsky, Dan
    Szolovits, Peter
    Bates, David W.
    Abdulnour, Raja-Elie E.
    Butte, Atul J.
    Alsentzer, Emily
    LANCET DIGITAL HEALTH, 2024, 6 (01):
  • [39] Can GPT-4 Aid in Detecting Ambiguities, Inconsistencies, and Incompleteness in Requirements Analysis? A Comprehensive Case Study
    Mahbub, Taslim
    Dghaym, Dana
    Shankarnarayanan, Aadhith
    Syed, Taufiq
    Shapsough, Salsabeel
    Zualkernan, Imran
    IEEE ACCESS, 2024, 12 : 171972 - 171992
  • [40] The Potential of GPT-4 as a Support Tool for Pharmacists: Analytical Study Using the Japanese National Examination for Pharmacists
    Kunitsu, Yuki
    JMIR MEDICAL EDUCATION, 2023, 9