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 条
  • [1] Advancements in Multimodal Social Media Post Summarization: Integrating GPT-4 for Enhanced Understanding
    Alam, Md Jahangir
    Hossain, Ismail
    Puppala, Sai
    Talukder, Sajedul
    2024 IEEE 48TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC 2024, 2024, : 1934 - 1940
  • [2] Whodunit: Classifying Code as Human Authored or GPT-4 generated- A case study on CodeChef problems
    Idialu, Oseremen Joy
    Mathews, Noble Saji
    Maipradit, Rungroj
    Atlee, Joanne M.
    Nagappan, Meiyappan
    2024 IEEE/ACM 21ST INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2024, : 394 - 406
  • [3] On the Use of GPT-4 for Creating Goal Models: An Exploratory Study
    Chen, Boqi
    Chen, Kua
    Hassani, Shabnam
    Yang, Yujing
    Amyot, Daniel
    Lessard, Lysanne
    Mussbachcr, Gunter
    Sabetzadeh, Mehrdad
    Varro, Daniel
    2023 IEEE 31ST INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE WORKSHOPS, REW, 2023, : 262 - 271
  • [4] Case study identification with GPT-4 and implications for mapping studies
    Petersen, Kai
    INFORMATION AND SOFTWARE TECHNOLOGY, 2024, 171
  • [5] GPT-4 as a Board-Certified Surgeon: A Pilot Study
    Roshal, Joshua A.
    Silvestri, Caitlin
    Sathe, Tejas
    Townsend, Courtney
    Klimberg, V. Suzanne
    Perez, Alexander
    MEDICAL SCIENCE EDUCATOR, 2025,
  • [6] Performance of GPT-3.5 and GPT-4 on the Korean Pharmacist Licensing Examination: Comparison Study
    Jin, Hye Kyung
    Kim, Eunyoung
    JMIR MEDICAL EDUCATION, 2024, 10
  • [7] Performance of GPT-3.5 and GPT-4 on the Japanese Medical Licensing Examination: Comparison Study
    Takagi, Soshi
    Watari, Takashi
    Erabi, Ayano
    Sakaguchi, Kota
    JMIR MEDICAL EDUCATION, 2023, 9
  • [8] The Performance of GPT-3.5, GPT-4, and Bard on the Japanese National Dentist Examination: A Comparison Study
    Ohta, Keiichi
    Ohta, Satomi
    CUREUS JOURNAL OF MEDICAL SCIENCE, 2023, 15 (12)
  • [9] GPT-4 shows potential for identifying social anxiety from clinical interview data
    Ohse, Julia
    Hadzic, Bakir
    Mohammed, Parvez
    Peperkorn, Nicolina
    Fox, Janosch
    Krutzki, Joshua
    Lyko, Alexander
    Fan, Mingyu
    Zheng, Xiaohu
    Raetsch, Matthias
    Shiban, Youssef
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [10] Wizard-of-Oz vs. GPT-4: A Comparative Study of Perceived Social Intelligence in HRI Brainstorming
    Vrins, Anita
    Pruss, Ethel
    Ceccato, Caterina
    Prinsen, Jos
    De Rooij, Alwin
    Alimardani, Maryam
    COMPANION OF THE 2024 ACM/IEEE INTERNATIONAL CONFERENCE ON HUMAN-ROBOT INTERACTION, HRI 2024 COMPANION, 2024, : 1090 - 1094