Saved in:
Bibliographic Details
Main Authors: Sun, Luhang, Pendyala, Varsha, Chuang, Yun-Shiuan, Yang, Shanglin, Feldman, Jonathan, Zhao, Andrew, De Choudhury, Munmun, Yang, Sijia, Shah, Dhavan
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.14720
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912304785784832
author Sun, Luhang
Pendyala, Varsha
Chuang, Yun-Shiuan
Yang, Shanglin
Feldman, Jonathan
Zhao, Andrew
De Choudhury, Munmun
Yang, Sijia
Shah, Dhavan
author_facet Sun, Luhang
Pendyala, Varsha
Chuang, Yun-Shiuan
Yang, Shanglin
Feldman, Jonathan
Zhao, Andrew
De Choudhury, Munmun
Yang, Sijia
Shah, Dhavan
contents This paper leverages large-language models (LLMs) to experimentally determine optimal strategies for scaling up social media content annotation for stance detection on HPV vaccine-related tweets. We examine both conventional fine-tuning and emergent in-context learning methods, systematically varying strategies of prompt engineering across widely used LLMs and their variants (e.g., GPT4, Mistral, and Llama3, etc.). Specifically, we varied prompt template design, shot sampling methods, and shot quantity to detect stance on HPV vaccination. Our findings reveal that 1) in general, in-context learning outperforms fine-tuning in stance detection for HPV vaccine social media content; 2) increasing shot quantity does not necessarily enhance performance across models; and 3) different LLMs and their variants present differing sensitivity to in-context learning conditions. We uncovered that the optimal in-context learning configuration for stance detection on HPV vaccine tweets involves six stratified shots paired with detailed contextual prompts. This study highlights the potential and provides an applicable approach for applying LLMs to research on social media stance and skepticism detection.
format Preprint
id arxiv_https___arxiv_org_abs_2411_14720
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Optimizing Social Media Annotation of HPV Vaccine Skepticism and Misinformation Using Large Language Models: An Experimental Evaluation of In-Context Learning and Fine-Tuning Stance Detection Across Multiple Models
Sun, Luhang
Pendyala, Varsha
Chuang, Yun-Shiuan
Yang, Shanglin
Feldman, Jonathan
Zhao, Andrew
De Choudhury, Munmun
Yang, Sijia
Shah, Dhavan
Computation and Language
This paper leverages large-language models (LLMs) to experimentally determine optimal strategies for scaling up social media content annotation for stance detection on HPV vaccine-related tweets. We examine both conventional fine-tuning and emergent in-context learning methods, systematically varying strategies of prompt engineering across widely used LLMs and their variants (e.g., GPT4, Mistral, and Llama3, etc.). Specifically, we varied prompt template design, shot sampling methods, and shot quantity to detect stance on HPV vaccination. Our findings reveal that 1) in general, in-context learning outperforms fine-tuning in stance detection for HPV vaccine social media content; 2) increasing shot quantity does not necessarily enhance performance across models; and 3) different LLMs and their variants present differing sensitivity to in-context learning conditions. We uncovered that the optimal in-context learning configuration for stance detection on HPV vaccine tweets involves six stratified shots paired with detailed contextual prompts. This study highlights the potential and provides an applicable approach for applying LLMs to research on social media stance and skepticism detection.
title Optimizing Social Media Annotation of HPV Vaccine Skepticism and Misinformation Using Large Language Models: An Experimental Evaluation of In-Context Learning and Fine-Tuning Stance Detection Across Multiple Models
topic Computation and Language
url https://arxiv.org/abs/2411.14720